File indexing completed on 2025-01-18 10:03:59
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 <TColStd_HArray1OfReal.hxx>
0024 #include <IGESGraph_HArray1OfTextFontDef.hxx>
0025 #include <TColgp_HArray1OfXYZ.hxx>
0026 #include <Interface_HArray1OfHAsciiString.hxx>
0027 #include <IGESData_IGESEntity.hxx>
0028 #include <Standard_Integer.hxx>
0029 class IGESGraph_TextFontDef;
0030 class gp_Pnt;
0031 class TCollection_HAsciiString;
0032
0033
0034 class IGESDimen_GeneralNote;
0035 DEFINE_STANDARD_HANDLE(IGESDimen_GeneralNote, IGESData_IGESEntity)
0036
0037
0038
0039
0040 class IGESDimen_GeneralNote : public IGESData_IGESEntity
0041 {
0042
0043 public:
0044
0045
0046 Standard_EXPORT IGESDimen_GeneralNote();
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063 Standard_EXPORT void Init (const Handle(TColStd_HArray1OfInteger)& nbChars, const Handle(TColStd_HArray1OfReal)& widths, const Handle(TColStd_HArray1OfReal)& heights, const Handle(TColStd_HArray1OfInteger)& fontCodes, const Handle(IGESGraph_HArray1OfTextFontDef)& fonts, const Handle(TColStd_HArray1OfReal)& slants, const Handle(TColStd_HArray1OfReal)& rotations, const Handle(TColStd_HArray1OfInteger)& mirrorFlags, const Handle(TColStd_HArray1OfInteger)& rotFlags, const Handle(TColgp_HArray1OfXYZ)& start, const Handle(Interface_HArray1OfHAsciiString)& texts);
0064
0065
0066
0067 Standard_EXPORT void SetFormNumber (const Standard_Integer form);
0068
0069
0070 Standard_EXPORT Standard_Integer NbStrings() const;
0071
0072
0073
0074 Standard_EXPORT Standard_Integer NbCharacters (const Standard_Integer Index) const;
0075
0076
0077
0078 Standard_EXPORT Standard_Real BoxWidth (const Standard_Integer Index) const;
0079
0080
0081
0082 Standard_EXPORT Standard_Real BoxHeight (const Standard_Integer Index) const;
0083
0084
0085
0086 Standard_EXPORT Standard_Boolean IsFontEntity (const Standard_Integer Index) const;
0087
0088
0089
0090
0091 Standard_EXPORT Standard_Integer FontCode (const Standard_Integer Index) const;
0092
0093
0094
0095
0096 Standard_EXPORT Handle(IGESGraph_TextFontDef) FontEntity (const Standard_Integer Index) const;
0097
0098
0099
0100
0101 Standard_EXPORT Standard_Real SlantAngle (const Standard_Integer Index) const;
0102
0103
0104
0105 Standard_EXPORT Standard_Real RotationAngle (const Standard_Integer Index) const;
0106
0107
0108
0109
0110
0111
0112 Standard_EXPORT Standard_Integer MirrorFlag (const Standard_Integer Index) const;
0113
0114
0115
0116
0117
0118 Standard_EXPORT Standard_Integer RotateFlag (const Standard_Integer Index) const;
0119
0120
0121
0122 Standard_EXPORT gp_Pnt StartPoint (const Standard_Integer Index) const;
0123
0124
0125
0126 Standard_EXPORT gp_Pnt TransformedStartPoint (const Standard_Integer Index) const;
0127
0128
0129
0130 Standard_EXPORT Standard_Real ZDepthStartPoint (const Standard_Integer Index) const;
0131
0132
0133
0134 Standard_EXPORT Handle(TCollection_HAsciiString) Text (const Standard_Integer Index) const;
0135
0136
0137
0138
0139 DEFINE_STANDARD_RTTIEXT(IGESDimen_GeneralNote,IGESData_IGESEntity)
0140
0141 protected:
0142
0143
0144
0145
0146 private:
0147
0148
0149 Handle(TColStd_HArray1OfInteger) theNbChars;
0150 Handle(TColStd_HArray1OfReal) theBoxWidths;
0151 Handle(TColStd_HArray1OfReal) theBoxHeights;
0152 Handle(TColStd_HArray1OfInteger) theFontCodes;
0153 Handle(IGESGraph_HArray1OfTextFontDef) theFontEntities;
0154 Handle(TColStd_HArray1OfReal) theSlantAngles;
0155 Handle(TColStd_HArray1OfReal) theRotationAngles;
0156 Handle(TColStd_HArray1OfInteger) theMirrorFlags;
0157 Handle(TColStd_HArray1OfInteger) theRotateFlags;
0158 Handle(TColgp_HArray1OfXYZ) theStartPoints;
0159 Handle(Interface_HArray1OfHAsciiString) theTexts;
0160
0161
0162 };
0163
0164
0165
0166
0167
0168
0169
0170 #endif