Salome HOME
Issue #1942: group - names are empty strings
[modules/shaper.git] / src / FeaturesAPI / FeaturesAPI_Scale.h
index d53ff17771979f765042b716a35cb5bd095c2550..137763c62e642ee5972d9aebb82e51e17f399779 100644 (file)
@@ -35,34 +35,17 @@ public:
                              const ModelHighAPI_Selection& theCenterPoint,
                              const ModelHighAPI_Double& theScaleFactor);
 
-  /// Constructor with values.
-  FEATURESAPI_EXPORT
-  explicit FeaturesAPI_Scale(const std::shared_ptr<ModelAPI_Feature>& theFeature,
-                             const std::list<ModelHighAPI_Selection>& theMainObjects,
-                             const ModelHighAPI_Selection& theCenterPoint,
-                             const ModelHighAPI_Double& theScaleFactorX,
-                             const ModelHighAPI_Double& theScaleFactorY,
-                             const ModelHighAPI_Double& theScaleFactorZ);
-
   /// Destructor.
   FEATURESAPI_EXPORT
   virtual ~FeaturesAPI_Scale();
 
-  INTERFACE_7(FeaturesPlugin_Scale::ID(),
-              creationMethod, FeaturesPlugin_Scale::CREATION_METHOD(),
-              ModelAPI_AttributeString, /** Creation method */,
+  INTERFACE_3(FeaturesPlugin_Scale::ID(),
               mainObjects, FeaturesPlugin_Scale::OBJECTS_LIST_ID(),
               ModelAPI_AttributeSelectionList, /** Main objects */,
               centerPoint, FeaturesPlugin_Scale::CENTER_POINT_ID(),
               ModelAPI_AttributeSelection, /** Center point */,
               scaleFactor, FeaturesPlugin_Scale::SCALE_FACTOR_ID(),
-              ModelAPI_AttributeDouble, /** Scale factor */,
-              scaleFactorX, FeaturesPlugin_Scale::SCALE_FACTOR_X_ID(),
-              ModelAPI_AttributeDouble, /** Scale factor in X */,
-              scaleFactorY, FeaturesPlugin_Scale::SCALE_FACTOR_Y_ID(),
-              ModelAPI_AttributeDouble, /** Scale factor in Y */,
-              scaleFactorZ, FeaturesPlugin_Scale::SCALE_FACTOR_Z_ID(),
-              ModelAPI_AttributeDouble, /** Scale factor in Z */)
+              ModelAPI_AttributeDouble, /** Scale factor */)
 
   /// Set main objects.
   FEATURESAPI_EXPORT
@@ -76,13 +59,6 @@ public:
   FEATURESAPI_EXPORT
   void setScaleFactor(const ModelHighAPI_Double& theScaleFactor);
 
-  /// Modify Creation Method and scale_factor_x, scale_factor_y and scale_factor_z
-  /// attributes of the feature.
-  FEATURESAPI_EXPORT
-  void setDimensions(const ModelHighAPI_Double& theScaleFactorX,
-                     const ModelHighAPI_Double& theScaleFactorY,
-                     const ModelHighAPI_Double& theScaleFactorZ);
-
   /// Dump wrapped feature
   FEATURESAPI_EXPORT
   virtual void dump(ModelHighAPI_Dumper& theDumper) const;
@@ -99,14 +75,4 @@ ScalePtr addScale(const std::shared_ptr<ModelAPI_Document>& thePart,
                   const ModelHighAPI_Selection& theCenterPoint,
                   const ModelHighAPI_Double& theScaleFactor);
 
-/// \ingroup CPPHighAPI
-/// \brief Create Scale feature.
-FEATURESAPI_EXPORT
-ScalePtr addScale(const std::shared_ptr<ModelAPI_Document>& thePart,
-                  const std::list<ModelHighAPI_Selection>& theMainObjects,
-                  const ModelHighAPI_Selection& theCenterPoint,
-                  const ModelHighAPI_Double& theScaleFactorX,
-                  const ModelHighAPI_Double& theScaleFactorY,
-                  const ModelHighAPI_Double& theScaleFactorZ);
-
 #endif // FEATURESAPI_SCALE_H_
\ No newline at end of file