[vtkusers] Enumerating of VTK class output

Alex Farber alexf2062 at yahoo.com
Thu Nov 3 03:17:56 EST 2005


I want to enumerate VTK class output for some purposes (for example, to render this output using my own OpenGL code), instead of using VTK rendering classes. For example:
 
    vtkConeSource *cone = vtkConeSource::New();
    cone->SetHeight( 3.0 );
    cone->SetRadius( 1.0 );
    cone->SetResolution( 10 );
 
    vtkPolyData* data = cone->GetOutput();
 
How can I enumerate through data cells and extract information from them? 
 
Thanks.

		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20051103/80f265cf/attachment.htm>


More information about the vtkusers mailing list