00001 // HSoccerModel.h : interface of the HSoccerModel.cpp class, derived from HBaseModel 00002 // Adds application-specific data and members for each model 00003 00004 #ifndef _HSoccerModel_H 00005 #define _HSoccerModel_H 00006 00007 #include "HDB.h" 00008 #include "HBaseModel.h" 00009 #include "HTools.h" 00010 #include "HUtilityGeometryCreation.h" 00011 00012 00013 class HSoccerModel : public HBaseModel 00014 { 00015 public: 00016 00017 HSoccerModel(); 00018 ~HSoccerModel(); 00019 00020 void Init(); 00021 00023 static void InsertFilledRectangle (const char * seg, float x0, float y0, float x1, float y1); 00024 00025 // Overrides 00026 HFileInputResult Read(const char * FileName); 00027 bool Write(const char * FileName, HBaseView * pHView, int version, int width = 0, int height = 0); 00028 00030 void DeleteAllEntities(); 00031 00033 bool IsSolidModel(){ return m_bSolidModel; }; 00034 00036 struct vlist_s * GetLayerList(){return m_pLayers; }; 00037 00038 protected: 00039 00041 struct vlist_s *m_pLayers; 00042 00044 bool m_bSolidModel; 00045 00046 }; 00047 00048 #endif 00049 00050 00051 00052