VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends
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

virtual void onLayerLoaded (const osgEarth::MapNode *mapNode, const osgEarth::ModelLayer *layer)
 Invoked by the broker when the layer is first loaded.
virtual void onDataPreMerge (const osgEarth::Map *map, const osgEarth::ModelLayer *layer, osg::Node *data)
 Important: This is usually run in the background paging thread so all functions that this calls MUST be thread safe.
virtual void onDataLoaded (const osgEarth::Map *map, const osgEarth::ModelLayer *layer, const osg::Node *data)
 Invoked by the broker when new data arrives.
- Public Member Functions inherited from makVrv::DtOsgEarthFeatureDataBroker::Callback
virtual void onDataUnloaded (const osgEarth::Map *map, const osgEarth::ModelLayer *layer, const osg::Node *oldData)

Static Public Member Functions

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

Protected Member Functions

 DtOsgEarthLightPointInstaller (DtDe &de)
 Constructor.
virtual ~DtOsgEarthLightPointInstaller ()
 virtual DTOR

Protected Attributes

DtOsgLightPointManagermyLightPointManager
DtDemyDe

Static Protected Attributes

static const charmyClassName

Friends

class DtOsgEarthLightPointInstallerCreator

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)
protected

Constructor.

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

virtual DTOR

Member Function Documentation

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

Invoked by the broker when the layer is first loaded.

Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.

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

Important: This is usually run in the background paging thread so all functions that this calls MUST be thread safe.

Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.

virtual void makVrv::DtOsgEarthLightPointInstaller::onDataLoaded ( const osgEarth::Map *  map,
const osgEarth::ModelLayer *  layer,
const 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.

Friends And Related Function Documentation

Member Data Documentation

const char* makVrv::DtOsgEarthLightPointInstaller::myClassName
staticprotected
DtOsgLightPointManager& makVrv::DtOsgEarthLightPointInstaller::myLightPointManager
protected
DtDe& makVrv::DtOsgEarthLightPointInstaller::myDe
protected

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)