summaryrefslogtreecommitdiff
path: root/inc/IGESDraw_DrawingWithRotation.hxx
blob: d344e2ad8b02448db7229820cce44ec10d63ac44 (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
// 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_DrawingWithRotation_HeaderFile
#define _IGESDraw_DrawingWithRotation_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESDraw_DrawingWithRotation_HeaderFile
#include <Handle_IGESDraw_DrawingWithRotation.hxx>
#endif

#ifndef _Handle_IGESDraw_HArray1OfViewKindEntity_HeaderFile
#include <Handle_IGESDraw_HArray1OfViewKindEntity.hxx>
#endif
#ifndef _Handle_TColgp_HArray1OfXY_HeaderFile
#include <Handle_TColgp_HArray1OfXY.hxx>
#endif
#ifndef _Handle_TColStd_HArray1OfReal_HeaderFile
#include <Handle_TColStd_HArray1OfReal.hxx>
#endif
#ifndef _Handle_IGESData_HArray1OfIGESEntity_HeaderFile
#include <Handle_IGESData_HArray1OfIGESEntity.hxx>
#endif
#ifndef _IGESData_IGESEntity_HeaderFile
#include <IGESData_IGESEntity.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_IGESData_ViewKindEntity_HeaderFile
#include <Handle_IGESData_ViewKindEntity.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Handle_IGESData_IGESEntity_HeaderFile
#include <Handle_IGESData_IGESEntity.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
class IGESDraw_HArray1OfViewKindEntity;
class TColgp_HArray1OfXY;
class TColStd_HArray1OfReal;
class IGESData_HArray1OfIGESEntity;
class Standard_DimensionMismatch;
class Standard_OutOfRange;
class IGESData_ViewKindEntity;
class gp_Pnt2d;
class IGESData_IGESEntity;
class gp_XY;
class gp_XYZ;


//! defines IGESDrawingWithRotation, Type <404> Form <1> <br>
//!          in package IGESDraw <br>
class IGESDraw_DrawingWithRotation : public IGESData_IGESEntity {

public:

  
  Standard_EXPORT   IGESDraw_DrawingWithRotation();
  //! This method is used to set the fields of the class <br>
//!           DrawingWithRotation <br>
//!      - allViews             : Pointers to View entities <br>
//!      - allViewOrigins       : Origin coords of transformed views <br>
//!      - allOrientationAngles : Orientation angles of transformed views <br>
//!      - allAnnotations       : Pointers to Annotation entities <br>
//! raises exception if Lengths of allViews, allViewOrigins and <br>
//! allOrientationAngles are not same. <br>
  Standard_EXPORT     void Init(const Handle(IGESDraw_HArray1OfViewKindEntity)& allViews,const Handle(TColgp_HArray1OfXY)& allViewOrigins,const Handle(TColStd_HArray1OfReal)& allOrientationAngles,const Handle(IGESData_HArray1OfIGESEntity)& allAnnotations) ;
  //! returns the number of view pointers in <me> <br>
  Standard_EXPORT     Standard_Integer NbViews() const;
  //! returns the View entity indicated by Index <br>
//! raises an exception if Index <= 0 or Index > NbViews(). <br>
  Standard_EXPORT     Handle_IGESData_ViewKindEntity ViewItem(const Standard_Integer Index) const;
  //! returns the Drawing space coordinates of the origin of the <br>
//! Transformed view indicated by Index <br>
//! raises an exception if Index <= 0 or Index > NbViews(). <br>
  Standard_EXPORT     gp_Pnt2d ViewOrigin(const Standard_Integer Index) const;
  //! returns the Orientation angle for the Transformed view <br>
//! indicated by Index <br>
//! raises an exception if Index <= 0 or Index > NbViews(). <br>
  Standard_EXPORT     Standard_Real OrientationAngle(const Standard_Integer Index) const;
  //! returns the number of Annotation entities in <me> <br>
  Standard_EXPORT     Standard_Integer NbAnnotations() const;
  //! returns the Annotation entity in this Drawing, indicated by Index <br>
//! raises an exception if Index <= 0 or Index > NbAnnotations(). <br>
  Standard_EXPORT     Handle_IGESData_IGESEntity Annotation(const Standard_Integer Index) const;
  
  Standard_EXPORT     gp_XY ViewToDrawing(const Standard_Integer NumView,const gp_XYZ& ViewCoords) const;
  //! Returns the Drawing Unit Value if it is specified (by a <br>
//!           specific property entity) <br>
//!           If not specified, returns False, and val as zero : <br>
//!           unit to consider is then the model unit in GlobalSection <br>
  Standard_EXPORT     Standard_Boolean DrawingUnit(Standard_Real& value) const;
  //! Returns the Drawing Size if it is specified (by a <br>
//!           specific property entity) <br>
//!           If not specified, returns False, and X,Y as zero : <br>
//!           unit to consider is then the model unit in GlobalSection <br>
  Standard_EXPORT     Standard_Boolean DrawingSize(Standard_Real& X,Standard_Real& Y) const;




  DEFINE_STANDARD_RTTI(IGESDraw_DrawingWithRotation)

protected:




private: 


Handle_IGESDraw_HArray1OfViewKindEntity theViews;
Handle_TColgp_HArray1OfXY theViewOrigins;
Handle_TColStd_HArray1OfReal theOrientationAngles;
Handle_IGESData_HArray1OfIGESEntity theAnnotations;


};





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


#endif