[vtkusers] Re : Problem with vtkPolyData::GetPointCells()

cedric.schwartz at enst-bretagne.fr cedric.schwartz at enst-bretagne.fr
Tue Sep 25 12:46:25 EDT 2007


Dear Feng,

The function GetPointCells() is working fine with me (example of code  
at the end). You may check the number of elements storded in your  
vtkIdList* with the GetNumberOfIds() function. I also assume you have  
check your mesh ...

Cedric

int index; // vertex Id
vtkIdList *listTriangles = vtkIdList::New();
studiedObject->GetPointCells(index,listTriangles); // studiedObject is  
a vtkPolyData*




More information about the vtkusers mailing list