Iterator on list of elements. More...
Public Member Functions | |
SMDS_MeshNode_MyInvIterator (SMDS_Mesh *mesh, vtkIdType *cells, int ncells, SMDSAbs_ElementType type) | |
bool | more () |
Return true if and only if there are other object in this iterator. More... | |
const SMDS_MeshElement * | next () |
Return the current object and step to the next one. More... | |
virtual void | remove () |
Delete the current element and step to the next one. More... | |
Private Attributes | |
SMDS_Mesh * | myMesh |
vtkIdType * | myCells |
int | myNcells |
SMDSAbs_ElementType | myType |
int | iter |
vector< vtkIdType > | cellList |
Iterator on list of elements.
SMDS_MeshNode_MyInvIterator::SMDS_MeshNode_MyInvIterator | ( | SMDS_Mesh * | mesh, |
vtkIdType * | cells, | ||
int | ncells, | ||
SMDSAbs_ElementType | type | ||
) |
References cellList, SMDS_Mesh::FindElement(), SMDS_Mesh::fromVtkToSmds(), SMDS_MeshElement::GetType(), myCells, myMesh, myNcells, and SMDSAbs_All.
|
virtual |
Return true if and only if there are other object in this iterator.
Implements SMDS_Iterator< const SMDS_MeshElement * >.
|
virtual |
Return the current object and step to the next one.
Implements SMDS_Iterator< const SMDS_MeshElement * >.
References SMDS_Mesh::FindElement(), SMDS_Mesh::fromVtkToSmds(), iter, MESSAGE, myCells, and myMesh.
|
virtualinherited |
Delete the current element and step to the next one.
|
private |
Referenced by SMDS_MeshNode_MyInvIterator().
|
private |
Referenced by next(), and SMDS_MeshNode_MyInvIterator().
|
private |
Referenced by next(), and SMDS_MeshNode_MyInvIterator().
|
private |
Referenced by more(), and SMDS_MeshNode_MyInvIterator().
|
private |