File indexing completed on 2026-09-23 09:17:54
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _IGESDimen_GeneralNote_HeaderFile
0018 #define _IGESDimen_GeneralNote_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <NCollection_Array1.hxx>
0024 #include <NCollection_HArray1.hxx>
0025 #include <IGESGraph_TextFontDef.hxx>
0026 #include <gp_XYZ.hxx>
0027 #include <TCollection_HAsciiString.hxx>
0028 #include <IGESData_IGESEntity.hxx>
0029 #include <Standard_Integer.hxx>
0030 class IGESGraph_TextFontDef;
0031 class gp_Pnt;
0032 class TCollection_HAsciiString;
0033
0034
0035
0036
0037 class IGESDimen_GeneralNote : public IGESData_IGESEntity
0038 {
0039
0040 public:
0041 Standard_EXPORT IGESDimen_GeneralNote();
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058 Standard_EXPORT void Init(
0059 const occ::handle<NCollection_HArray1<int>>& nbChars,
0060 const occ::handle<NCollection_HArray1<double>>& widths,
0061 const occ::handle<NCollection_HArray1<double>>& heights,
0062 const occ::handle<NCollection_HArray1<int>>& fontCodes,
0063 const occ::handle<NCollection_HArray1<occ::handle<IGESGraph_TextFontDef>>>& fonts,
0064 const occ::handle<NCollection_HArray1<double>>& slants,
0065 const occ::handle<NCollection_HArray1<double>>& rotations,
0066 const occ::handle<NCollection_HArray1<int>>& mirrorFlags,
0067 const occ::handle<NCollection_HArray1<int>>& rotFlags,
0068 const occ::handle<NCollection_HArray1<gp_XYZ>>& start,
0069 const occ::handle<NCollection_HArray1<occ::handle<TCollection_HAsciiString>>>& texts);
0070
0071
0072
0073 Standard_EXPORT void SetFormNumber(const int form);
0074
0075
0076 Standard_EXPORT int NbStrings() const;
0077
0078
0079
0080 Standard_EXPORT int NbCharacters(const int Index) const;
0081
0082
0083
0084 Standard_EXPORT double BoxWidth(const int Index) const;
0085
0086
0087
0088 Standard_EXPORT double BoxHeight(const int Index) const;
0089
0090
0091
0092 Standard_EXPORT bool IsFontEntity(const int Index) const;
0093
0094
0095
0096
0097 Standard_EXPORT int FontCode(const int Index) const;
0098
0099
0100
0101
0102 Standard_EXPORT occ::handle<IGESGraph_TextFontDef> FontEntity(const int Index) const;
0103
0104
0105
0106
0107 Standard_EXPORT double SlantAngle(const int Index) const;
0108
0109
0110
0111 Standard_EXPORT double RotationAngle(const int Index) const;
0112
0113
0114
0115
0116
0117
0118 Standard_EXPORT int MirrorFlag(const int Index) const;
0119
0120
0121
0122
0123
0124 Standard_EXPORT int RotateFlag(const int Index) const;
0125
0126
0127
0128 Standard_EXPORT gp_Pnt StartPoint(const int Index) const;
0129
0130
0131
0132 Standard_EXPORT gp_Pnt TransformedStartPoint(const int Index) const;
0133
0134
0135
0136 Standard_EXPORT double ZDepthStartPoint(const int Index) const;
0137
0138
0139
0140 Standard_EXPORT occ::handle<TCollection_HAsciiString> Text(const int Index) const;
0141
0142 DEFINE_STANDARD_RTTIEXT(IGESDimen_GeneralNote, IGESData_IGESEntity)
0143
0144 private:
0145 occ::handle<NCollection_HArray1<int>> theNbChars;
0146 occ::handle<NCollection_HArray1<double>> theBoxWidths;
0147 occ::handle<NCollection_HArray1<double>> theBoxHeights;
0148 occ::handle<NCollection_HArray1<int>> theFontCodes;
0149 occ::handle<NCollection_HArray1<occ::handle<IGESGraph_TextFontDef>>> theFontEntities;
0150 occ::handle<NCollection_HArray1<double>> theSlantAngles;
0151 occ::handle<NCollection_HArray1<double>> theRotationAngles;
0152 occ::handle<NCollection_HArray1<int>> theMirrorFlags;
0153 occ::handle<NCollection_HArray1<int>> theRotateFlags;
0154 occ::handle<NCollection_HArray1<gp_XYZ>> theStartPoints;
0155 occ::handle<NCollection_HArray1<occ::handle<TCollection_HAsciiString>>> theTexts;
0156 };
0157
0158 #endif