File indexing completed on 2025-01-18 10:05:31
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _Vrml_Texture2Transform_HeaderFile
0018 #define _Vrml_Texture2Transform_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <gp_Vec2d.hxx>
0025 #include <Standard_OStream.hxx>
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042 class Vrml_Texture2Transform
0043 {
0044 public:
0045
0046 DEFINE_STANDARD_ALLOC
0047
0048
0049 Standard_EXPORT Vrml_Texture2Transform();
0050
0051 Standard_EXPORT Vrml_Texture2Transform(const gp_Vec2d& aTranslation, const Standard_Real aRotation, const gp_Vec2d& aScaleFactor, const gp_Vec2d& aCenter);
0052
0053 Standard_EXPORT void SetTranslation (const gp_Vec2d& aTranslation);
0054
0055 Standard_EXPORT gp_Vec2d Translation() const;
0056
0057 Standard_EXPORT void SetRotation (const Standard_Real aRotation);
0058
0059 Standard_EXPORT Standard_Real Rotation() const;
0060
0061 Standard_EXPORT void SetScaleFactor (const gp_Vec2d& aScaleFactor);
0062
0063 Standard_EXPORT gp_Vec2d ScaleFactor() const;
0064
0065 Standard_EXPORT void SetCenter (const gp_Vec2d& aCenter);
0066
0067 Standard_EXPORT gp_Vec2d Center() const;
0068
0069 Standard_EXPORT Standard_OStream& Print (Standard_OStream& anOStream) const;
0070
0071
0072
0073
0074 protected:
0075
0076
0077
0078
0079
0080 private:
0081
0082
0083
0084 gp_Vec2d myTranslation;
0085 Standard_Real myRotation;
0086 gp_Vec2d myScaleFactor;
0087 gp_Vec2d myCenter;
0088
0089
0090 };
0091
0092
0093
0094
0095
0096
0097
0098 #endif