blob: d9c5e28f901dd7564e789e98abe21157cdf75a5d (
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
|
// 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 _V3d_CircularGrid_HeaderFile
#define _V3d_CircularGrid_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_V3d_CircularGrid_HeaderFile
#include <Handle_V3d_CircularGrid.hxx>
#endif
#ifndef _Handle_Graphic3d_Structure_HeaderFile
#include <Handle_Graphic3d_Structure.hxx>
#endif
#ifndef _Handle_Graphic3d_Group_HeaderFile
#include <Handle_Graphic3d_Group.hxx>
#endif
#ifndef _gp_Ax3_HeaderFile
#include <gp_Ax3.hxx>
#endif
#ifndef _V3d_ViewerPointer_HeaderFile
#include <V3d_ViewerPointer.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Aspect_GridDrawMode_HeaderFile
#include <Aspect_GridDrawMode.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Aspect_CircularGrid_HeaderFile
#include <Aspect_CircularGrid.hxx>
#endif
class Graphic3d_Structure;
class Graphic3d_Group;
class Quantity_Color;
class V3d_CircularGrid : public Aspect_CircularGrid {
public:
Standard_EXPORT V3d_CircularGrid(const V3d_ViewerPointer& aViewer,const Quantity_Color& aColor,const Quantity_Color& aTenthColor);
Standard_EXPORT void SetColors(const Quantity_Color& aColor,const Quantity_Color& aTenthColor) ;
Standard_EXPORT void Display() ;
Standard_EXPORT void Erase() const;
Standard_EXPORT Standard_Boolean IsDisplayed() const;
Standard_EXPORT void GraphicValues(Standard_Real& Radius,Standard_Real& OffSet) const;
Standard_EXPORT void SetGraphicValues(const Standard_Real Radius,const Standard_Real OffSet) ;
DEFINE_STANDARD_RTTI(V3d_CircularGrid)
protected:
Standard_EXPORT void UpdateDisplay() ;
private:
Standard_EXPORT void DefineLines() ;
Standard_EXPORT void DefinePoints() ;
Handle_Graphic3d_Structure myStructure;
Handle_Graphic3d_Group myGroup1;
Handle_Graphic3d_Group myGroup2;
gp_Ax3 myCurViewPlane;
V3d_ViewerPointer myViewer;
Standard_Boolean myCurAreDefined;
Aspect_GridDrawMode myCurDrawMode;
Standard_Real myCurXo;
Standard_Real myCurYo;
Standard_Real myCurAngle;
Standard_Real myCurStep;
Standard_Integer myCurDivi;
Standard_Real myRadius;
Standard_Real myOffSet;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|