Salome HOME
Renaming the direct API high level.
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_MakeSweep.h
index fee768599be12c4c3ca64f3006f580432b4ddef2..05623740b622cd0837c1dcd4f412fec1f2f48c27 100644 (file)
 class GeomAlgoAPI_MakeSweep : public GeomAlgoAPI_MakeShapeList
 {
 public:
-  /// \returns the list of from faces.
-  GEOMALGOAPI_EXPORT const ListOfShape& fromFaces() const;
+  /// \returns the list of from shapes.
+  GEOMALGOAPI_EXPORT const ListOfShape& fromShapes() const;
 
-  /// \return the list of to faces.
-  GEOMALGOAPI_EXPORT const ListOfShape& toFaces() const;
+  /// \return the list of to shapes.
+  GEOMALGOAPI_EXPORT const ListOfShape& toShapes() const;
+
+  /// \brief Adds a shape to list of from shape.
+  /// \param[in] theShape a shape to add.
+  GEOMALGOAPI_EXPORT void addFromShape(const std::shared_ptr<GeomAPI_Shape> theShape);
+
+  /// \brief Sets from shapes
+  /// \param[in] theListOfShapes list of from shapes.
+  GEOMALGOAPI_EXPORT void setFromShapes(const ListOfShape& theListOfShapes);
+
+  /// \brief Adds a face to list of to shape.
+  /// \param[in] theShape a face to add.
+  GEOMALGOAPI_EXPORT void addToShape(const std::shared_ptr<GeomAPI_Shape> theShape);
+
+  /// \brief Sets to shapes
+  /// \param[in] theListOfShapes list of to shapes.
+  GEOMALGOAPI_EXPORT void setToShapes(const ListOfShape& theListOfShapes);
 
 protected:
-  GeomAlgoAPI_MakeSweep(){};
+  /// Empty constructor.
+  GeomAlgoAPI_MakeSweep() : GeomAlgoAPI_MakeShapeList() {};
 
 private:
-  ListOfShape myFromFaces;
-  ListOfShape myToFaces;
+  ListOfShape myFromShapes;
+  ListOfShape myToShapes;
 };
 
 #endif