#include "ModelAPI_Result.h"
#include <GeomAPI_Shape.h>
-#include <GeomAlgoAPI_MakeShape.h>
-#include <GeomAPI_DataMapOfShapeShape.h>
-#include <memory>
+//#include <GeomAlgoAPI_MakeShape.h>
+//#include <GeomAPI_DataMapOfShapeShape.h>
+//#include <memory>
#include <string>
+class ModelAPI_BodyBuilder;
+
/**\class ModelAPI_ResultBody
* \ingroup DataModel
* \brief The body (shape) result of a feature.
return RESULT_BODY_COLOR;
}
+ /// Returns the builder, which processes the shapes
+ ModelAPI_BodyBuilder* getBodyBuilder() { return myBuilder; }
+
/// Stores the shape (called by the execution method).
- virtual void store(const std::shared_ptr<GeomAPI_Shape>& theShape) = 0;
+ /*virtual void store(const std::shared_ptr<GeomAPI_Shape>& theShape) = 0;
/// Stores the generated shape (called by the execution method).
virtual void storeGenerated(const std::shared_ptr<GeomAPI_Shape>& theFromShape,
/// load disconnected vetexes
virtual void loadDisconnectedVertexes(std::shared_ptr<GeomAPI_Shape> theShape, const std::string& theName,int& theTag) = 0;
+ */
+protected:
+ MODELAPI_EXPORT ModelAPI_ResultBody();
protected:
+ ModelAPI_BodyBuilder* myBuilder; /// provide the body processing in naming shape
};
//! Pointer on feature object