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

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 namespace X3D {
00013 
00018 
00019 class Color : public X3DColorNode
00020 {
00021 public:
00023   Color();
00025   Color(const MFColor &color);
00027   virtual SFNode clone() const;
00029   virtual ~Color();
00030   
00032   void setColor(const MFColor &color);
00033   
00035   inline const MFColor &getColor() const {return _color;}; 
00036   
00038   virtual void load(const X3DFileElement *element);
00040   virtual SFString write() const;
00041   
00042 protected:  
00044   Color(const Color &C);
00045 
00046 private:  
00048   MFColor _color;  
00049 };
00050 
00051 }
00052 }
00053 
00054 #endif

Generated on Tue Jul 15 16:46:51 2003 for X3DToolKit by doxygen1.3