GLIMap.h

00001 //---------------------------------------------------------------------------
00002 // GLIMap
00003 //---------------------------------------------------------------------------
00004 #if !defined(GLIMap_H)
00005   #define GLIMap_H
00006 
00007 #include "GLIBase.h"
00008 
00009 class clSimManager;
00010 class clGridBase;
00011 class clTreePopulation;
00012 
00045 class clGLIMap : public clGLIBase {
00046 
00047   friend class clTestGLIMap; 
00049   public:
00050 
00056   clGLIMap(clSimManager *p_oSimManager);
00057 
00058  //~clGLIMap(); //use default destructor
00059 
00073   void GetData(xercesc::DOMDocument *p_oDoc);
00074 
00079   void Action();
00080 
00087   float CalcLightValue(clTree *p_oTree, clTreePopulation *p_oPop) {return 0;};
00088 
00089  protected:
00090 
00097   clGridBase *mp_oMapGrid;
00098 
00099   float m_fLightHeight;  
00101   float m_fMaxSearchDistance; 
00103   short int m_iGridGliCode;
00123   void ReadParameterFileData(xercesc::DOMDocument *p_oDoc);
00124 
00130   void SetUpBrightnessArray();
00131 
00137   void DoSetupCalculations();
00138 
00143   void SetUpGrid();
00144 
00145 };
00146 //---------------------------------------------------------------------------
00147 #endif // GLIMap_H

Generated on Thu Jan 26 13:44:33 2006 for SORTIE Core C++ Documentation by  doxygen 1.4.6-NO