]> SALOME platform Git repositories - modules/geom.git/blob - src/GEOMImpl/BRepBuilderAPI_NurbsConvert_21423.hxx
Salome HOME
Added a method to disable waiting cursor in the preview operation
[modules/geom.git] / src / GEOMImpl / BRepBuilderAPI_NurbsConvert_21423.hxx
1 // This file is generated by WOK (CPPExt).
2 // Please do not edit this file; modify original file instead.
3 // The copyright and license terms as defined for the original file apply to 
4 // this header file considered to be the "object code" form of the original source.
5
6 #ifndef _BRepBuilderAPI_NurbsConvert_21423_HeaderFile
7 #define _BRepBuilderAPI_NurbsConvert_21423_HeaderFile
8
9 #ifndef _Standard_HeaderFile
10 #include <Standard.hxx>
11 #endif
12 #ifndef _Standard_Macro_HeaderFile
13 #include <Standard_Macro.hxx>
14 #endif
15
16 #ifndef _BRepBuilderAPI_ModifyShape_21423_HeaderFile
17 #include <BRepBuilderAPI_ModifyShape_21423.hxx>
18 #endif
19 #ifndef _Standard_Boolean_HeaderFile
20 #include <Standard_Boolean.hxx>
21 #endif
22 class TopoDS_Shape;
23
24
25 //! Conversion of the complete geometry of a shape into <br>
26 //! NURBS geometry. For example, all curves supporting <br>
27 //! edges of the basis shape are converted into BSpline <br>
28 //! curves, and all surfaces supporting its faces are <br>
29 //! converted into BSpline surfaces. <br>
30 class BRepBuilderAPI_NurbsConvert_21423  : public BRepBuilderAPI_ModifyShape_21423 {
31 public:
32
33   void* operator new(size_t,void* anAddress) 
34   {
35     return anAddress;
36   }
37   void* operator new(size_t size) 
38   {
39     return Standard::Allocate(size); 
40   }
41   void  operator delete(void *anAddress) 
42   {
43     if (anAddress) Standard::Free((Standard_Address&)anAddress); 
44   }
45
46   //! Constructs a framework for converting the geometry of a <br>
47 //! shape into NURBS geometry. Use the function Perform <br>
48 //! to define the shape to convert. <br>
49   Standard_EXPORT   BRepBuilderAPI_NurbsConvert_21423();
50   //!  Builds a new shape by converting the geometry of the <br>
51 //! shape S into NURBS geometry. Specifically, all curves <br>
52 //! supporting edges of S are converted into BSpline <br>
53 //! curves, and all surfaces supporting its faces are <br>
54 //! converted into BSpline surfaces. <br>
55 //! Use the function Shape to access the new shape. <br>
56 //! Note: the constructed framework can be reused to <br>
57 //! convert other shapes. You specify these with the <br>
58 //! function Perform. <br>
59   Standard_EXPORT   BRepBuilderAPI_NurbsConvert_21423(const TopoDS_Shape& S,const Standard_Boolean Copy = Standard_False);
60   //! Builds a new shape by converting the geometry of the <br>
61 //! shape S into NURBS geometry. <br>
62 //! Specifically, all curves supporting edges of S are <br>
63 //! converted into BSpline curves, and all surfaces <br>
64 //! supporting its faces are converted into BSpline surfaces. <br>
65 //! Use the function Shape to access the new shape. <br>
66 //! Note: this framework can be reused to convert other <br>
67 //! shapes: you specify them by calling the function Perform again. <br>
68   Standard_EXPORT     void Perform(const TopoDS_Shape& S,const Standard_Boolean Copy = Standard_False) ;
69
70
71
72
73
74 protected:
75
76
77
78
79
80 private:
81
82
83
84
85
86 };
87
88
89
90
91
92 // other Inline functions and methods (like "C++: function call" methods)
93
94
95 #endif