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_NewGeneralNote_HeaderFile
0018 #define _IGESDimen_NewGeneralNote_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <Standard_Integer.hxx>
0024 #include <gp_XYZ.hxx>
0025 #include <TColStd_HArray1OfInteger.hxx>
0026 #include <TColStd_HArray1OfReal.hxx>
0027 #include <Interface_HArray1OfHAsciiString.hxx>
0028 #include <IGESData_HArray1OfIGESEntity.hxx>
0029 #include <TColgp_HArray1OfXYZ.hxx>
0030 #include <IGESData_IGESEntity.hxx>
0031 class gp_Pnt;
0032 class TCollection_HAsciiString;
0033
0034
0035 class IGESDimen_NewGeneralNote;
0036 DEFINE_STANDARD_HANDLE(IGESDimen_NewGeneralNote, IGESData_IGESEntity)
0037
0038
0039
0040
0041 class IGESDimen_NewGeneralNote : public IGESData_IGESEntity
0042 {
0043
0044 public:
0045
0046
0047 Standard_EXPORT IGESDimen_NewGeneralNote();
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067
0068
0069
0070
0071
0072
0073
0074
0075
0076
0077
0078
0079 Standard_EXPORT void Init (const Standard_Real width, const Standard_Real height, const Standard_Integer justifyCode, const gp_XYZ& areaLoc, const Standard_Real areaRotationAngle, const gp_XYZ& baseLinePos, const Standard_Real normalInterlineSpace, const Handle(TColStd_HArray1OfInteger)& charDisplays, const Handle(TColStd_HArray1OfReal)& charWidths, const Handle(TColStd_HArray1OfReal)& charHeights, const Handle(TColStd_HArray1OfReal)& interCharSpc, const Handle(TColStd_HArray1OfReal)& interLineSpc, const Handle(TColStd_HArray1OfInteger)& fontStyles, const Handle(TColStd_HArray1OfReal)& charAngles, const Handle(Interface_HArray1OfHAsciiString)& controlCodeStrings, const Handle(TColStd_HArray1OfInteger)& nbChars, const Handle(TColStd_HArray1OfReal)& boxWidths, const Handle(TColStd_HArray1OfReal)& boxHeights, const Handle(TColStd_HArray1OfInteger)& charSetCodes, const Handle(IGESData_HArray1OfIGESEntity)& charSetEntities, const Handle(TColStd_HArray1OfReal)& slAngles, const Handle(TColStd_HArray1OfReal)& rotAngles, const Handle(TColStd_HArray1OfInteger)& mirrorFlags, const Handle(TColStd_HArray1OfInteger)& rotateFlags, const Handle(TColgp_HArray1OfXYZ)& startPoints, const Handle(Interface_HArray1OfHAsciiString)& texts);
0080
0081
0082 Standard_EXPORT Standard_Real TextWidth() const;
0083
0084
0085 Standard_EXPORT Standard_Real TextHeight() const;
0086
0087
0088
0089
0090
0091
0092 Standard_EXPORT Standard_Integer JustifyCode() const;
0093
0094
0095 Standard_EXPORT gp_Pnt AreaLocation() const;
0096
0097
0098 Standard_EXPORT gp_Pnt TransformedAreaLocation() const;
0099
0100
0101 Standard_EXPORT Standard_Real ZDepthAreaLocation() const;
0102
0103
0104 Standard_EXPORT Standard_Real AreaRotationAngle() const;
0105
0106
0107 Standard_EXPORT gp_Pnt BaseLinePosition() const;
0108
0109
0110 Standard_EXPORT gp_Pnt TransformedBaseLinePosition() const;
0111
0112
0113 Standard_EXPORT Standard_Real ZDepthBaseLinePosition() const;
0114
0115
0116 Standard_EXPORT Standard_Real NormalInterlineSpace() const;
0117
0118
0119 Standard_EXPORT Standard_Integer NbStrings() const;
0120
0121
0122
0123
0124
0125 Standard_EXPORT Standard_Integer CharacterDisplay (const Standard_Integer Index) const;
0126
0127
0128
0129
0130 Standard_EXPORT Standard_Boolean IsVariable (const Standard_Integer Index) const;
0131
0132
0133
0134 Standard_EXPORT Standard_Real CharacterWidth (const Standard_Integer Index) const;
0135
0136
0137
0138 Standard_EXPORT Standard_Real CharacterHeight (const Standard_Integer Index) const;
0139
0140
0141
0142 Standard_EXPORT Standard_Real InterCharacterSpace (const Standard_Integer Index) const;
0143
0144
0145
0146 Standard_EXPORT Standard_Real InterlineSpace (const Standard_Integer Index) const;
0147
0148
0149
0150 Standard_EXPORT Standard_Integer FontStyle (const Standard_Integer Index) const;
0151
0152
0153
0154
0155 Standard_EXPORT Standard_Real CharacterAngle (const Standard_Integer Index) const;
0156
0157
0158
0159 Standard_EXPORT Handle(TCollection_HAsciiString) ControlCodeString (const Standard_Integer Index) const;
0160
0161
0162
0163 Standard_EXPORT Standard_Integer NbCharacters (const Standard_Integer Index) const;
0164
0165
0166
0167 Standard_EXPORT Standard_Real BoxWidth (const Standard_Integer Index) const;
0168
0169
0170
0171 Standard_EXPORT Standard_Real BoxHeight (const Standard_Integer Index) const;
0172
0173
0174
0175 Standard_EXPORT Standard_Boolean IsCharSetEntity (const Standard_Integer Index) const;
0176
0177
0178
0179
0180
0181
0182
0183
0184 Standard_EXPORT Standard_Integer CharSetCode (const Standard_Integer Index) const;
0185
0186
0187
0188
0189 Standard_EXPORT Handle(IGESData_IGESEntity) CharSetEntity (const Standard_Integer Index) const;
0190
0191
0192
0193
0194 Standard_EXPORT Standard_Real SlantAngle (const Standard_Integer Index) const;
0195
0196
0197
0198 Standard_EXPORT Standard_Real RotationAngle (const Standard_Integer Index) const;
0199
0200
0201
0202
0203
0204
0205 Standard_EXPORT Standard_Integer MirrorFlag (const Standard_Integer Index) const;
0206
0207
0208
0209
0210 Standard_EXPORT Standard_Boolean IsMirrored (const Standard_Integer Index) const;
0211
0212
0213
0214
0215
0216 Standard_EXPORT Standard_Integer RotateFlag (const Standard_Integer Index) const;
0217
0218
0219
0220 Standard_EXPORT gp_Pnt StartPoint (const Standard_Integer Index) const;
0221
0222
0223
0224 Standard_EXPORT gp_Pnt TransformedStartPoint (const Standard_Integer Index) const;
0225
0226
0227
0228 Standard_EXPORT Standard_Real ZDepthStartPoint (const Standard_Integer Index) const;
0229
0230
0231
0232 Standard_EXPORT Handle(TCollection_HAsciiString) Text (const Standard_Integer Index) const;
0233
0234
0235
0236
0237 DEFINE_STANDARD_RTTIEXT(IGESDimen_NewGeneralNote,IGESData_IGESEntity)
0238
0239 protected:
0240
0241
0242
0243
0244 private:
0245
0246
0247 Standard_Real theWidth;
0248 Standard_Real theHeight;
0249 Standard_Integer theJustifyCode;
0250 gp_XYZ theAreaLoc;
0251 Standard_Real theAreaRotationAngle;
0252 gp_XYZ theBaseLinePos;
0253 Standard_Real theNormalInterlineSpace;
0254 Handle(TColStd_HArray1OfInteger) theCharDisplays;
0255 Handle(TColStd_HArray1OfReal) theCharWidths;
0256 Handle(TColStd_HArray1OfReal) theCharHeights;
0257 Handle(TColStd_HArray1OfReal) theInterCharSpaces;
0258 Handle(TColStd_HArray1OfReal) theInterlineSpaces;
0259 Handle(TColStd_HArray1OfInteger) theFontStyles;
0260 Handle(TColStd_HArray1OfReal) theCharAngles;
0261 Handle(Interface_HArray1OfHAsciiString) theControlCodeStrings;
0262 Handle(TColStd_HArray1OfInteger) theNbChars;
0263 Handle(TColStd_HArray1OfReal) theBoxWidths;
0264 Handle(TColStd_HArray1OfReal) theBoxHeights;
0265 Handle(TColStd_HArray1OfInteger) theCharSetCodes;
0266 Handle(IGESData_HArray1OfIGESEntity) theCharSetEntities;
0267 Handle(TColStd_HArray1OfReal) theSlantAngles;
0268 Handle(TColStd_HArray1OfReal) theRotationAngles;
0269 Handle(TColStd_HArray1OfInteger) theMirrorFlags;
0270 Handle(TColStd_HArray1OfInteger) theRotateFlags;
0271 Handle(TColgp_HArray1OfXYZ) theStartPoints;
0272 Handle(Interface_HArray1OfHAsciiString) theTexts;
0273
0274
0275 };
0276
0277
0278
0279
0280
0281
0282
0283 #endif