00001 #ifndef X3DTK_X3D_COLOR_H 00002 #define X3DTK_X3D_COLOR_H 00003 00004 #include "X3DTypes.h" 00005 #include "X3D_X3DColorNode.h" 00006 00007 namespace X3DTK { 00008 namespace X3D { 00009 00018 class Color : public X3DColorNode 00019 { 00020 public: 00022 Color(); 00023 00025 void setColor(const MFColor &color); 00026 00028 inline const MFColor &getColor() const {return _color;}; 00029 00030 private: 00032 MFColor _color; 00033 }; 00034 00035 } 00036 } 00037 00038 #endif