Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_DFLoader.h
1 // File:        GeomAlgoAPI_DFLoader.h
2 // Created:     23 October 2014
3 // Author:      Sergey Zaritchny
4
5 #ifndef GeomAlgoAPI_DFLoader_H_
6 #define GeomAlgoAPI_DFLoader_H_
7 #include <GeomAlgoAPI.h>
8 //#include <boost/shared_ptr.hpp>
9 #include <BRepBuilderAPI_MakeShape.hxx>
10 #include <TopoDS_Shape.hxx>
11 #include <TNaming_Builder.hxx>
12 #include <TopAbs_ShapeEnum.hxx>
13 #include <TopTools_DataMapOfShapeShape.hxx>
14
15 /**\class GeomAlgoAPI_DFLoader
16  * \ingroup DataAlgo
17  * \brief Defines several static methods useful for Data Framework filling
18  */
19 class GEOMALGOAPI_EXPORT GeomAlgoAPI_DFLoader 
20 {
21  public:
22          /*
23   /// Loads to DF deleted shapes
24   static void loadDeletedShapes (BRepBuilderAPI_MakeShape& theMS, const TopoDS_Shape& theShapeIn,
25                                  const TopAbs_ShapeEnum  KindOfShape, TNaming_Builder&  theBuilder);
26
27   /// Loads to DF generated shapes
28   static void loadAndOrientGeneratedShapes (BRepBuilderAPI_MakeShape&                  theMS,
29                                             const TopoDS_Shape&                 theShapeIn,
30                                             const TopAbs_ShapeEnum              theKindOfShape,
31                                             TNaming_Builder&                    theBuilder,
32                                             const TopTools_DataMapOfShapeShape& theSubShapes);
33   /// Loads to DF modified shapes 
34   static void loadAndOrientModifiedShapes (BRepBuilderAPI_MakeShape&                   theMS,
35                                            const TopoDS_Shape&                  theShapeIn,
36                                            const TopAbs_ShapeEnum               theKindOfShape,
37                                            TNaming_Builder&                     theBuilder,
38                                            const TopTools_DataMapOfShapeShape&  theSubShapes);
39   */
40   /// Refine result
41   static const TopoDS_Shape refineResult(const TopoDS_Shape& theShape);
42 };
43
44 #endif