[vtkusers] how to use PolyData::GetPolys()?

Dominik Szczerba domi at vision.ee.ethz.ch
Mon Oct 9 10:23:12 EDT 2006


Hi,
I am retrieving cells in a polydata using GetCell and it works, only 
very slow. I read I can use GetPolys to get faster, but there are no 
examples and hitting blind just leads me nowhere. I guess 
PolyData::GetPolys::GetCell(id, &N, &ids) should fill ids with 
connectivity array of a cell id, and set N to number of points in the 
cell. Even though it compiles it doenst work. Could someone provide me 
with one line example?
Regards,
Dominik
-- 
Dominik Szczerba, Ph.D.
Computer Vision Lab, ETH
http://www.vision.ee.ethz.ch/~domi



More information about the vtkusers mailing list