File indexing completed on 2026-09-16 09:19:08
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef VrmlData_TextureTransform_HeaderFile
0017 #define VrmlData_TextureTransform_HeaderFile
0018
0019 #include <VrmlData_Node.hxx>
0020 #include <gp_XY.hxx>
0021
0022
0023
0024 class VrmlData_TextureTransform : public VrmlData_Node
0025 {
0026 public:
0027
0028
0029
0030
0031
0032 inline VrmlData_TextureTransform()
0033 : myRotation(0.0)
0034 {
0035 }
0036
0037
0038
0039
0040 inline VrmlData_TextureTransform(const VrmlData_Scene& theScene, const char* theName)
0041 : VrmlData_Node(theScene, theName),
0042 myRotation(0.)
0043 {
0044 }
0045
0046
0047
0048
0049 inline const gp_XY& Center() const { return myCenter; }
0050
0051
0052
0053
0054 inline double Rotation() const { return myRotation; }
0055
0056
0057
0058
0059 inline const gp_XY& Scale() const { return myScale; }
0060
0061
0062
0063
0064 inline const gp_XY& Translation() const { return myTranslation; }
0065
0066
0067
0068
0069 inline void SetCenter(const gp_XY& V) { myCenter = V; }
0070
0071
0072
0073
0074 inline void SetRotation(const double V) { myRotation = V; }
0075
0076
0077
0078
0079 inline void SetScale(const gp_XY& V) { myScale = V; }
0080
0081
0082
0083
0084 inline void SetTranslation(const gp_XY& V) { myTranslation = V; }
0085
0086 private:
0087
0088
0089 gp_XY myCenter;
0090 double myRotation;
0091 gp_XY myScale;
0092 gp_XY myTranslation;
0093
0094 public:
0095
0096 DEFINE_STANDARD_RTTI_INLINE(VrmlData_TextureTransform, VrmlData_Node)
0097 };
0098
0099
0100 #endif