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

ColorRGBA.h

Go to the documentation of this file.
00001 
00002 
00003 
00005 
00006 
00011 
00016 
00021 //                            ColorRGBA.h                                     //
00023 
00024 #ifndef COLORRGBA_H
00025 #define COLORRGBA_H
00026 
00027 #include "X3DTypes.h"
00028 #include "X3DColorNode.h"
00029 
00030 namespace X3DTK {
00031 namespace X3D {
00032 
00037 
00038 class ColorRGBA : public X3DColorNode
00039 {
00040 public:
00042   ColorRGBA();
00044   ColorRGBA(const MFColorRGBA &color);
00046   virtual SFNode clone() const;
00048   virtual ~ColorRGBA();
00049   
00051   void setColor(const MFColorRGBA &color);
00052   
00054   inline const MFColorRGBA &getColor() const {return _color;};
00055   
00057   virtual void load(const X3DFileElement *element);
00059   virtual SFString write() const;
00060   
00061 protected:
00063   ColorRGBA(const ColorRGBA &C);
00064 
00065 private:  
00067   MFColorRGBA _color;  
00068 };
00069 
00070 }
00071 }
00072 
00073 #endif

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