]> SALOME platform Git repositories - modules/shaper.git/blob - src/GeomAlgoAPI/GeomAlgoAPI_STEPExport.h
Salome HOME
Issue #529 : 4.07. Import IGES, export to BREP, STEP, IGES - Export STEP
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_STEPExport.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 /*
4  * GEOMALGOAPI_STEPExport.h
5  *
6  *  Created on: May 14, 2015
7  *      Author: spo
8  */
9
10 #ifndef GEOMALGOAPI_STEPEXPORT_H_
11 #define GEOMALGOAPI_STEPEXPORT_H_
12
13 #include <GeomAlgoAPI.h>
14
15 #include <TCollection_AsciiString.hxx>
16 #include <TCollection_HAsciiString.hxx>
17 #include <TopoDS_Shape.hxx>
18 #include <TDF_Label.hxx>
19
20 namespace STEPExport {
21
22 /// Implementation of the export parameter from the STEP file
23 GEOMALGOAPI_EXPORT
24 Handle(TCollection_HAsciiString) GetValue(const TCollection_AsciiString& theFileName,
25                                           const TCollection_AsciiString& theParameterName,
26                                           TCollection_AsciiString& theError);
27
28 /// Implementation of the export STEP files algorithms
29 GEOMALGOAPI_EXPORT
30 bool Export(const TCollection_AsciiString& theFileName,
31             const TCollection_AsciiString& theFormatName,
32             const TopoDS_Shape& theShape,
33             TCollection_AsciiString& theError,
34             const TDF_Label& theShapeLabel);
35 }
36
37 #endif /* GEOMALGOAPI_STEPEXPORT_H_ */