Umasoft
Main Page
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
VTBuilder
TransitLayer.h
1
//
2
// TransitLayer.h
3
//
4
// Copyright (c) 2001-2008 Virtual Terrain Project
5
// Free for all uses, see license.txt for details.
6
//
7
8
#ifndef TRANSITLAYER_H
9
#define TRANSITLAYER_H
10
11
#include "Layer.h"
12
14
15
class
vtTransitLayer
:
public
vtLayer
16
{
17
public
:
18
vtTransitLayer
();
19
~
vtTransitLayer
();
20
21
#if SUPPORT_TRANSIT
22
bool
GetExtent
(
DRECT
&rect);
23
void
DrawLayer(wxDC *pDC,
vtScaledView
*pView);
24
bool
TransformCoords
(
vtProjection
&proj);
25
bool
OnSave(
bool
progress_callback(
int
) = NULL);
26
bool
OnLoad();
27
bool
AppendDataFrom
(
vtLayer
*pL);
28
void
GetProjection
(
vtProjection
&proj);
29
void
Offset
(
const
DPoint2
&p);
30
31
protected
:
32
// data for rivers and water bodies
33
// eventually, should have vector+width data for rivers, area data for bodies
34
// for now, just use plain vectors for everything
35
vtProjection
m_proj;
36
37
void
KludgeRefPosApply(
bool
bForward);
38
39
void
drawSeg(wxDC *pDC,
vtScaledView
*pView,
double
x1,
double
y1,
double
x2,
double
y2);
40
#endif
41
};
42
43
#endif
Generated on Fri Jun 7 2013 16:07:50 for Umasoft by
1.8.4