summaryrefslogtreecommitdiff
path: root/inc/ShapeUpgrade_Tool.hxx
blob: 6f555021cf2a457ddce364ccefb21a22bfc7c6d6 (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
// 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 _ShapeUpgrade_Tool_HeaderFile
#define _ShapeUpgrade_Tool_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_ShapeUpgrade_Tool_HeaderFile
#include <Handle_ShapeUpgrade_Tool.hxx>
#endif

#ifndef _Handle_ShapeBuild_ReShape_HeaderFile
#include <Handle_ShapeBuild_ReShape.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
class ShapeBuild_ReShape;


//! Tool is a root class for splitting classes <br>
//!          Provides context for recording changes, basic <br>
//!          precision value and limit (minimal and maximal) <br>
//!          values for tolerances <br>
class ShapeUpgrade_Tool : public MMgt_TShared {

public:

  //! Empty constructor <br>
  Standard_EXPORT   ShapeUpgrade_Tool();
  //! Copy all fields from another Root object <br>
  Standard_EXPORT     void Set(const Handle(ShapeUpgrade_Tool)& tool) ;
  //! Sets context <br>
        void SetContext(const Handle(ShapeBuild_ReShape)& context) ;
  //! Returns context <br>
        Handle_ShapeBuild_ReShape Context() const;
  //! Sets basic precision value <br>
        void SetPrecision(const Standard_Real preci) ;
  //! Returns basic precision value <br>
        Standard_Real Precision() const;
  //! Sets minimal allowed tolerance <br>
        void SetMinTolerance(const Standard_Real mintol) ;
  //! Returns minimal allowed tolerance <br>
        Standard_Real MinTolerance() const;
  //! Sets maximal allowed tolerance <br>
        void SetMaxTolerance(const Standard_Real maxtol) ;
  //! Returns maximal allowed tolerance <br>
        Standard_Real MaxTolerance() const;
  //! Returns tolerance limited by [myMinTol,myMaxTol] <br>
        Standard_Real LimitTolerance(const Standard_Real toler) const;




  DEFINE_STANDARD_RTTI(ShapeUpgrade_Tool)

protected:




private: 


Handle_ShapeBuild_ReShape myContext;
Standard_Real myPrecision;
Standard_Real myMinTol;
Standard_Real myMaxTol;


};


#include <ShapeUpgrade_Tool.lxx>



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


#endif