Salome HOME
ObjectPool and SMDS_Position
[modules/smesh.git] / src / SMDS / SMDS_VolumeOfNodes.hxx
index 9c2aa7129e3c54c9cdfa50c7e08a15c0ac434d89..2aabf9fc336c7e1f93d45bae35e6e5a29d7cd769 100644 (file)
@@ -29,6 +29,8 @@
 #include "SMESH_SMDS.hxx"
 
 #include "SMDS_MeshVolume.hxx"
+#include <vtkUnstructuredGrid.h>
+#include <vector>
 
 class SMDS_EXPORT SMDS_VolumeOfNodes:public SMDS_MeshVolume
 {
@@ -90,10 +92,12 @@ class SMDS_EXPORT SMDS_VolumeOfNodes:public SMDS_MeshVolume
 class SMDS_EXPORT SMDS_VolumeVtkNodes:public SMDS_MeshVolume
 {
 public:
-       SMDS_VolumeVtkNodes();
+        SMDS_VolumeVtkNodes();
+       SMDS_VolumeVtkNodes(std::vector<vtkIdType> nodeIds, SMDS_Mesh* mesh);
+        ~SMDS_VolumeVtkNodes();
+        void init(std::vector<vtkIdType> nodeIds, SMDS_Mesh* mesh);
         bool ChangeNodes(const SMDS_MeshNode* nodes[],
                          const int            nbNodes);
-        ~SMDS_VolumeVtkNodes();
 
        void Print(std::ostream & OS) const;
        int NbFaces() const;