File indexing completed on 2026-12-03 10:55:24
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _IGESDraw_LabelDisplay_HeaderFile
0018 #define _IGESDraw_LabelDisplay_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <IGESData_ViewKindEntity.hxx>
0024 #include <NCollection_Array1.hxx>
0025 #include <NCollection_HArray1.hxx>
0026 #include <gp_XYZ.hxx>
0027 #include <IGESDimen_LeaderArrow.hxx>
0028 #include <Standard_Integer.hxx>
0029 #include <IGESData_IGESEntity.hxx>
0030 #include <IGESData_LabelDisplayEntity.hxx>
0031 class IGESData_ViewKindEntity;
0032 class gp_Pnt;
0033 class IGESDimen_LeaderArrow;
0034 class IGESData_IGESEntity;
0035
0036
0037
0038
0039
0040
0041 class IGESDraw_LabelDisplay : public IGESData_LabelDisplayEntity
0042 {
0043
0044 public:
0045 Standard_EXPORT IGESDraw_LabelDisplay();
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057 Standard_EXPORT void Init(
0058 const occ::handle<NCollection_HArray1<occ::handle<IGESData_ViewKindEntity>>>& allViews,
0059 const occ::handle<NCollection_HArray1<gp_XYZ>>& allTextLocations,
0060 const occ::handle<NCollection_HArray1<occ::handle<IGESDimen_LeaderArrow>>>& allLeaderEntities,
0061 const occ::handle<NCollection_HArray1<int>>& allLabelLevels,
0062 const occ::handle<NCollection_HArray1<occ::handle<IGESData_IGESEntity>>>& allDisplayedEntities);
0063
0064
0065 Standard_EXPORT int NbLabels() const;
0066
0067
0068
0069 Standard_EXPORT occ::handle<IGESData_ViewKindEntity> ViewItem(const int ViewIndex) const;
0070
0071
0072
0073
0074 Standard_EXPORT gp_Pnt TextLocation(const int ViewIndex) const;
0075
0076
0077
0078 Standard_EXPORT occ::handle<IGESDimen_LeaderArrow> LeaderEntity(const int ViewIndex) const;
0079
0080
0081
0082
0083 Standard_EXPORT int LabelLevel(const int ViewIndex) const;
0084
0085
0086
0087 Standard_EXPORT occ::handle<IGESData_IGESEntity> DisplayedEntity(const int EntityIndex) const;
0088
0089
0090
0091
0092 Standard_EXPORT gp_Pnt TransformedTextLocation(const int ViewIndex) const;
0093
0094 DEFINE_STANDARD_RTTIEXT(IGESDraw_LabelDisplay, IGESData_LabelDisplayEntity)
0095
0096 private:
0097 occ::handle<NCollection_HArray1<occ::handle<IGESData_ViewKindEntity>>> theViews;
0098 occ::handle<NCollection_HArray1<gp_XYZ>> theTextLocations;
0099 occ::handle<NCollection_HArray1<occ::handle<IGESDimen_LeaderArrow>>> theLeaderEntities;
0100 occ::handle<NCollection_HArray1<int>> theLabelLevels;
0101 occ::handle<NCollection_HArray1<occ::handle<IGESData_IGESEntity>>> theDisplayedEntities;
0102 };
0103
0104 #endif