X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_OperationPrs.h;h=64d92151ad5dfaebb3b741135ecb344d6aba6fc8;hb=d9aad73be5a44ff8e42162a30a0d9045df7f3837;hp=935e4936d112f84a5002f0fc7241c13b763bd309;hpb=6c1a412473622b7fe884ec5c4476f2ce9c012d88;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_OperationPrs.h b/src/PartSet/PartSet_OperationPrs.h index 935e4936d..64d92151a 100755 --- a/src/PartSet/PartSet_OperationPrs.h +++ b/src/PartSet/PartSet_OperationPrs.h @@ -21,6 +21,8 @@ #include #include +#include + #include #include @@ -55,11 +57,14 @@ public: void setFeature(const FeaturePtr& theFeature); /// Returns true if the presentation - bool dependOn(const ObjectPtr& theObject); + //bool dependOn(const ObjectPtr& theObject); // Recompute internal list of shaped dependent on the current feature void updateShapes(); + /// Returns true if the feature contains shapes or results + bool hasShapes(); + DEFINE_STANDARD_RTTI(PartSet_OperationPrs) protected: @@ -98,6 +103,9 @@ private: FeaturePtr myFeature; /// Reference to a feature object QMap > myFeatureShapes; /// visualized shapes std::list myFeatureResults; /// visualized feature results + + Quantity_Color myShapeColor; /// color of feature depended shapes + Quantity_Color myResultColor; /// color of feature result };