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
|
// 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 _IGESDraw_View_HeaderFile
#define _IGESDraw_View_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESDraw_View_HeaderFile
#include <Handle_IGESDraw_View.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Handle_IGESGeom_Plane_HeaderFile
#include <Handle_IGESGeom_Plane.hxx>
#endif
#ifndef _IGESData_ViewKindEntity_HeaderFile
#include <IGESData_ViewKindEntity.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_IGESData_ViewKindEntity_HeaderFile
#include <Handle_IGESData_ViewKindEntity.hxx>
#endif
#ifndef _Handle_IGESData_TransfEntity_HeaderFile
#include <Handle_IGESData_TransfEntity.hxx>
#endif
class IGESGeom_Plane;
class Standard_OutOfRange;
class IGESData_ViewKindEntity;
class IGESData_TransfEntity;
class gp_XYZ;
//! defines IGES View Entity, Type <410> Form <0> <br>
//! in package IGESDraw <br>
class IGESDraw_View : public IGESData_ViewKindEntity {
public:
Standard_EXPORT IGESDraw_View();
//! This method is used to set fields of the class View <br>
//! - aViewNum : View number <br>
//! - aScale : Scale factor <br>
//! - aLeftPlane : Left plane of view volume <br>
//! - aTopPlane : Top plane of view volume <br>
//! - aRightPlane : Right plane of view volume <br>
//! - aBottomPlane : Bottom plane of view volume <br>
//! - aBackPlane : Back plane of view volume <br>
//! - aFrontPlane : Front plane of view volume <br>
Standard_EXPORT void Init(const Standard_Integer aViewNum,const Standard_Real aScale,const Handle(IGESGeom_Plane)& aLeftPlane,const Handle(IGESGeom_Plane)& aTopPlane,const Handle(IGESGeom_Plane)& aRightPlane,const Handle(IGESGeom_Plane)& aBottomPlane,const Handle(IGESGeom_Plane)& aBackPlane,const Handle(IGESGeom_Plane)& aFrontPlane) ;
//! Returns True (for a single view) <br>
Standard_EXPORT Standard_Boolean IsSingle() const;
//! Returns 1 (single view) <br>
Standard_EXPORT Standard_Integer NbViews() const;
//! For a single view, returns <me> whatever <num> <br>
Standard_EXPORT Handle_IGESData_ViewKindEntity ViewItem(const Standard_Integer num) const;
//! returns integer number identifying view orientation <br>
Standard_EXPORT Standard_Integer ViewNumber() const;
//! returns the scale factor(Default = 1.0) <br>
Standard_EXPORT Standard_Real ScaleFactor() const;
//! returns False if left side of view volume is not present <br>
Standard_EXPORT Standard_Boolean HasLeftPlane() const;
//! returns the left side of view volume, or null handle <br>
Standard_EXPORT Handle_IGESGeom_Plane LeftPlane() const;
//! returns False if top of view volume is not present <br>
Standard_EXPORT Standard_Boolean HasTopPlane() const;
//! returns the top of view volume, or null handle <br>
Standard_EXPORT Handle_IGESGeom_Plane TopPlane() const;
//! returns False if right side of view volume is not present <br>
Standard_EXPORT Standard_Boolean HasRightPlane() const;
//! returns the right side of view volume, or null handle <br>
Standard_EXPORT Handle_IGESGeom_Plane RightPlane() const;
//! returns False if bottom of view volume is not present <br>
Standard_EXPORT Standard_Boolean HasBottomPlane() const;
//! returns the bottom of view volume, or null handle <br>
Standard_EXPORT Handle_IGESGeom_Plane BottomPlane() const;
//! returns False if back of view volume is not present <br>
Standard_EXPORT Standard_Boolean HasBackPlane() const;
//! returns the back of view volume, or null handle <br>
Standard_EXPORT Handle_IGESGeom_Plane BackPlane() const;
//! returns False if front of view volume is not present <br>
Standard_EXPORT Standard_Boolean HasFrontPlane() const;
//! returns the front of view volume, or null handle <br>
Standard_EXPORT Handle_IGESGeom_Plane FrontPlane() const;
//! returns the Transformation Matrix <br>
Standard_EXPORT Handle_IGESData_TransfEntity ViewMatrix() const;
//! returns XYZ from the Model space to the View space by <br>
//! applying the View Matrix <br>
Standard_EXPORT gp_XYZ ModelToView(const gp_XYZ& coords) const;
DEFINE_STANDARD_RTTI(IGESDraw_View)
protected:
private:
Standard_Integer theViewNumber;
Standard_Real theScaleFactor;
Handle_IGESGeom_Plane theLeftPlane;
Handle_IGESGeom_Plane theTopPlane;
Handle_IGESGeom_Plane theRightPlane;
Handle_IGESGeom_Plane theBottomPlane;
Handle_IGESGeom_Plane theBackPlane;
Handle_IGESGeom_Plane theFrontPlane;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|