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

ImageTexture.h

Go to the documentation of this file.
00001 
00002 
00003 
00005 
00006 
00011 
00016 
00021 //                            ImageTexture.h                                  //
00023 
00024 #ifndef IMAGETEXTURE_H
00025 #define IMAGETEXTURE_H
00026 
00027 #include "X3DTexture2DNode.h"
00028 
00029 namespace X3DTK {
00030 namespace X3D {
00031 
00036 
00037 class ImageTexture : public X3DTexture2DNode
00038 {
00039 public:  
00041   ImageTexture();
00043   virtual SFNode clone() const;
00045   virtual ~ImageTexture();
00046   
00048   void setUrl(const MFString &url);
00049 
00051   inline const MFString &getUrl() const {return _url;};
00052     
00054   virtual void load(const X3DFileElement *element);
00056   virtual SFString write() const;
00057 
00058 protected:  
00060   ImageTexture(const ImageTexture &N);
00061 
00062 private:  
00064   MFString _url;  
00065 };
00066 
00067 }
00068 }
00069 
00070 #endif

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