00001 #ifndef X3DTK_X3D_X3DTEXTURE2DNODE_H 00002 #define X3DTK_X3D_X3DTEXTURE2DNODE_H 00003 00004 #include "X3D_X3DTextureNode.h" 00005 00006 namespace X3DTK { 00007 namespace X3D { 00008 00017 class X3DTexture2DNode : public X3DTextureNode 00018 { 00019 public: 00021 X3DTexture2DNode(); 00023 virtual ~X3DTexture2DNode(); 00024 00026 void setRepeatS(const SFBool &repeatS); 00028 void setRepeatT(const SFBool &repeatT); 00029 00031 inline const SFBool &getRepeatS() {return _repeatS;}; 00033 inline const SFBool &getRepeatT() {return _repeatT;}; 00034 00036 virtual void load(const X3DFileElement *element); 00038 virtual SFString &write(SFString &output) const; 00039 00040 protected: 00042 X3DTexture2DNode(const X3DTexture2DNode &N); 00043 00044 private: 00045 SFBool _repeatS; 00046 SFBool _repeatT; 00047 }; 00048 00049 } 00050 } 00051 00052 #endif