[vtkusers] Creating a simple mesh of lines

Jothybasu Selvaraj jothybasu at gmail.com
Fri Jun 1 05:27:34 EDT 2012


Won't the wireframe representaion suffice?

Jothy

On Fri, Jun 1, 2012 at 4:42 AM, Gregory Propf <gregorypropf at yahoo.com>wrote:

> I'm working on a finite element tool and need to show the edges in the
> mesh as lines.  I've tried various things based on the examples I've found
> but many of the examples seem way too complex and break when I modify them.
>  Also I'm unsure exactly which vtk object to use to represent this.  Can
> someone post a simple Python script (other languages OK too but I'm using
> Python).  Ideally, I'd like an object that can show both the edges and the
> nodes with different colors for each.  For now, I'm making a bunch of
> spheres for the node points.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>


-- 
Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120601/15f659c6/attachment.htm>


More information about the vtkusers mailing list