[vtkusers] how to get the details about the object created by vtk sources?
Toron J.
ji_wi at yahoo.com
Mon Oct 22 14:43:50 EDT 2007
Hi All,
I used the following codes to build a simple cone.
---------------------------------------------------------------------------------------
vtkConeSource *cone = vtkConeSource::New();
cone->SetHeight( 3.0 );
cone->SetRadius( 1.0 );
cone->SetResolution( 6 );
vtkPolyDataMapper *coneMapper = vtkPolyDataMapper::New();
coneMapper->SetInput( cone->GetOutput() );
--------------------------------------------------------------------------------------
Does any one can help me to know how to get the position (x,y,z) of each vertex and the rendering index? Thanks in advance!
Toron
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071022/c865b1a1/attachment.htm>
More information about the vtkusers
mailing list