X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMDS%2FSMDS_MeshElement.hxx;h=cc39f2b243d2d2f4468e80253d1e7fe6a348de39;hp=63fc8cecf14b41858a93d74b63e3b6700056c426;hb=499f29d24922cec66e41b41a0039a954993bc6df;hpb=560f8b2d0c2a7fdb4047f981cfac56ed3629bc1a diff --git a/src/SMDS/SMDS_MeshElement.hxx b/src/SMDS/SMDS_MeshElement.hxx index 63fc8cecf..cc39f2b24 100644 --- a/src/SMDS/SMDS_MeshElement.hxx +++ b/src/SMDS/SMDS_MeshElement.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2022 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -38,6 +38,7 @@ #include #include +#include class SMDS_ElementChunk; class SMDS_Mesh; @@ -127,10 +128,10 @@ public: virtual int GetNodeIndex( const SMDS_MeshNode* node ) const; - virtual int GetID() const; - virtual int GetVtkID() const; - virtual int getshapeId() const { return GetShapeID(); } - virtual int GetShapeID() const; + virtual smIdType GetID() const; + virtual vtkIdType GetVtkID() const; + virtual int getshapeId() const { return GetShapeID(); } + virtual int GetShapeID() const; // mark this element; to be used in algos virtual void setIsMarked( bool is ) const; @@ -182,7 +183,7 @@ public: SMDS_MeshElement(); - void setVtkID(const int vtkID ); + void setVtkID(const vtkIdType vtkID ); virtual void setShapeID( const int shapeID ) const; SMDS_UnstructuredGrid* getGrid() const;