Salome HOME
Make 0 transparency applicable
[modules/shaper.git] / src / ModuleBase / ModuleBase_ResultPrs.h
index 5faaadf2b53d65901918f2dbd9fbca06daa95e65..f1ad5e1a0c2c588b59fe1d14e3543c1b486361a9 100644 (file)
@@ -107,6 +107,11 @@ public:
   /// \return false if parameter is out of [0, 1]
   Standard_EXPORT bool setHiddenSubShapeTransparency(double theTransparency);
 
+  Standard_EXPORT TopoDS_Shape originalShape() const { return myOriginalShape; }
+
+  Standard_EXPORT bool isSubstituted() const { return myIsSubstituted; }
+
+
   DEFINE_STANDARD_RTTIEXT(ModuleBase_ResultPrs, ViewerData_AISShape)
 
 protected:
@@ -149,6 +154,8 @@ private:
   /// Original shape of the result object
   TopoDS_Shape myOriginalShape;
 
+  bool myIsSubstituted;
+
   /// Container of original Shape sub shape to be hidden and not selectable
   NCollection_List<TopoDS_Shape> myHiddenSubShapes;
   TopoDS_Compound myHiddenCompound; /// compound of hidden sub shapes