![]() |
VR-Forces 4.10 Class Documentation
|
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...

Public Member Functions | |
| virtual void | onLayerLoaded (const osgEarth::MapNode *mapNode, osgEarth::Layer *layer) override |
| Invoked by the broker when the layer is first loaded. More... | |
| virtual void | onDataPreMerge (const osgEarth::Layer *layer, osg::Node *data) override |
| 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::Layer *layer, const osg::Node *data) override |
| Invoked by the broker when new data arrives. More... | |
| virtual float | callbackOrder () override |
| Used to order the callbacks so that they can happen in the correct order. More... | |
| virtual const std::string & | instanceClassName () const override |
| Get the class type for this particular instance of the Callback derived class. More... | |
Public Member Functions inherited from makVrv::DtOsgEarthFeatureDataBroker::Callback | |
| virtual void | onLayerOpened (const osgEarth::MapNode *mapNode, osgEarth::Layer *layer) |
| Called when an osgEarth layer is opened. More... | |
| virtual void | onLayerClosed (const osgEarth::MapNode *mapNode, osgEarth::Layer *layer) |
| Called when an osgEarth layer is closed. More... | |
| virtual void | onDataUnloaded (const osgEarth::Layer *layer, const osg::Node *oldData) |
| DtIndirectFadeParameters | parseFadeParametersForLayer (const osgEarth::MapNode *mapNode, osgEarth::Layer *layer) |
| get the fade parameters for a particular layer. More... | |
Static Public Member Functions | |
| static bool | checkForIndirectRenderingParameter (const osgEarth::Layer *layer) |
| Used to determine whether this layer uses indirect rendering. More... | |
| 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 | |
| DtOsgLightPointManager & | myLightPointManager |
| LayerFadeParametersMap | myFadeParamtersMap |
| DtDe & | myDe |
Static Protected Attributes | |
| static const std::string | theClassName |
Private Member Functions | |
| DtOsgEarthLightPointInstaller (const DtOsgEarthLightPointInstaller &other)=delete | |
| Copy Constructor not implemented – Copy Not Allowed. More... | |
| DtOsgEarthLightPointInstaller & | operator= (const DtOsgEarthLightPointInstaller &other)=delete |
| 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) |
| check a layer to see if it is a model layer More... | |
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).
|
protected |
|
protected |
Constructor.
|
protectedvirtual |
virtual DTOR
|
privatedelete |
Copy Constructor not implemented – Copy Not Allowed.
|
privatedelete |
Assignment Operator Not implemented – Assignment Not Allowed.
|
overridevirtual |
Invoked by the broker when the layer is first loaded.
Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
overridevirtual |
Important: This is usually run in the background paging thread so all functions that this calls MUST be thread safe.
Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
overridevirtual |
Invoked by the broker when new data arrives.
Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
overridevirtual |
Used to order the callbacks so that they can happen in the correct order.
Reimplemented from makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
overridevirtual |
Get the class type for this particular instance of the Callback derived class.
Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
static |
Used to determine whether this layer uses indirect rendering.
|
static |
Get the class name (used to register with the DtOsgEarthFeatureDataBroker.
|
friend |
friend creator since it is the only thing that should create a DtOsgEarthLightPointInstaller
|
staticprotected |
|
protected |
|
protected |
|
protected |