[vtkusers] vtkOBJReader

Chris Scharver scharver at evl.uic.edu
Tue Mar 9 08:53:05 EST 2004


On Mar 9, 2004, at 3:08 AM, Bernhard wrote:

> I use the vtkOBJReader, i tried the example, but i don´t know, how i 
> can access the points, tuples and cells in this output. How can i do 
> this?

vtkOBJReader's output is vtkPolyData. Once the file has been read into 
the pipeline, you can access the vtkPolyData returned from 
vtkOBJReader->GetOutput(). I usually run it through vtkPolyDataNormals 
and vtkStripper before accessing the data.

Hope this helps,
Chris

--
Chris Scharver
Electronic Visualization Laboratory
The University of Illinois at Chicago
Ph: 312-996-3002   FAX: 312-413-7585
<http://www.evl.uic.edu/scharver/>




More information about the vtkusers mailing list