File indexing completed on 2024-11-15 09:49:23
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _Vrml_AsciiText_HeaderFile
0018 #define _Vrml_AsciiText_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <TColStd_HArray1OfAsciiString.hxx>
0024 #include <Vrml_AsciiTextJustification.hxx>
0025 #include <Standard_Transient.hxx>
0026 #include <Standard_OStream.hxx>
0027
0028
0029 class Vrml_AsciiText;
0030 DEFINE_STANDARD_HANDLE(Vrml_AsciiText, Standard_Transient)
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042 class Vrml_AsciiText : public Standard_Transient
0043 {
0044
0045 public:
0046
0047
0048 Standard_EXPORT Vrml_AsciiText();
0049
0050 Standard_EXPORT Vrml_AsciiText(const Handle(TColStd_HArray1OfAsciiString)& aString, const Standard_Real aSpacing, const Vrml_AsciiTextJustification aJustification, const Standard_Real aWidth);
0051
0052 Standard_EXPORT void SetString (const Handle(TColStd_HArray1OfAsciiString)& aString);
0053
0054 Standard_EXPORT Handle(TColStd_HArray1OfAsciiString) String() const;
0055
0056 Standard_EXPORT void SetSpacing (const Standard_Real aSpacing);
0057
0058 Standard_EXPORT Standard_Real Spacing() const;
0059
0060 Standard_EXPORT void SetJustification (const Vrml_AsciiTextJustification aJustification);
0061
0062 Standard_EXPORT Vrml_AsciiTextJustification Justification() const;
0063
0064 Standard_EXPORT void SetWidth (const Standard_Real aWidth);
0065
0066 Standard_EXPORT Standard_Real Width() const;
0067
0068 Standard_EXPORT Standard_OStream& Print (Standard_OStream& anOStream) const;
0069
0070
0071
0072
0073 DEFINE_STANDARD_RTTIEXT(Vrml_AsciiText,Standard_Transient)
0074
0075 protected:
0076
0077
0078
0079
0080 private:
0081
0082
0083 Handle(TColStd_HArray1OfAsciiString) myString;
0084 Standard_Real mySpacing;
0085 Vrml_AsciiTextJustification myJustification;
0086 Standard_Real myWidth;
0087
0088
0089 };
0090
0091
0092
0093
0094
0095
0096
0097 #endif