summaryrefslogtreecommitdiff
path: root/inc/XSAlgo_AlgoContainer.hxx
blob: c63d32fc4353ee89289ff1fa80b28c644349ed53 (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
// 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 _XSAlgo_AlgoContainer_HeaderFile
#define _XSAlgo_AlgoContainer_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_XSAlgo_AlgoContainer_HeaderFile
#include <Handle_XSAlgo_AlgoContainer.hxx>
#endif

#ifndef _Handle_XSAlgo_ToolContainer_HeaderFile
#include <Handle_XSAlgo_ToolContainer.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_CString_HeaderFile
#include <Standard_CString.hxx>
#endif
#ifndef _Handle_Standard_Transient_HeaderFile
#include <Handle_Standard_Transient.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_Transfer_TransientProcess_HeaderFile
#include <Handle_Transfer_TransientProcess.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_Transfer_FinderProcess_HeaderFile
#include <Handle_Transfer_FinderProcess.hxx>
#endif
class XSAlgo_ToolContainer;
class TopoDS_Shape;
class Standard_Transient;
class TopoDS_Edge;
class TopoDS_Face;
class Transfer_TransientProcess;
class Transfer_FinderProcess;



class XSAlgo_AlgoContainer : public MMgt_TShared {

public:

  //! Empty constructor <br>
  Standard_EXPORT   XSAlgo_AlgoContainer();
  //! Sets ToolContainer <br>
        void SetToolContainer(const Handle(XSAlgo_ToolContainer)& TC) ;
  //! Returns ToolContainer <br>
        Handle_XSAlgo_ToolContainer ToolContainer() const;
  //! Performs actions necessary for preparing environment <br>
//!          for transfer. Empty in Open version. <br>//! Applies fixes to the shape resulting from transfer, <br>
//!          and updates map of entity-shape in TP in accordance with <br>
//!          substitutions made during fixes (if any) <br>
  Standard_EXPORT   virtual  void PrepareForTransfer() const;
  //! Does shape processing with specified tolerances <br>
//!          and returns resulting shape and associated information <br>
//!          in the form of Transient. <br>
//!          This information should be later transmitted to <br>
//!          MergeTransferInfo in order to be recorded in the <br>
//!          translation map <br>
  Standard_EXPORT   virtual  TopoDS_Shape ProcessShape(const TopoDS_Shape& shape,const Standard_Real Prec,const Standard_Real MaxTol,const Standard_CString rscfile,const Standard_CString seq,Handle(Standard_Transient)& info) const;
  //! Checks quality of pcurve of the edge on the given face, <br>
//!          and corrects it if necessary. <br>
  Standard_EXPORT   virtual  Standard_Boolean CheckPCurve(const TopoDS_Edge& edge,const TopoDS_Face& face,const Standard_Real preci,const Standard_Boolean isSeam) const;
  
  Standard_EXPORT   virtual  void MergeTransferInfo(const Handle(Transfer_TransientProcess)& TP,const Handle(Standard_Transient)& info,const Standard_Integer startTPitem = 1) const;
  //! Updates translation map (TP or FP) with information <br>
//!          resulting from ShapeProcessing <br>
//!          Parameter startTPitem can be used for optimisation, to <br>
//!          restrict modifications to entities stored in TP starting <br>
//!          from item startTPitem <br>
  Standard_EXPORT   virtual  void MergeTransferInfo(const Handle(Transfer_FinderProcess)& FP,const Handle(Standard_Transient)& info) const;




  DEFINE_STANDARD_RTTI(XSAlgo_AlgoContainer)

protected:




private: 


Handle_XSAlgo_ToolContainer myTC;


};


#include <XSAlgo_AlgoContainer.lxx>



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


#endif