Public Member Functions | |
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... | |
SMDS_MeshNode_MyIterator (SMDS_Mesh *mesh, vtkIdType *cells, int ncells, SMDSAbs_ElementType type) | |
Public Member Functions inherited from SMDS_Iterator< const SMDS_MeshElement * > | |
virtual bool | more ()=0 |
Return true if and only if there are other object in this iterator. More... | |
virtual const SMDS_MeshElement * | next ()=0 |
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... | |
virtual | ~SMDS_Iterator () |
Provide virtual destructor just for case if some derived iterator must have a destructor. More... | |
SMDS_MeshNode_MyIterator::SMDS_MeshNode_MyIterator | ( | SMDS_Mesh * | mesh, |
vtkIdType * | cells, | ||
int | ncells, | ||
SMDSAbs_ElementType | type | ||
) |
References SMDS_Mesh::FindElement(), SMDS_Mesh::fromVtkToSmds(), and SMDS_MeshElement::GetType().
|
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 * >.