summaryrefslogtreecommitdiff
path: root/inc/Prs3d.hxx
blob: 759b21dfcc74be8e5e983d20d868e1a90c7a8a87 (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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
// 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 _Prs3d_HeaderFile
#define _Prs3d_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif

#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Quantity_Length_HeaderFile
#include <Quantity_Length.hxx>
#endif
class gp_Pnt;
class Prs3d_Presentation;
class Prs3d_BasicAspect;
class Prs3d_PointAspect;
class Prs3d_LineAspect;
class Prs3d_ShadingAspect;
class Prs3d_TextAspect;
class Prs3d_CompositeAspect;
class Prs3d_IsoAspect;
class Prs3d_PlaneAspect;
class Prs3d_ArrowAspect;
class Prs3d_LengthAspect;
class Prs3d_AngleAspect;
class Prs3d_RadiusAspect;
class Prs3d_DatumAspect;
class Prs3d_Drawer;
class Prs3d_Projector;
class Prs3d_PlaneSet;
class Prs3d_Root;
class Prs3d_Point;
class Prs3d_Line;
class Prs3d_WFDeflectionRestrictedFace;
class Prs3d_WFRestrictedFace;
class Prs3d_WFShape;
class Prs3d_HLRShape;
class Prs3d_SectionShapeTool;
class Prs3d_ShadedShape;
class Prs3d_Vector;
class Prs3d_Datum;
class Prs3d_LengthPresentation;
class Prs3d_AnglePresentation;
class Prs3d_Text;
class Prs3d_PointTool;
class Prs3d_LineTool;
class Prs3d_CurvePresentation;
class Prs3d_RestrictionTool;
class Prs3d_ShapeTool;
class Prs3d_HLRShapeTool;
class Prs3d_VectorTool;
class Prs3d_DatumTool;
class Prs3d_Arrow;


//! The Prs3d package provides the following services <br>
//! -   a presentation object (the context for all <br>
//!   modifications to the display, its presentation will be <br>
//!   displayed in every view of an active viewer) <br>
//! -   an attribute manager governing how objects such <br>
//!   as color, width, and type of line are displayed; <br>
//!   these are generic objects, whereas those in <br>
//!   StdPrs are specific geometries and topologies. <br>
//! -   generic   algorithms providing default settings for <br>
//!   objects such as points, curves, surfaces and shapes <br>
//! -   a root object which provides the abstract <br>
//!   framework for the DsgPrs definitions at work in <br>
//!   display of dimensions, relations and trihedra. <br>
class Prs3d  {
public:

  void* operator new(size_t,void* anAddress) 
  {
    return anAddress;
  }
  void* operator new(size_t size) 
  {
    return Standard::Allocate(size); 
  }
  void  operator delete(void *anAddress) 
  {
    if (anAddress) Standard::Free((Standard_Address&)anAddress); 
  }

  
  Standard_EXPORT   static  Standard_Boolean MatchSegment(const Quantity_Length X,const Quantity_Length Y,const Quantity_Length Z,const Quantity_Length aDistance,const gp_Pnt& p1,const gp_Pnt& p2,Quantity_Length& dist) ;





protected:





private:




friend class Prs3d_Presentation;
friend class Prs3d_BasicAspect;
friend class Prs3d_PointAspect;
friend class Prs3d_LineAspect;
friend class Prs3d_ShadingAspect;
friend class Prs3d_TextAspect;
friend class Prs3d_CompositeAspect;
friend class Prs3d_IsoAspect;
friend class Prs3d_PlaneAspect;
friend class Prs3d_ArrowAspect;
friend class Prs3d_LengthAspect;
friend class Prs3d_AngleAspect;
friend class Prs3d_RadiusAspect;
friend class Prs3d_DatumAspect;
friend class Prs3d_Drawer;
friend class Prs3d_Projector;
friend class Prs3d_PlaneSet;
friend class Prs3d_Root;
friend class Prs3d_Point;
friend class Prs3d_Line;
friend class Prs3d_WFDeflectionRestrictedFace;
friend class Prs3d_WFRestrictedFace;
friend class Prs3d_WFShape;
friend class Prs3d_HLRShape;
friend class Prs3d_SectionShapeTool;
friend class Prs3d_ShadedShape;
friend class Prs3d_Vector;
friend class Prs3d_Datum;
friend class Prs3d_LengthPresentation;
friend class Prs3d_AnglePresentation;
friend class Prs3d_Text;
friend class Prs3d_PointTool;
friend class Prs3d_LineTool;
friend class Prs3d_CurvePresentation;
friend class Prs3d_RestrictionTool;
friend class Prs3d_ShapeTool;
friend class Prs3d_HLRShapeTool;
friend class Prs3d_VectorTool;
friend class Prs3d_DatumTool;
friend class Prs3d_Arrow;

};





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


#endif