VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvOsgEarthQt
DtOsgEarthServerLogic.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtOsgEarthServerLogic.h,v $ $Revision: 1.5 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
#include <
vrvOsgEarthQt/vrvOsgEarthQt.h
>
15
#include <
vrvCore/DtDe.h
>
16
17
namespace
makVrv
18
{
19
class
DtOsgEarthServerInterface;
20
23
class
DT_DLL_VRVOSGEARTHQT
DtOsgEarthServerLogic
24
{
25
26
public
:
27
29
DtOsgEarthServerLogic
(
DtDe
& ig,
DtOsgEarthServerInterface
* iFace);
30
32
~
DtOsgEarthServerLogic
();
33
35
virtual
void
setupInstances();
36
38
void
addTerrainPatch(
const
std::string& serverName);
39
40
protected
:
41
43
void
addTerrainPatch();
44
46
void
onCurrentServerChanged(
const
std::string& filename);
47
49
void
onServerRenamed(
const
std::string& oldname,
const
std::string& newname);
50
52
void
onServerAdded(
const
std::string& name);
53
55
void
onServerUpdated(
const
std::string& name);
56
58
void
onServerDeleted(
const
std::string& name);
59
60
protected
:
61
62
DtDe
&
myIg
;
63
DtOsgEarthServerInterface
*
myInterface
;
64
std::string
myServerFileName
;
65
std::string
myCoordinateSystem
;
66
std::string
myCoordinateSystemParams
;
67
68
};
69
}
70
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)