00001 //--------------------------------------------------------------------------- 00002 // GLIPoints 00003 //--------------------------------------------------------------------------- 00004 #if !defined(GLIPoints_H) 00005 #define GLIPoints_H 00006 00007 #include "GLIBase.h" 00008 00009 class clSimManager; 00010 class clTreePopulation; 00011 00041 class clGLIPoints : public clGLIBase { 00042 00043 public: 00044 00050 clGLIPoints(clSimManager *p_oSimManager); 00051 00055 ~clGLIPoints(); 00056 00069 void GetData(xercesc::DOMDocument *p_oDoc); 00070 00075 void Action(); 00076 00083 float CalcLightValue(clTree *p_oTree, clTreePopulation *p_oPop) {return 0;}; 00084 00085 protected: 00086 00090 struct stcCoords {float fX; 00091 float fY; 00092 float fHeight; 00093 } *mp_pointsList; 00096 int m_iNumPoints; 00100 char m_cFileName[MAX_FILENAME_SIZE]; 00101 00122 void ReadParameterFileData(xercesc::DOMDocument *p_oDoc); 00123 00129 void SetUpBrightnessArray(); 00130 00135 void DoSetupCalculations(); 00136 00137 }; 00138 //--------------------------------------------------------------------------- 00139 #endif // GLIPoints_H