summaryrefslogtreecommitdiff
path: root/inc/IGESDraw_LabelDisplay.hxx
blob: 1c8fd7947843c331e73025d4cc003c1c53495a45 (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
// 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_LabelDisplay_HeaderFile
#define _IGESDraw_LabelDisplay_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESDraw_LabelDisplay_HeaderFile
#include <Handle_IGESDraw_LabelDisplay.hxx>
#endif

#ifndef _Handle_IGESDraw_HArray1OfViewKindEntity_HeaderFile
#include <Handle_IGESDraw_HArray1OfViewKindEntity.hxx>
#endif
#ifndef _Handle_TColgp_HArray1OfXYZ_HeaderFile
#include <Handle_TColgp_HArray1OfXYZ.hxx>
#endif
#ifndef _Handle_IGESDimen_HArray1OfLeaderArrow_HeaderFile
#include <Handle_IGESDimen_HArray1OfLeaderArrow.hxx>
#endif
#ifndef _Handle_TColStd_HArray1OfInteger_HeaderFile
#include <Handle_TColStd_HArray1OfInteger.hxx>
#endif
#ifndef _Handle_IGESData_HArray1OfIGESEntity_HeaderFile
#include <Handle_IGESData_HArray1OfIGESEntity.hxx>
#endif
#ifndef _IGESData_LabelDisplayEntity_HeaderFile
#include <IGESData_LabelDisplayEntity.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_IGESData_ViewKindEntity_HeaderFile
#include <Handle_IGESData_ViewKindEntity.hxx>
#endif
#ifndef _Handle_IGESDimen_LeaderArrow_HeaderFile
#include <Handle_IGESDimen_LeaderArrow.hxx>
#endif
#ifndef _Handle_IGESData_IGESEntity_HeaderFile
#include <Handle_IGESData_IGESEntity.hxx>
#endif
class IGESDraw_HArray1OfViewKindEntity;
class TColgp_HArray1OfXYZ;
class IGESDimen_HArray1OfLeaderArrow;
class TColStd_HArray1OfInteger;
class IGESData_HArray1OfIGESEntity;
class Standard_DimensionMismatch;
class Standard_OutOfRange;
class IGESData_ViewKindEntity;
class gp_Pnt;
class IGESDimen_LeaderArrow;
class IGESData_IGESEntity;


//! defines IGESLabelDisplay, Type <402> Form <5> <br>
//!          in package IGESDraw <br>
class IGESDraw_LabelDisplay : public IGESData_LabelDisplayEntity {

public:

  
  Standard_EXPORT   IGESDraw_LabelDisplay();
  //! This method is used to set the fields of the class <br>
//!           LabelDisplay <br>
//!   - allViews             : Pointers to View Entities <br>
//!   - allTextLocations     : Coordinates of text locations in the views <br>
//!   - allLeaderEntities    : Pointers to Leader Entities in the views <br>
//!   - allLabelLevels       : Entity label level numbers in the views <br>
//!   - allDisplayedEntities : Pointers to the entities being displayed <br>
//! raises exception if Lengths of allViews, allTextLocations, <br>
//! allLeaderEntities, allLabelLevels and allDisplayedEntities are <br>
//! not same. <br>
  Standard_EXPORT     void Init(const Handle(IGESDraw_HArray1OfViewKindEntity)& allViews,const Handle(TColgp_HArray1OfXYZ)& allTextLocations,const Handle(IGESDimen_HArray1OfLeaderArrow)& allLeaderEntities,const Handle(TColStd_HArray1OfInteger)& allLabelLevels,const Handle(IGESData_HArray1OfIGESEntity)& allDisplayedEntities) ;
  //! returns the number of label placements in <me> <br>
  Standard_EXPORT     Standard_Integer NbLabels() const;
  //! returns the View entity indicated by ViewIndex <br>
//! raises an exception if ViewIndex <= 0 or ViewIndex > NbLabels(). <br>
  Standard_EXPORT     Handle_IGESData_ViewKindEntity ViewItem(const Standard_Integer ViewIndex) const;
  //! returns the 3d-Point coordinates of the text location, in the <br>
//! view indicated by ViewIndex <br>
//! raises an exception if ViewIndex <= 0 or ViewIndex > NbLabels(). <br>
  Standard_EXPORT     gp_Pnt TextLocation(const Standard_Integer ViewIndex) const;
  //! returns the Leader entity in the view indicated by ViewIndex <br>
//! raises an exception if ViewIndex <= 0 or ViewIndex > NbLabels(). <br>
  Standard_EXPORT     Handle_IGESDimen_LeaderArrow LeaderEntity(const Standard_Integer ViewIndex) const;
  //! returns the Entity label level number in the view indicated <br>
//! by ViewIndex <br>
//! raises an exception if ViewIndex <= 0 or ViewIndex > NbLabels(). <br>
  Standard_EXPORT     Standard_Integer LabelLevel(const Standard_Integer ViewIndex) const;
  //! returns the entity indicated by EntityIndex <br>
//! raises an exception if EntityIndex <= 0 or EntityIndex > NbLabels(). <br>
  Standard_EXPORT     Handle_IGESData_IGESEntity DisplayedEntity(const Standard_Integer EntityIndex) const;
  //! returns the transformed 3d-Point coordinates of the text <br>
//! location, in the view indicated by ViewIndex <br>
//! raises an exception if ViewIndex <= 0 or ViewIndex > NbLabels(). <br>
  Standard_EXPORT     gp_Pnt TransformedTextLocation(const Standard_Integer ViewIndex) const;




  DEFINE_STANDARD_RTTI(IGESDraw_LabelDisplay)

protected:




private: 


Handle_IGESDraw_HArray1OfViewKindEntity theViews;
Handle_TColgp_HArray1OfXYZ theTextLocations;
Handle_IGESDimen_HArray1OfLeaderArrow theLeaderEntities;
Handle_TColStd_HArray1OfInteger theLabelLevels;
Handle_IGESData_HArray1OfIGESEntity theDisplayedEntities;


};





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


#endif