X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesAPI%2FFeaturesAPI_RemoveSubShapes.h;h=15a1d04955edbe434da7db64f179da41b877de64;hb=db25cb9e9be0ce3e2332141f7f2f47f088956bea;hp=cabae5368de9a50b60411a8a2f9dbeab7d324ce9;hpb=a94fc319f2aa64b43c9a73b5ff7063923648faec;p=modules%2Fshaper.git diff --git a/src/FeaturesAPI/FeaturesAPI_RemoveSubShapes.h b/src/FeaturesAPI/FeaturesAPI_RemoveSubShapes.h index cabae5368..15a1d0495 100644 --- a/src/FeaturesAPI/FeaturesAPI_RemoveSubShapes.h +++ b/src/FeaturesAPI/FeaturesAPI_RemoveSubShapes.h @@ -50,11 +50,15 @@ public: FEATURESAPI_EXPORT virtual ~FeaturesAPI_RemoveSubShapes(); - INTERFACE_2(FeaturesPlugin_RemoveSubShapes::ID(), + INTERFACE_4(FeaturesPlugin_RemoveSubShapes::ID(), base, FeaturesPlugin_RemoveSubShapes::BASE_SHAPE_ID(), ModelAPI_AttributeSelection, /** Base */, - subshapes, FeaturesPlugin_RemoveSubShapes::SUBSHAPES_ID(), - ModelAPI_AttributeSelectionList, /** Subshapes */) + creationMethod, FeaturesPlugin_RemoveSubShapes::CREATION_METHOD(), + ModelAPI_AttributeString, /** Creation method */, + subshapesToKeep, FeaturesPlugin_RemoveSubShapes::SUBSHAPES_TO_KEEP_ID(), + ModelAPI_AttributeSelectionList, /** Subshapes to keep*/, + subshapesToRemove, FeaturesPlugin_RemoveSubShapes::SUBSHAPES_TO_REMOVE_ID(), + ModelAPI_AttributeSelectionList, /** Subshapes to remove*/) /// Modify objects attribute of the feature. FEATURESAPI_EXPORT @@ -64,6 +68,10 @@ public: FEATURESAPI_EXPORT void setSubShapesToKeep(const std::list& theSubShapes); + /// Modify tools attribute of the feature. + FEATURESAPI_EXPORT + void setSubShapesToRemove(const std::list& theSubShapes); + /// Dump wrapped feature FEATURESAPI_EXPORT virtual void dump(ModelHighAPI_Dumper& theDumper) const;