Umasoft
Main Page
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
TerrainSDK
vtlib
core
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
13
struct
AttribTableEntry
{
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
Generated on Fri Jun 7 2013 16:07:52 for Umasoft by
1.8.4