X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_OperationPrs.h;h=64d92151ad5dfaebb3b741135ecb344d6aba6fc8;hb=d9aad73be5a44ff8e42162a30a0d9045df7f3837;hp=20078787dcb3fdd358ae85c46dfd816a72847397;hpb=32442a4f43da44e368f092d64e4004e020c5bfba;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_OperationPrs.h b/src/PartSet/PartSet_OperationPrs.h index 20078787d..64d92151a 100755 --- a/src/PartSet/PartSet_OperationPrs.h +++ b/src/PartSet/PartSet_OperationPrs.h @@ -21,6 +21,8 @@ #include #include +#include + #include #include @@ -60,6 +62,9 @@ public: // 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 };