VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtOsgEarthServerLogic Class Reference

Adds terrain patches to the scene. More...

List of all members.

Public Member Functions

 DtOsgEarthServerLogic (DtDe &ig, DtOsgEarthServerInterface *iFace)
 CTOR.
 ~DtOsgEarthServerLogic ()
 DTOR.
virtual void setupInstances ()
 Initializes the list of available servers.
void addTerrainPatch (const std::string &serverName)
 Sets myServerFileName then calls addTerrainPatch.

Protected Member Functions

void addTerrainPatch ()
 Called when a user clicks "Connect" in the connect dialog.
void onCurrentServerChanged (const std::string &filename)
 Called when a user change the selected server in the connect dialog.
void onServerRenamed (const std::string &oldname, const std::string &newname)
 Called when a user rename a server.
void onServerAdded (const std::string &name)
 Called when a user add a server.
void onServerUpdated (const std::string &name)
 Called when a user add a server.
void onServerDeleted (const std::string &name)
 Called when a user delete a server.

Protected Attributes

DtDemyIg
DtOsgEarthServerInterfacemyInterface
std::string myServerFileName
std::string myCoordinateSystem
std::string myCoordinateSystemParams

Detailed Description

Adds terrain patches to the scene.


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

Initializes the list of available servers.

void makVrv::DtOsgEarthServerLogic::addTerrainPatch ( const std::string &  serverName)

Sets myServerFileName then calls addTerrainPatch.

Called when a user clicks "Connect" in the connect dialog.

void makVrv::DtOsgEarthServerLogic::onCurrentServerChanged ( const std::string &  filename) [protected]

Called when a user change the selected server in the connect dialog.

void makVrv::DtOsgEarthServerLogic::onServerRenamed ( const std::string &  oldname,
const std::string &  newname 
) [protected]

Called when a user rename a server.

void makVrv::DtOsgEarthServerLogic::onServerAdded ( const std::string &  name) [protected]

Called when a user add a server.

void makVrv::DtOsgEarthServerLogic::onServerUpdated ( const std::string &  name) [protected]

Called when a user add a server.

void makVrv::DtOsgEarthServerLogic::onServerDeleted ( const std::string &  name) [protected]

Called when a user delete a server.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)