Umasoft
Main Page
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
VTBuilder
UtilityLayer.h
1
//
2
// UtilityLayer.h
3
//
4
// Copyright (c) 2001-2008 Virtual Terrain Project
5
// Free for all uses, see license.txt for details.
6
//
7
8
#ifndef UTILITYLAYER_H
9
#define UTILITYLAYER_H
10
11
#include "Layer.h"
12
#include "vtdata/UtilityMap.h"
13
15
16
class
vtUtilityLayer
:
public
vtLayer
,
public
vtUtilityMap
17
{
18
public
:
19
vtUtilityLayer
();
20
21
bool
GetExtent
(
DRECT
&rect);
22
void
DrawLayer(wxDC *pDC,
vtScaledView
*pView);
23
bool
TransformCoords
(
vtProjection
&proj);
24
bool
OnSave(
bool
progress_callback(
int
) = NULL);
25
bool
OnLoad();
26
void
GetProjection
(
vtProjection
&proj);
27
void
SetProjection
(
const
vtProjection
&proj);
28
bool
AppendDataFrom
(
vtLayer
*pL);
29
void
Offset(
DPoint2
p);
30
31
void
DeselectAll();
32
void
InvertSelection();
33
34
protected
:
35
void
DrawPole(wxDC *pDC,
vtScaledView
*pView,
vtPole
*pole);
36
37
int
m_size;
38
};
39
40
#endif
41
Generated on Fri Jun 7 2013 16:07:50 for Umasoft by
1.8.4