Salome HOME
PR: mesh and visu hexa no copy
[modules/smesh.git] / src / SMDS / SMDS_Mesh0DElement.hxx
index 93a204934ab1fed1082a92a874909502ac368b9b..cf7896d02f525ef28b91c9ceaac394ff6ca393e7 100644 (file)
 
 #include "SMESH_SMDS.hxx"
 
-#include "SMDS_MeshElement.hxx"
+#include "SMDS_MeshCell.hxx"
 
 #include <iostream>
 
-class SMDS_EXPORT SMDS_Mesh0DElement: public SMDS_MeshElement
+class SMDS_EXPORT SMDS_Mesh0DElement: public SMDS_MeshCell
 {
  public:
   SMDS_Mesh0DElement (const SMDS_MeshNode * node);
@@ -40,6 +40,8 @@ class SMDS_EXPORT SMDS_Mesh0DElement: public SMDS_MeshElement
   void Print (std::ostream & OS) const;
 
   SMDSAbs_ElementType GetType() const;
+  virtual vtkIdType GetVtkType() const;
+  SMDSAbs_EntityType  GetEntityType() const {return SMDSEntity_0D;}
   int NbNodes() const;
   int NbEdges() const;
   friend bool operator< (const SMDS_Mesh0DElement& e1, const SMDS_Mesh0DElement& e2);