Salome HOME
Fix on - Bug PAL7334 DEVELOPMENT : Control Improvement - implementation of Display...
[modules/smesh.git] / src / OBJECT / SMESH_Actor.h
index 2fad89f01d30509d926bf14ab3e29f62aaf5115e..469fc6c07f6ff74b352fe28e84e6c178bfdcd336 100644 (file)
@@ -121,6 +121,11 @@ class SMESH_Actor : public SALOME_Actor{
 
   enum EReperesent { ePoint, eEdge, eSurface};
   virtual void SetRepresentation(int theMode);
+
+  enum EEntityMode { eEdges = 0x01, eFaces = 0x02, eVolumes = 0x04, eAllEntity = 0x07};
+  unsigned int GetEntityMode() const { return myEntityMode;}
+  void SetEntityMode(unsigned int theMode);
+
   void SetPointRepresentation(bool theIsPointsVisible);
   bool GetPointRepresentation();
 
@@ -198,6 +203,7 @@ class SMESH_Actor : public SALOME_Actor{
   vtkProperty* my1DExtProp;
   SMESH_DeviceActor* my1DExtActor;
 
+  unsigned int myEntityMode;
   bool myIsPointsVisible;
 
   bool myIsShrinkable;