[vtkusers] Number of Faces, Triangles and Edges.

Jingyi Jin jinjingyi at yahoo.com
Mon Aug 27 11:27:17 EDT 2001


If the object that you are trying to render is of type
vtkPolyData, you can get the number of triangles,
edges, using something similar to

polyDataObject.GetNumberOfPolys()
and
polyDataObject.GetNumberOfLines()

Have a good day.

Jingyi

--- "Andrew J. P. Maclean"
<a.maclean at acfr.usyd.edu.au> wrote:
> When I render an image, how can I determine the
> number of triangles,
> faces and edges that are used?
>  
>  
> 
> ___________________________________________
> Andrew J. P. Maclean
> 
> 
> Postal:
> Australian Centre for Field Robotics
> The Rose Street Building J04
> The University of Sydney  2006  NSW
> AUSTRALIA
> 
> Room:
> 106
> 
> Phone:
> +61 2 9351 3283
> 
> Fax:
> +61 2 9351 7474
> 
>  
>  <http://www.acfr.usyd.edu.au/>
> http://www.acfr.usyd.edu.au/
> ___________________________________________
>  
> 


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/




More information about the vtkusers mailing list