Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

X3DTexture2DNode.h

Go to the documentation of this file.
00001 
00002 
00003 
00005 
00006 
00011 
00016 
00021 //                            X3DTexture2DNode.h                              //
00023 
00024 #ifndef X3DTEXTURE2DNODE_H
00025 #define X3DTEXTURE2DNODE_H
00026 
00027 #include "X3DTextureNode.h"
00028 
00029 namespace X3DTK {
00030 namespace X3D {
00031 
00036 
00037 class X3DTexture2DNode : public X3DTextureNode
00038 { 
00039 public:  
00041   X3DTexture2DNode();
00043   virtual SFNode clone() const;
00045   virtual ~X3DTexture2DNode();
00046   
00048   void setRepeatS(SFBool repeatS);
00050   void setRepeatT(SFBool repeatT);
00051  
00053   inline SFBool getRepeatS() {return _repeatS;};
00055   inline SFBool getRepeatT() {return _repeatT;};
00056   
00058   virtual void load(const X3DFileElement *element);
00060   virtual SFString write() const;
00061   
00062 protected:
00064   X3DTexture2DNode(const X3DTexture2DNode &N);
00065 
00066 private:
00067   SFBool _repeatS;
00068   SFBool _repeatT;  
00069 };
00070 
00071 }
00072 }
00073 
00074 #endif

Generated on Wed Sep 10 11:25:15 2003 for X3DToolKit by doxygen1.3