X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_Scale.h;h=9c01fb67066e21274303407d2cdb88909b6cc832;hb=4f565b2204d3fba046aa8c851abada2a5a17bf6c;hp=71bf032a23a0b9967a5e0f4fbc3fe58afc32d1f7;hpb=698a1c427ab2537e7a96b5206d6987087b78f54f;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_Scale.h b/src/FeaturesPlugin/FeaturesPlugin_Scale.h index 71bf032a2..9c01fb670 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_Scale.h +++ b/src/FeaturesPlugin/FeaturesPlugin_Scale.h @@ -27,27 +27,6 @@ class FeaturesPlugin_Scale : public ModelAPI_Feature return MY_SCALE_ID; } - /// Attribute name for creation method. - inline static const std::string& CREATION_METHOD() - { - static const std::string MY_CREATION_METHOD_ID("CreationMethod"); - return MY_CREATION_METHOD_ID; - } - - /// Attribute name for creation method "ByFactor". - inline static const std::string& CREATION_METHOD_BY_FACTOR() - { - static const std::string MY_CREATION_METHOD_ID("ByFactor"); - return MY_CREATION_METHOD_ID; - } - - /// Attribute name for creation method "ByFactor". - inline static const std::string& CREATION_METHOD_BY_DIMENSIONS() - { - static const std::string MY_CREATION_METHOD_ID("ByDimensions"); - return MY_CREATION_METHOD_ID; - } - /// Attribute name of referenced objects. inline static const std::string& OBJECTS_LIST_ID() { @@ -69,27 +48,6 @@ class FeaturesPlugin_Scale : public ModelAPI_Feature return MY_SCALE_FACTOR_ID; } - /// Attribute name of scale factor in X. - inline static const std::string& SCALE_FACTOR_X_ID() - { - static const std::string MY_SCALE_FACTOR_X_ID("scale_factor_x"); - return MY_SCALE_FACTOR_X_ID; - } - - /// Attribute name of scale factor in Y. - inline static const std::string& SCALE_FACTOR_Y_ID() - { - static const std::string MY_SCALE_FACTOR_Y_ID("scale_factor_y"); - return MY_SCALE_FACTOR_Y_ID; - } - - /// Attribute name of scale factor in Z. - inline static const std::string& SCALE_FACTOR_Z_ID() - { - static const std::string MY_SCALE_FACTOR_Z_ID("scale_factor_z"); - return MY_SCALE_FACTOR_Z_ID; - } - /// \return the kind of a feature. FEATURESPLUGIN_EXPORT virtual const std::string& getKind() { @@ -107,12 +65,6 @@ class FeaturesPlugin_Scale : public ModelAPI_Feature FeaturesPlugin_Scale(); private: - /// Perform scale using a central point and a value of the scale. - void performScaleByFactor(); - - /// Perform symmetry using a central point and three dimensions - void performScaleByDimensions(); - /// Perform the naming void loadNamingDS(GeomAlgoAPI_Scale& theScaleAlgo, std::shared_ptr theResultBody,