Version: 8.3.0
SMDS_VtkCellIterator Class Reference

#include <SMDS_VtkCellIterator.hxx>

Inheritance diagram for SMDS_VtkCellIterator:

Public Member Functions

 SMDS_VtkCellIterator (SMDS_Mesh *mesh, int vtkCellId, SMDSAbs_EntityType aType)
 
virtual ~SMDS_VtkCellIterator ()
 
virtual bool more ()
 Return true if and only if there are other object in this iterator. More...
 
virtual const SMDS_MeshElementnext ()
 Return the current object and step to the next one. More...
 
void exchange (vtkIdType a, vtkIdType b)
 
virtual void remove ()
 Delete the current element and step to the next one. More...
 

Protected Member Functions

 SMDS_VtkCellIterator ()
 

Protected Attributes

SMDS_Mesh_mesh
 
int _cellId
 
int _index
 
int _nbNodes
 
SMDSAbs_EntityType _type
 
vtkIdList * _vtkIdList
 

Constructor & Destructor Documentation

SMDS_VtkCellIterator::SMDS_VtkCellIterator ( SMDS_Mesh mesh,
int  vtkCellId,
SMDSAbs_EntityType  aType 
)
SMDS_VtkCellIterator::~SMDS_VtkCellIterator ( )
virtual

References _vtkIdList.

SMDS_VtkCellIterator::SMDS_VtkCellIterator ( )
protected

Member Function Documentation

void SMDS_VtkCellIterator::exchange ( vtkIdType  a,
vtkIdType  b 
)

References _vtkIdList.

bool SMDS_VtkCellIterator::more ( )
virtual

Return true if and only if there are other object in this iterator.

Implements SMDS_Iterator< const SMDS_MeshElement * >.

Reimplemented in SMDS_VtkCellIteratorPolyH, and SMDS_VtkCellIteratorToUNV.

References _index, and _nbNodes.

Referenced by SMDS_VtkCellIteratorToUNV::more().

const SMDS_MeshElement * SMDS_VtkCellIterator::next ( )
virtual

Return the current object and step to the next one.

Implements SMDS_Iterator< const SMDS_MeshElement * >.

Reimplemented in SMDS_VtkCellIteratorToUNV.

References _index, _mesh, _vtkIdList, and SMDS_Mesh::FindNodeVtk().

Referenced by SMDS_VtkCellIteratorToUNV::next().

virtual void SMDS_Iterator< const SMDS_MeshElement * >::remove ( )
virtualinherited

Delete the current element and step to the next one.

Field Documentation