Introduction

Getting Started

Programming Guides

API Reference

Additional Resources

HSoccerModel.h
Go to the documentation of this file.
1 // HSoccerModel.h : interface of the HSoccerModel.cpp class, derived from HBaseModel
2 // Adds application-specific data and members for each model
3 
4 #ifndef _HSoccerModel_H
5 #define _HSoccerModel_H
6 
7 #include "HDB.h"
8 #include "HBaseModel.h"
9 #include "HTools.h"
10 #include "HUtilityGeometryCreation.h"
11 
12 
13 class HSoccerModel : public HBaseModel
14 {
15 public:
16 
17  HSoccerModel();
18  ~HSoccerModel();
19 
20  void Init();
21 
23  static void InsertFilledRectangle (const char * seg, float x0, float y0, float x1, float y1);
24 
25  // Overrides
26  HFileInputResult Read(const char * FileName);
27  bool Write(const char * FileName, HBaseView * pHView, int version, int width = 0, int height = 0);
28 
30  void DeleteAllEntities();
31 
33  bool IsSolidModel(){ return m_bSolidModel; };
34 
36  struct vlist_s * GetLayerList(){return m_pLayers; };
37 
38 protected:
39 
41  struct vlist_s *m_pLayers;
42 
45 
46 };
47 
48 #endif
49 
50 
51 
52 
Definition: HSoccerModel.h:13
struct vlist_s * GetLayerList()
Definition: HSoccerModel.h:36
struct vlist_s * m_pLayers
Definition: HSoccerModel.h:41
void DeleteAllEntities()
bool IsSolidModel()
Definition: HSoccerModel.h:33
HFileInputResult Read(const char *FileName)
static void InsertFilledRectangle(const char *seg, float x0, float y0, float x1, float y1)
bool m_bSolidModel
Definition: HSoccerModel.h:44
bool Write(const char *FileName, HBaseView *pHView, int version, int width=0, int height=0)