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

ColorRGBA.h

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

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