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

ImageTexture.h

Go to the documentation of this file.
00001 
00002 //                            ImageTexture.h                                  //
00004 
00005 #ifndef IMAGETEXTURE_H
00006 #define IMAGETEXTURE_H
00007 
00008 #include "X3DTexture2DNode.h"
00009 
00010 namespace X3DTK {
00011 
00016 
00017 class ImageTexture : public X3DTexture2DNode
00018 {
00019 public:  
00021   ImageTexture();
00023   virtual SFNode clone() const;
00025   ~ImageTexture();
00026   
00028   void setUrl(const MFString &url);
00029   
00031   inline MFString getUrl() const {return url_;};
00032   
00034   virtual void loadAttributes(const X3DFileElement *element);
00036   virtual SFString writeAttributes() const;
00037 
00038 protected:  
00040   ImageTexture(const ImageTexture &N);
00041   
00042 private:
00043   MFString url_;  
00044 };
00045 
00046 }
00047 
00048 #endif

Generated on Wed May 14 10:38:09 2003 for X3DToolKit by doxygen1.3