20 #ifndef GEOMALGOAPI_TOOLS_H_
21 #define GEOMALGOAPI_TOOLS_H_
23 #include <GeomAlgoAPI.h>
25 #include <ModelAPI_ResultBody.h>
26 #include <TDF_Label.hxx>
27 #include <GeomAPI_Shape.h>
28 #include <Quantity_Color.hxx>
35 namespace GeomAlgoAPI_Tools {
54 std::string myCurLocale;
66 GEOMALGOAPI_EXPORT
static std::string
extension(
const std::string& theFileName);
70 GEOMALGOAPI_EXPORT
static std::string
name(
const std::string& theFileName);
74 GEOMALGOAPI_EXPORT
static std::string
path(
const std::string& theFileName);
90 const std::shared_ptr<GeomAlgoAPI_MakeShape>& theAlgorithm,
91 const std::string& theFeature,
92 std::string& theError);
105 Quantity_Color myColor;
107 const TDF_Label myMain;
112 GEOMALGOAPI_EXPORT
static TDF_Label exportShape(
const GeomShapePtr theShape, GeomAlgoAPI_Attributes& theAttrs,
113 const GeomShapePtr theFatherShape, TDF_Label& theFaterID);
115 GEOMALGOAPI_EXPORT
static void getAttributes(
const ResultPtr& theResult, GeomAlgoAPI_Attributes& theAttrs);
117 GEOMALGOAPI_EXPORT
static void putResult(
const ResultPtr& theResult,
const GeomShapePtr theFatherShape,
118 TDF_Label& theFaterID, GeomAlgoAPI_Attributes& theAttrs);
Interface to the root class of all topological shapes constructions.
Definition: GeomAlgoAPI_MakeShape.h:35