[vtkusers] Help! PolyData and CellArray
    Ali Calvert 
    fcukered at gmail.com
       
    Thu Jul 27 10:17:06 EDT 2006
    
    
  
Hello,  I'm trying to get a list of all polygons for my imported obj file.
Here is a little code fragment of how i'm trying to do it.
vtkPolyData polyData
     polyData SetPolys [[obj GetOutput] GetPolys]
     puts "Poly1: [[polyData GetPolys] GetCell 0]"
I'm getting an error saying that GetCell is not being given the correct
parameters and i'll probably agree with it!  I think what i need to do is
access each Cell in the cell array.
Any help would be much appreciated.
If you need any extra information please don't hesitate to ask.
Thanks you for your time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060727/2636a3bb/attachment.htm>
    
    
More information about the vtkusers
mailing list