VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtOsgEarthPaperMapCallback Class Reference

DtTerrainEditorMapCallback.

The map callback used to track when and what layers are being added/removed. so we can update the DtOsgEarthPaperMapManager accordingly.

Inheritance diagram for makVrv::DtOsgEarthPaperMapCallback:
Inheritance graph
[legend]

Public Member Functions

 DtOsgEarthPaperMapCallback (DtOsgEarthPaperMapManager *manager)
 
virtual ~DtOsgEarthPaperMapCallback ()
 
virtual void onLayerAdded (osgEarth::Layer *layer, unsigned index)
 
virtual void onLayerRemoved (osgEarth::Layer *layer, unsigned index)
 

Protected Attributes

DtOsgEarthPaperMapManagermyManager
 

Constructor & Destructor Documentation

makVrv::DtOsgEarthPaperMapCallback::DtOsgEarthPaperMapCallback ( DtOsgEarthPaperMapManager manager)

CTOR.

Parameters
logicThe DtTerrainEditorLogic class.
virtual makVrv::DtOsgEarthPaperMapCallback::~DtOsgEarthPaperMapCallback ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtOsgEarthPaperMapCallback::onLayerAdded ( osgEarth::Layer *  layer,
unsigned  index 
)
virtual

The callback when a layer was added.

Parameters
layerThe new added layer.
indexThe index of the new layer.
virtual void makVrv::DtOsgEarthPaperMapCallback::onLayerRemoved ( osgEarth::Layer *  layer,
unsigned  index 
)
virtual

The callback when a layer was removed.

Parameters
layerThe removed layer.
indexThe index of the new layer.

Member Data Documentation

DtOsgEarthPaperMapManager* makVrv::DtOsgEarthPaperMapCallback::myManager
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)