[vtkusers] Text elements and an outline on an unstuctured grid

Sergios Goudanis sergiosgoudanis at gmail.com
Sun Mar 2 05:42:44 EST 2008


A pipeline to place labels at points in 3D space can be the following:
vtkVectorText -> vtkPolyData -> vtkFollower
you must call the vtkFollower SetCamera method to make the follower adjust
its orientation according to the camera movement
For better control it is good to add all the followers into a vtkCollection
As expected it is a slow method when placing too many followers on screen.

For an outline of an unstructured grid the simple vtkOutlineFilter can be
used - which creates a box based on the grid bounds




-------------------------
Sergios Goudanis

Senior developer
www.lookcfd.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080302/ffc99ebe/attachment.htm>


More information about the vtkusers mailing list