[vtkusers] Re: l mesh visualization

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Mar 17 10:18:34 EST 2004


Longfei Cong wrote:
> Hi Mathieu Malaterre, Thank you for all the help you have done to me.
>  Now that with your help I have got the vtkUnstructuredGrid
> tetrahedral mesh, and I want to visualize the mesh only. Could you
> tell me which class I can use. Another problem is that I want to know
> the boundary points the meshs which generated by using the
> vtkClipVolume. Best regard
> 

Longfei,

	It is usually a better idea to send the mail to the whole ML you'll get
faster answer.

	To visualize the mesh you need a vtkDataSetMapper. See for example:

VTK/Examples/DataManipulation/Python/pointToCellData.py
or online:
http://public.kitware.com/cgi-bin/cvsweb.cgi/~checkout~/VTK/Examples/DataManipulation/Python/pointToCellData.py

For your second problem you have many option:
- use a vtkGeometryFilter
- use a vtkDataSetSurfaceMapper
- use a vtkFeatureEdge

You'll find all the documentation for these classes here:

	http://www.vtk.org/doc/nightly/html/classes.html


HTH
Mathieu





More information about the vtkusers mailing list