00001 #ifndef CUBOIDENTITY_H 00002 #define CUBOIDENTITY_H 00003 00012 #include "Entity.h" 00013 00020 class CuboidEntity : public Entity { 00021 public: 00022 00027 void deserialize (XMLNode *from ); 00028 00029 00030 private: 00031 Color reflectivity_; 00032 Color emission_; 00033 Color radiosity_; 00034 00039 void polygonize(); 00040 00041 private: 00042 void addQuad(Vertex vertex[4]); 00043 }; 00044 00045 #endif // CUBOIDENTITY_H