00001 00002 // X3D_X3DTexture2DNode.h // 00004 00005 #ifndef X3DTEXTURE2DNODE_H 00006 #define X3DTEXTURE2DNODE_H 00007 00008 #include "X3D_X3DTextureNode.h" 00009 00010 namespace X3DTK { 00011 namespace X3D { 00012 00017 00018 class X3DTexture2DNode : public X3DTextureNode 00019 { 00020 public: 00022 X3DTexture2DNode(); 00024 virtual ~X3DTexture2DNode(); 00025 00027 void setRepeatS(const SFBool &repeatS); 00029 void setRepeatT(const SFBool &repeatT); 00030 00032 inline const SFBool &getRepeatS() {return _repeatS;}; 00034 inline const SFBool &getRepeatT() {return _repeatT;}; 00035 00037 virtual void load(const X3DFileElement *element); 00039 virtual SFString &write(SFString &output) const; 00040 00041 protected: 00043 X3DTexture2DNode(const X3DTexture2DNode &N); 00044 00045 private: 00046 SFBool _repeatS; 00047 SFBool _repeatT; 00048 }; 00049 00050 } 00051 } 00052 00053 #endif