[vtkusers] outline of a mesh

Mathieu Malaterre mathieu.malaterre at kitware.com
Tue Feb 24 17:05:37 EST 2004


Terry,

	Use a vtkGeometryFilter on your vtkUnstructuredGrid before passing it 
to the vtkDataSetMapper

HTH
Mathieu

Terry Hastings wrote:
> Hello
> 
> originally I was using a vtkUnstructuredGrid to represent my mesh which 
> worked fine, but it was rendering too slow for my purpose
> 
> So now i've decided to use the wall node and wall element information to 
> get an outline of the mesh
> 
> Originally the unstructured grid consisted of a bunch of vtkTetra cells 
> (each with 4 nodes), but now since i'm just outlining the wall, i have a 
> bunch of triangular 'faces'
> 
> I tried using vtkUnstructuredGrid consisting of vtkTriangle cells but it 
> crashes when I render - I reviewed my code and cant find what could be 
> teh problem, so this leads me to ask if vtkUnstructuredGrid is a 
> suitable class to represent this 'outline' of a mesh?
> 
> thanks
> terry
> 
> _________________________________________________________________
> Stay informed on Election 2004 and the race to Super Tuesday. 
> http://special.msn.com/msn/election2004.armx
> 
> _______________________________________________
> This is the private VTK discussion list. Please keep messages on-topic. 
> Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 






More information about the vtkusers mailing list