summaryrefslogtreecommitdiff
path: root/inc/ShapeCustom_RestrictionParameters.hxx
blob: 0b06554f8e324dca1e70aceef32926260d75e387 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _ShapeCustom_RestrictionParameters_HeaderFile
#define _ShapeCustom_RestrictionParameters_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_ShapeCustom_RestrictionParameters_HeaderFile
#include <Handle_ShapeCustom_RestrictionParameters.hxx>
#endif

#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif


//! This class is axuluary tool which contains parameters for <br>
//!          BSplineRestriction class. <br>
class ShapeCustom_RestrictionParameters : public MMgt_TShared {

public:

  //! Sets default parameters. <br>
  Standard_EXPORT   ShapeCustom_RestrictionParameters();
  //! Returns (modifiable) maximal degree of approximation. <br>
        Standard_Integer& GMaxDegree() ;
  //! Returns (modifiable) maximal number of spans of <br>
//!          approximation. <br>
        Standard_Integer& GMaxSeg() ;
  //! Sets flag for define if Plane converted to BSpline surface. <br>
        Standard_Boolean& ConvertPlane() ;
  //! Sets flag for define if Bezier surface converted to BSpline <br>
//!          surface. <br>
        Standard_Boolean& ConvertBezierSurf() ;
  //! Sets flag for define if surface of Revolution converted to <br>
//!          BSpline surface. <br>
        Standard_Boolean& ConvertRevolutionSurf() ;
  //! Sets flag for define if surface of LinearExtrusion converted <br>
//!          to BSpline surface. <br>
        Standard_Boolean& ConvertExtrusionSurf() ;
  //! Sets flag for define if Offset surface converted to BSpline <br>
//!          surface. <br>
        Standard_Boolean& ConvertOffsetSurf() ;
  //! Sets flag for define if cylindrical surface converted to BSpline <br>
//!          surface. <br>
        Standard_Boolean& ConvertCylindricalSurf() ;
  //! Sets flag for define if conical surface converted to BSpline <br>
//!          surface. <br>
        Standard_Boolean& ConvertConicalSurf() ;
  //! Sets flag for define if toroidal surface converted to BSpline <br>
//!          surface. <br>
        Standard_Boolean& ConvertToroidalSurf() ;
  //! Sets flag for define if spherical surface converted to BSpline <br>
//!          surface. <br>
        Standard_Boolean& ConvertSphericalSurf() ;
  //! Sets Segment mode for surface. If Segment is True surface is <br>
//!          approximated in the bondaries of face lying on this surface. <br>
        Standard_Boolean& SegmentSurfaceMode() ;
  //! Sets flag for define if 3d curve converted to BSpline curve. <br>
        Standard_Boolean& ConvertCurve3d() ;
  //! Sets flag for define if Offset curve3d converted to BSpline <br>
//!          surface. <br>
        Standard_Boolean& ConvertOffsetCurv3d() ;
  //! Returns (modifiable) flag for define if 2d curve converted <br>
//!          to BSpline curve. <br>
        Standard_Boolean& ConvertCurve2d() ;
  //! Returns (modifiable) flag for define if Offset curve2d <br>
//!          converted to BSpline surface. <br>
        Standard_Boolean& ConvertOffsetCurv2d() ;




  DEFINE_STANDARD_RTTI(ShapeCustom_RestrictionParameters)

protected:




private: 


Standard_Integer myGMaxDegree;
Standard_Integer myGMaxSeg;
Standard_Boolean myConvPlane;
Standard_Boolean myConvConicalSurf;
Standard_Boolean myConvSphericalSurf;
Standard_Boolean myConvCylindricalSurf;
Standard_Boolean myConvToroidalSurf;
Standard_Boolean myConvBezierSurf;
Standard_Boolean myConvRevolSurf;
Standard_Boolean myConvExtrSurf;
Standard_Boolean myConvOffsetSurf;
Standard_Boolean mySegmentSurfaceMode;
Standard_Boolean myConvCurve3d;
Standard_Boolean myConvOffsetCurv3d;
Standard_Boolean myConvCurve2d;
Standard_Boolean myConvOffsetCurv2d;


};


#include <ShapeCustom_RestrictionParameters.lxx>



// other Inline functions and methods (like "C++: function call" methods)


#endif