[vtkusers] Text elements and an outline on an unstuctured grid
    William E Lucarell 
    welucarell at equityeng.com
       
    Mon Mar  3 09:25:59 EST 2008
    
    
  
Thanks Sergios, but what if the grid is not shaped like a box. I'd like to
create a "geometric outline" of the object.
 
Regards,
 
Bill
 
 
From: vtkusers-bounces+welucarell=equityeng.com at vtk.org
[mailto:vtkusers-bounces+welucarell=equityeng.com at vtk.org] On Behalf Of
Sergios Goudanis
Sent: Sunday, March 02, 2008 5:43 AM
To: vtkusers at vtk.org
Subject: Re: [vtkusers] Text elements and an outline on an unstuctured grid
 
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/20080303/bbaee1d3/attachment.htm>
    
    
More information about the vtkusers
mailing list