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 | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions | 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, osgEarth::Layer *layer)
 Invoked by the broker when the layer is first loaded. More...
 
virtual void onDataPreMerge (const osgEarth::Map *map, const osgEarth::Layer *layer, osg::Node *data)
 Important: This is usually run in the background paging thread so all functions that this calls MUST be thread safe. More...
 
virtual void onDataLoaded (const osgEarth::Map *map, const osgEarth::Layer *layer, const osg::Node *data)
 Invoked by the broker when new data arrives. More...
 
virtual float callbackOrder ()
 Used to order the callbacks so that they can happen in the correct order. More...
 
virtual const std::string & instanceClassName () const
 Get the class type for this particular instance of the Callback derrived class. More...
 
- Public Member Functions inherited from makVrv::DtOsgEarthFeatureDataBroker::Callback
virtual void onDataUnloaded (const osgEarth::Map *map, const osgEarth::Layer *layer, const osg::Node *oldData)
 
DtIndirectFadeParameters parseFadeParametersForLayer (const osgEarth::MapNode *mapNode, osgEarth::Layer *layer)
 

Static Public Member Functions

static const std::string & className ()
 Get the class name (used to register with the DtOsgEarthFeatureDataBroker. More...
 

Protected Types

typedef std::map< const
osgEarth::Layer
*, DtIndirectFadeParameters
LayerFadeParametersMap
 

Protected Member Functions

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

Protected Attributes

DtOsgLightPointManagermyLightPointManager
 
LayerFadeParametersMap myFadeParamtersMap
 
DtDemyDe
 

Static Protected Attributes

static const std::string theClassName
 

Private Member Functions

 DtOsgEarthLightPointInstaller (const DtOsgEarthLightPointInstaller &other)
 Copy Constructor not implemented – Copy Not Allowed. More...
 
DtOsgEarthLightPointInstalleroperator= (const DtOsgEarthLightPointInstaller &other)
 Assignment Operator Not implemented – Assignment Not Allowed. More...
 

Friends

class DtOsgEarthLightPointInstallerCreator
 friend creator since it is the only thing that should create a DtOsgEarthLightPointInstaller More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from makVrv::DtOsgEarthFeatureDataBroker::Callback
static bool isModelLayer (const osgEarth::Layer *layer)
 

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

Member Typedef Documentation

Constructor & Destructor Documentation

makVrv::DtOsgEarthLightPointInstaller::DtOsgEarthLightPointInstaller ( DtDe de)
protected

Constructor.

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

virtual DTOR

makVrv::DtOsgEarthLightPointInstaller::DtOsgEarthLightPointInstaller ( const DtOsgEarthLightPointInstaller other)
private

Copy Constructor not implemented – Copy Not Allowed.

Member Function Documentation

DtOsgEarthLightPointInstaller& makVrv::DtOsgEarthLightPointInstaller::operator= ( const DtOsgEarthLightPointInstaller other)
private

Assignment Operator Not implemented – Assignment Not Allowed.

virtual void makVrv::DtOsgEarthLightPointInstaller::onLayerLoaded ( const osgEarth::MapNode *  mapNode,
osgEarth::Layer *  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::Layer *  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::Layer *  layer,
const osg::Node *  data 
)
virtual

Invoked by the broker when new data arrives.

Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.

virtual float makVrv::DtOsgEarthLightPointInstaller::callbackOrder ( )
virtual

Used to order the callbacks so that they can happen in the correct order.

Reimplemented from makVrv::DtOsgEarthFeatureDataBroker::Callback.

virtual const std::string& makVrv::DtOsgEarthLightPointInstaller::instanceClassName ( ) const
virtual

Get the class type for this particular instance of the Callback derrived class.

Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.

static const std::string& makVrv::DtOsgEarthLightPointInstaller::className ( )
static

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

Friends And Related Function Documentation

friend creator since it is the only thing that should create a DtOsgEarthLightPointInstaller

Member Data Documentation

const std::string makVrv::DtOsgEarthLightPointInstaller::theClassName
staticprotected
DtOsgLightPointManager& makVrv::DtOsgEarthLightPointInstaller::myLightPointManager
protected
LayerFadeParametersMap makVrv::DtOsgEarthLightPointInstaller::myFadeParamtersMap
protected
DtDe& makVrv::DtOsgEarthLightPointInstaller::myDe
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)