00001
00002
00003 #ifndef _MATERIAL_H_
00004 #define _MATERIAL_H_
00005
00006 #include "Util.h"
00007 #define MAT_NUM_MATERIALS 3
00008
00009 namespace ns_vu1112112 {
00010 using namespace ns_vu1112112;
00011
00015 class Material
00016 {
00017 public:
00019 Material();
00021 virtual ~Material();
00022
00024 Material& operator=(const Material& mat);
00025
00027 void check_absorption();
00028
00030 ColourType absorption;
00031 ColourType scattering;
00032
00036 bool xray;
00037
00039 bool flat_absorption;
00041
00047 int low_th;
00048 int high_th;
00049 };
00050
00051 }
00052 #endif
00053