Salome HOME
Fix the Linux compilation problem
[modules/shaper.git] / src / PartSet / PartSet_CustomPrs.h
index aafb37887e14d43379d6551750136d2a0e4c824b..c12768e0e549f4248fdcba0c060e0255722e3d81 100755 (executable)
@@ -29,6 +29,8 @@ class XGUI_Workshop;
 class PartSet_CustomPrs
 {
 public:
+  /// Constructor
+  /// \param theWorkshop a reference to workshop
   PARTSET_EXPORT PartSet_CustomPrs(ModuleBase_IWorkshop* theWorkshop);
   PARTSET_EXPORT virtual ~PartSet_CustomPrs() {};
 
@@ -48,6 +50,7 @@ public:
 
   /// If the presentation is active[displayed], the shapes of the presentation is recomputed
   /// and the presentation is redisplayed.
+  /// \param theObject an object to redisplay
   /// \param theUpdateViewer the parameter whether the viewer should be update immediatelly
   /// \returns true if the presentation is redisplayed
   bool redisplay(const ObjectPtr& theObject, const bool theUpdateViewer);
@@ -80,6 +83,7 @@ private:
   void customizePresentation(const bool theUpdateViewer);
 
 private:
+  bool myIsActive;
   ModuleBase_IWorkshop* myWorkshop; /// current workshop
   AISObjectPtr myOperationPrs; /// the AIS presentation, which is displayed/erased in the viewer
 };