X3D_X3DTextureTransform2DNode.h

Go to the documentation of this file.
00001 #ifndef X3DTK_X3D_X3DTEXTURETRANSFORM2DNODE_H
00002 #define X3DTK_X3D_X3DTEXTURETRANSFORM2DNODE_H
00003 
00004 #include "X3DTypes.h"
00005 #include "X3D_X3DTextureTransformNode.h"
00006 
00007 namespace X3DTK {
00008 namespace X3D {
00009 
00018 class X3DTextureTransform2DNode : public X3DTextureTransformNode
00019 {
00020 public:  
00022   X3DTextureTransform2DNode();
00024   virtual ~X3DTextureTransform2DNode();
00025   
00027   void setCenter(const SFVec2f &center);
00029   void setRotation(const SFFloat &rotation);
00031   void setScale(const SFVec2f &scale);
00033   void setTranslation(const SFVec2f &translation);
00034 
00036   inline const SFVec2f &getCenter() const {return _center;};
00038   inline const SFFloat &getRotation() const {return _rotation;};
00040   inline const SFVec2f &getScale() const {return _scale;};
00042   inline const SFVec2f &getTranslation() const {return _translation;};
00043 
00044 private:
00046   SFVec2f _center;
00048   SFFloat _rotation;
00050   SFVec2f _scale;
00052   SFVec2f _translation;
00053 };
00054 
00055 }
00056 }
00057 
00058 #endif

Generated on Fri Aug 27 13:16:23 2004 for X3DToolKit by doxygen 1.3.6