1 #ifndef _SMDS_VTKVOLUME_HXX_
2 #define _SMDS_VTKVOLUME_HXX_
4 #include "SMESH_SMDS.hxx"
6 #include "SMDS_MeshVolume.hxx"
7 #include <vtkUnstructuredGrid.h>
10 class SMDS_EXPORT SMDS_VtkVolume:public SMDS_MeshVolume
14 SMDS_VtkVolume(std::vector<vtkIdType> nodeIds, SMDS_Mesh* mesh);
16 void init(std::vector<vtkIdType> nodeIds, SMDS_Mesh* mesh);
17 bool ChangeNodes(const SMDS_MeshNode* nodes[],
20 void Print(std::ostream & OS) const;
24 virtual SMDSAbs_ElementType GetType() const;
25 virtual SMDSAbs_EntityType GetEntityType() const;
28 * \brief Return node by its index
29 * \param ind - node index
30 * \retval const SMDS_MeshNode* - the node
32 virtual const SMDS_MeshNode* GetNode(const int ind) const;
36 elementsIterator(SMDSAbs_ElementType type) const;