2010-01-08 15:53:25 +00:00
|
|
|
#ifndef _SMDS_VTKCELLITERATOR_HXX_
|
|
|
|
#define _SMDS_VTKCELLITERATOR_HXX_
|
|
|
|
|
|
|
|
#include "SMDS_ElemIterator.hxx"
|
|
|
|
#include "SMDS_Mesh.hxx"
|
2010-01-22 15:02:34 +00:00
|
|
|
#include "SMDSAbs_ElementType.hxx"
|
2010-01-08 15:53:25 +00:00
|
|
|
|
|
|
|
#include <vtkCell.h>
|
|
|
|
#include <vtkIdList.h>
|
|
|
|
|
|
|
|
class SMDS_VtkCellIterator : public SMDS_ElemIterator
|
|
|
|
{
|
|
|
|
public:
|
2010-01-22 15:02:34 +00:00
|
|
|
SMDS_VtkCellIterator(SMDS_Mesh* mesh, int vtkCellId, SMDSAbs_EntityType aType);
|
|
|
|
virtual ~SMDS_VtkCellIterator();
|
2010-01-08 15:53:25 +00:00
|
|
|
virtual bool more();
|
|
|
|
virtual const SMDS_MeshElement* next();
|
|
|
|
protected:
|
|
|
|
SMDS_Mesh* _mesh;
|
|
|
|
int _cellId;
|
|
|
|
int _index;
|
|
|
|
int _nbNodes;
|
2010-01-22 15:02:34 +00:00
|
|
|
SMDSAbs_EntityType _type;
|
2010-01-08 15:53:25 +00:00
|
|
|
vtkIdList* _vtkIdList;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|