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

Color.h

Go to the documentation of this file.
00001 
00002 //                            Color.h                                         //
00004 
00005 #ifndef COLOR_H
00006 #define COLOR_H
00007 
00008 #include "X3DTypes.h"
00009 #include "X3DColorNode.h"
00010 
00011 namespace X3DTK {
00012 
00017 
00018 class Color : public X3DColorNode
00019 {
00020 public:
00022   Color();
00024   Color(const MFColor &color);
00026   virtual SFNode clone() const;
00028   ~Color();
00029   
00031   void setColor(const MFColor &color);
00032   
00034   inline MFColor &getColor() const {return (MFColor &)color_;}; 
00035   
00037   virtual void loadAttributes(const X3DFileElement *element);
00039   virtual SFString writeAttributes() const;
00040   
00041 protected:  
00043   Color(const Color &C);
00044   
00045 private:
00046   MFColor color_;  
00047 };
00048 
00049 }
00050 
00051 #endif

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