VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtOsgEarthServerLogic Class Reference

Adds terrain patches to the scene. More...

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

Detailed Description

Adds terrain patches to the scene.

Constructor & Destructor Documentation

makVrv::DtOsgEarthServerLogic::DtOsgEarthServerLogic ( DtDe ig,
DtOsgEarthServerInterface iFace 
)

CTOR.

virtual makVrv::DtOsgEarthServerLogic::~DtOsgEarthServerLogic ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtOsgEarthServerLogic::setupInstances ( )
virtual

Initializes the list of available servers.

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

Sets myServerFileName then calls addTerrainPatch.

void makVrv::DtOsgEarthServerLogic::slot_addTerrainPatch ( bool  indirectEnabled)
protected

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

DtDe& makVrv::DtOsgEarthServerLogic::myIg
protected
DtOsgEarthServerInterface* makVrv::DtOsgEarthServerLogic::myInterface
protected
std::string makVrv::DtOsgEarthServerLogic::myServerFileName
protected
std::string makVrv::DtOsgEarthServerLogic::myCoordinateSystem
protected
std::string makVrv::DtOsgEarthServerLogic::myCoordinateSystemParams
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)