Version: 9.16.0
SMDS_VtkCellIterator< SMDS_ITERATOR, GET_VTK_NODES > Class Template Reference

Iterator on nodes of a cell. More...

#include <SMDS_VtkCellIterator.hxx>

Inheritance diagram for SMDS_VtkCellIterator< SMDS_ITERATOR, GET_VTK_NODES >:

Public Types

typedef SMDS_ITERATOR::value_type result_type
 
typedef const SMDS_MeshElementvalue_type
 

Public Member Functions

 SMDS_VtkCellIterator (SMDS_Mesh *mesh, vtkIdType 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 result_type 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...
 

Protected Attributes

SMDS_Mesh_mesh
 
size_t _index
 
TVtkIdList _vtkIdList
 

Detailed Description

template<class SMDS_ITERATOR = SMDS_ElemIterator, class GET_VTK_NODES = _GetVtkNodes>
class SMDS_VtkCellIterator< SMDS_ITERATOR, GET_VTK_NODES >

Iterator on nodes of a cell.

Member Typedef Documentation

◆ result_type

template<class SMDS_ITERATOR = SMDS_ElemIterator, class GET_VTK_NODES = _GetVtkNodes>
typedef SMDS_ITERATOR::value_type SMDS_VtkCellIterator< SMDS_ITERATOR, GET_VTK_NODES >::result_type

◆ value_type

typedef const SMDS_MeshElement * SMDS_Iterator< const SMDS_MeshElement * >::value_type
inherited

Constructor & Destructor Documentation

◆ SMDS_VtkCellIterator()

template<class SMDS_ITERATOR = SMDS_ElemIterator, class GET_VTK_NODES = _GetVtkNodes>
SMDS_VtkCellIterator< SMDS_ITERATOR, GET_VTK_NODES >::SMDS_VtkCellIterator ( SMDS_Mesh mesh,
vtkIdType  vtkCellId,
SMDSAbs_EntityType  aType 
)

◆ ~SMDS_VtkCellIterator()

template<class SMDS_ITERATOR = SMDS_ElemIterator, class GET_VTK_NODES = _GetVtkNodes>
virtual SMDS_VtkCellIterator< SMDS_ITERATOR, GET_VTK_NODES >::~SMDS_VtkCellIterator ( )
virtual

Member Function Documentation

◆ more()

template<class SMDS_ITERATOR = SMDS_ElemIterator, class GET_VTK_NODES = _GetVtkNodes>
virtual bool SMDS_VtkCellIterator< SMDS_ITERATOR, GET_VTK_NODES >::more ( )
virtual

◆ next()

template<class SMDS_ITERATOR = SMDS_ElemIterator, class GET_VTK_NODES = _GetVtkNodes>
virtual result_type SMDS_VtkCellIterator< SMDS_ITERATOR, GET_VTK_NODES >::next ( )
virtual

◆ remove()

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

Delete the current element and step to the next one.

Field Documentation

◆ _index

template<class SMDS_ITERATOR = SMDS_ElemIterator, class GET_VTK_NODES = _GetVtkNodes>
size_t SMDS_VtkCellIterator< SMDS_ITERATOR, GET_VTK_NODES >::_index
protected

◆ _mesh

template<class SMDS_ITERATOR = SMDS_ElemIterator, class GET_VTK_NODES = _GetVtkNodes>
SMDS_Mesh* SMDS_VtkCellIterator< SMDS_ITERATOR, GET_VTK_NODES >::_mesh
protected

◆ _vtkIdList

template<class SMDS_ITERATOR = SMDS_ElemIterator, class GET_VTK_NODES = _GetVtkNodes>
TVtkIdList SMDS_VtkCellIterator< SMDS_ITERATOR, GET_VTK_NODES >::_vtkIdList
protected