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

DtOsgLightPointInstaller is a data broker callback that will add light points to terrain patches as they come in from each layer (turn off point lights during the daytime). More...

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

Public Member Functions

 DtOsgEarthLightPointInstaller (DtDe &de, DtOsgTerrainPatchObject &patch)
 Constructor.
void onLayerLoaded (osgEarth::MapNode *mapNode, osgEarth::ModelLayer *layer)
 Invoked by the broker when the layer is first loaded.
void onDataLoaded (osgEarth::Map *map, osgEarth::ModelLayer *layer, osg::Node *data)
 Invoked by the broker when new data arrives.

Static Public Member Functions

static const charclassName ()
 Get the class name (used to register with the DtOsgEarthFeatureDataBroker.

Protected Member Functions

virtual ~DtOsgEarthLightPointInstaller ()
 virtual DTOR

Protected Attributes

DtDemyDe
DtOsgTerrainPatchObjectmyPatch

Static Protected Attributes

static const charmyClassName

Detailed Description

DtOsgLightPointInstaller is a data broker callback that will add light points to terrain patches as they come in from each layer (turn off point lights during the daytime).

Constructor & Destructor Documentation

makVrv::DtOsgEarthLightPointInstaller::DtOsgEarthLightPointInstaller ( DtDe de,
DtOsgTerrainPatchObject patch 
)

Constructor.

virtual makVrv::DtOsgEarthLightPointInstaller::~DtOsgEarthLightPointInstaller ( )
inlineprotectedvirtual

virtual DTOR

Member Function Documentation

void makVrv::DtOsgEarthLightPointInstaller::onLayerLoaded ( osgEarth::MapNode *  mapNode,
osgEarth::ModelLayer *  layer 
)
virtual

Invoked by the broker when the layer is first loaded.

Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.

void makVrv::DtOsgEarthLightPointInstaller::onDataLoaded ( osgEarth::Map *  map,
osgEarth::ModelLayer *  layer,
osg::Node *  data 
)
virtual

Invoked by the broker when new data arrives.

Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.

static const char* makVrv::DtOsgEarthLightPointInstaller::className ( )
static

Get the class name (used to register with the DtOsgEarthFeatureDataBroker.

Member Data Documentation

const char* makVrv::DtOsgEarthLightPointInstaller::myClassName
staticprotected
DtDe& makVrv::DtOsgEarthLightPointInstaller::myDe
protected
DtOsgTerrainPatchObject& makVrv::DtOsgEarthLightPointInstaller::myPatch
protected

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)