Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
AttribMap.h
1 //
2 // AttribMap.h
3 //
4 // Copyright (c) 2001 Virtual Terrain Project
5 // Free for all uses, see license.txt for details.
6 //
7 
8 #ifndef ATTRIBMAPH
9 #define ATTRIBMAPH
10 
11 #include "vtdata/vtDIB.h"
12 
14  uint rgb;
15  int attrib;
16 };
17 
23 class AttribMap : public vtDIB
24 {
25 public:
26  AttribMap();
27  ~AttribMap();
28 
29  bool Load(const char *fname_att, const char *fname_bmp);
30  int GetAttribute(float utm_x, float utm_y);
31 
32  int m_iNumAttribs;
33  int m_xmin, m_xmax, m_ymin, m_ymax;
34  AttribTableEntry *m_AttribTable;
35 };
36 
37 #endif // ATTRIBMAPH
38