(++__text__TEXT-__gcc_except_tab__TEXT__data__DATA2=__cstring__TEXT__compact_unwind__LDp%`H(h4__eh_frame__TEXT'8*5 h2  )5 5CP9t P-UHH=H5H1uHH=H]fDUHSPHH=H5HB1uHH=H5HHt H tH[]H=H[]f.@UHAVSH0HuHHEЋFEHEHEH}ȃu\Hut^H]H=HAtH=o#Ht HLcHuL1H0[A^]ÐUHAWAVSH(HuH HED~D}HG]ԉ]؅yHHLw(HEMA)AuQHuH}t|}L}tYH=LAtOH="LtNewCellIterator(); for (it->InitTraversal(); !it->IsDoneWithTraversal(); it->GoToNextCell()) { if (it->GetCellType() != VTK_TETRA) { continue; // Skip non-tetrahedral cells } vtkIdList *pointIds = it->GetPointIds(); // Do screening on the point ids, maybe figure out scalar range and skip cells that do not lie in a certain range? vtkPoints *points = it->GetPoints(); // Do work using the cell points, or ... vtkGenericCell *cell = ...; it->GetCell(cell); // ... do work with a vtkCell. } it->Delete(); } ~~~ The example above pulls in bits of information as needed to filter out cells that aren't relevant. The least expensive lookups are performed first (cell type, then point ids, then points/full cell) to prevent wasted cycles fetching unnecessary data. Also note that at the end of the loop, the iterator must be deleted as these iterators are vtkObject subclasses. IsTypeOfV.IsTypeOf(string) -> int C++: static vtkTypeBool IsTypeOf(const char *type) Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. IsAV.IsA(string) -> int C++: vtkTypeBool IsA(const char *type) override; Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. SafeDownCastV.SafeDownCast(vtkObjectBase) -> vtkCellIterator C++: static vtkCellIterator *SafeDownCast(vtkObjectBase *o) NewInstanceV.NewInstance() -> vtkCellIterator C++: vtkCellIterator *NewInstance() InitTraversalV.InitTraversal() C++: void InitTraversal() Reset to the first cell. GoToNextCellV.GoToNextCell() C++: void GoToNextCell() Increment to next cell. Always safe to call. IsDoneWithTraversalV.IsDoneWithTraversal() -> bool C++: virtual bool IsDoneWithTraversal() Returns false while the iterator is valid. Always safe to call. GetCellTypeV.GetCellType() -> int C++: int GetCellType() Get the current cell type (e.g. VTK_LINE, VTK_VERTEX, VTK_TETRA, etc). This should only be called when IsDoneWithTraversal() returns false. GetCellDimensionV.GetCellDimension() -> int C++: int GetCellDimension() Get the current cell dimension (0, 1, 2, or 3). This should only be called when IsDoneWithTraversal() returns false. GetCellIdV.GetCellId() -> int C++: virtual vtkIdType GetCellId() Get the id of the current cell. GetPointIdsV.GetPointIds() -> vtkIdList C++: vtkIdList *GetPointIds() Get the ids of the points in the current cell. This should only be called when IsDoneWithTraversal() returns false. GetPointsV.GetPoints() -> vtkPoints C++: vtkPoints *GetPoints() Get the points in the current cell. This is usually a very expensive call, and should be avoided when possible. This should only be called when IsDoneWithTraversal() returns false. GetFacesV.GetFaces() -> vtkIdList C++: vtkIdList *GetFaces() Get the faces for a polyhedral cell. This is only valid when CellType is VTK_POLYHEDRON. GetCellV.GetCell(vtkGenericCell) C++: void GetCell(vtkGenericCell *cell) Write the current full cell information into the argument. This is usually a very expensive call, and should be avoided when possible. This should only be called when IsDoneWithTraversal() returns false. GetNumberOfPointsV.GetNumberOfPoints() -> int C++: vtkIdType GetNumberOfPoints() Return the number of points in the current cell. This should only be called when IsDoneWithTraversal() returns false. GetNumberOfFacesV.GetNumberOfFaces() -> int C++: vtkIdType GetNumberOfFaces() Return the number of faces in the current cell. This should only be called when IsDoneWithTraversal() returns false. vtkObjectvtkObjectBasevtkGenericCellGeneric Warning: In /Volumes/Data/workspace/med-macos-free/ExtProjs/VTK/Common/DataModel/vtkCellIterator.h, line Unknown cell type: JP!a!P!Paa!`a!!`a a ap a0 a ! K!AzRx $JAC $D8AC B$lAC G$(AC I$AC G$AC G$ pAC I$4AC I$\AC G$AC I$AC G$AC G$AC I$$AC I$LAC I$t(AC I$AC I$HAC GzPLRx ,$KAC G .- ?-w ?-n =-d <-[ /-S ;-J 9-B ; :-0 9-( ! :- 9-  >- @-a -W 1-? -7 - 4-  - 1- -n 4-D  1- -= - 8- 3-  4- W 6-M 1-5 - 4-  6- 1- -N 4-$ 6-1--4-tN-3- 2-1-4--1-n-g7-L4-"-1--4-tM-2- 2-1-4--=1-r->4--=1--4-d<(-$-"-6--1--4-bC6-6-#1- -3---\1-G0-;B-3"B-5-4-1-o-b-Z0-NB-F5B--5-,---+-wq -jc\D=-81*+-" -xh`XH@8(      xh`XH@8( @8&%*!)X'0#XPA@ `@ `@ AM h#EPP0`l<`v  p 0  KP%| F$ 147zAp\DrQU[<R^M_PyType_Ready_PyvtkObject_ClassNew_PyvtkCellIterator_ClassNew_PyVTKObject_New__ZN9vtkObject23GetGlobalWarningDisplayEv__ZN15vtkCellIterator16GetNumberOfFacesEv__ZN20vtkOStrStreamWrapper3strEv__ZN13vtkPythonArgs16PureVirtualErrorEv__ZN15vtkCellIterator16GetCellDimensionEv__ZN20vtkOStrStreamWrapper5rdbufEv__ZN20vtkOStrStreamWrapperD1Ev__ZN20vtkOStrStreamWrapperC1Ev_PyVTKObject_GetSet__Py_NoneStruct_PyVTKObject_GetObject__ZL25PyvtkCellIterator_Methods_PyObject_GenericSetAttr_PyObject_GenericGetAttr_PyVTKObject_Repr_PyVTKAddFile_vtkCellIterator_PyVTKObject_AsBuffer_strcmp__ZN15vtkCellIterator7GetCellEP14vtkGenericCell_PyObject_GC_Del_PyVTKObject_Check__ZN13vtkPythonArgs13ArgCountErrorEii__ZN17vtkOStreamWrapperlsEi__ZN20vtkOStrStreamWrapper6freezeEi_PyBool_FromLong_PyLong_FromLong_PyLong_FromLongLong_PyDict_SetItemString_PyVTKObject_String_PyVTKObject_SetFlag_PyVTKObject_Delete_PyVTKObject_Traverse__ZN13vtkPythonUtil20GetObjectFromPointerEP13vtkObjectBase__ZL22PyvtkCellIterator_Type_PyType_Type__Unwind_Resume_PyErr_Occurred_PyVTKClass_Add__Py_Dealloc__ZN13vtkPythonArgs8GetValueERPc__Z40vtkOutputWindowDisplayGenericWarningTextPKc__ZN17vtkOStreamWrapperlsEPKc__ZN13vtkObjectBase8IsTypeOfEPKc__ZN13vtkPythonArgs17GetArgAsVTKObjectEPKcRb__ZN13vtkPythonArgs19GetSelfFromFirstArgEP7_objectS1___ZL30PyvtkCellIterator_SafeDownCastP7_objectS0___ZL27PyvtkCellIterator_GetPointsP7_objectS0___ZL35PyvtkCellIterator_GetNumberOfPointsP7_objectS0___ZL26PyvtkCellIterator_GetFacesP7_objectS0___ZL34PyvtkCellIterator_GetNumberOfFacesP7_objectS0___ZL29PyvtkCellIterator_GetPointIdsP7_objectS0___ZL34PyvtkCellIterator_GetCellDimensionP7_objectS0___ZL30PyvtkCellIterator_GoToNextCellP7_objectS0___ZL25PyvtkCellIterator_GetCellP7_objectS0___ZL31PyvtkCellIterator_InitTraversalP7_objectS0___ZL37PyvtkCellIterator_IsDoneWithTraversalP7_objectS0___ZL26PyvtkCellIterator_IsTypeOfP7_objectS0___ZL29PyvtkCellIterator_GetCellTypeP7_objectS0___ZL29PyvtkCellIterator_NewInstanceP7_objectS0___ZL27PyvtkCellIterator_GetCellIdP7_objectS0___ZL21PyvtkCellIterator_IsAP7_objectS0_GCC_except_table18___gxx_personality_v0