VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vantageTerrainImplementation
osgEarthCommands.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2011 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vantageTerrainImplementation/terrainEngineCommand.h
"
12
#include "
vantageTerrainImplementation/osgEarthTerrainSourcePager.h
"
13
14
class
DtPageInTilesCommand
:
public
DtTerrainPagerSpecificCommand
<DtOsgEarthTerrainSourcePager>
15
{
16
public
:
17
DtPageInTilesCommand
(
DtPagingMetaDataPtr
metaData
);
18
virtual
~DtPageInTilesCommand
();
19
20
virtual
void
execute
(
DtOsgEarthTerrainSourcePager
* terrainPager);
21
23
virtual
const
int
type
()
const
;
24
25
virtual
void
setTilesToAdd
(
const
DtTileKeyList
tilesToAdd);
26
27
static
DtTerrainPagerCommand
*
create
(
DtPagingMetaDataPtr
metaData);
28
29
protected
:
30
DtTileKeyList
myTilesToAdd
;
31
};
32
33
class
DtPageOutTilesCommand
:
public
DtTerrainPagerSpecificCommand
<DtOsgEarthTerrainSourcePager>
34
{
35
public
:
36
DtPageOutTilesCommand
(
DtPagingMetaDataPtr
metaData
);
37
virtual
~DtPageOutTilesCommand
();
38
39
virtual
void
execute
(
DtOsgEarthTerrainSourcePager
* terrainPager);
40
42
virtual
const
int
type
()
const
;
43
44
virtual
void
setTilesToRemove
(
const
DtTileKeyList
tilesToRemove);
45
46
static
DtTerrainPagerCommand
*
create
(
DtPagingMetaDataPtr
metaData);
47
48
protected
:
49
DtTileKeyList
myTilesToRemove
;
50
};
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)