VR-Forces 4.10 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 | Private Member Functions
makVrv::DtOsgEarthEffectTextureInstaller Class Reference

DtOsgEarthEffectTextureInstaller is a data broker callback that will install effect textures on an osgEarth-created feature layer subgraph. More...

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

Public Member Functions

virtual void onLayerLoaded (const osgEarth::MapNode *mapNode, osgEarth::Layer *layer) override
 called when an osgEarth layer is loaded. More...
 
virtual void onDataPreMerge (const osgEarth::Layer *layer, osg::Node *newNode) 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 *newNode) override
 This is run after the data has been added to the scene graph and runs in the main thread. More...
 
virtual float callbackOrder () override
 used to specify an order that the callbacks should run. 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 const std::string & className ()
 Get the class name (used to register with the DtOsgEarthFeatureDataBroker. More...
 

Protected Member Functions

 DtOsgEarthEffectTextureInstaller (DtDe &de)
 
virtual ~DtOsgEarthEffectTextureInstaller ()
 Destructor. More...
 

Protected Attributes

friend DtOsgEarthEffectTextureInstallerCreator
 friend creator since it is the only thing that should create a DtOsgEarthEffectTextureInstaller More...
 
DtDemyDe
 

Static Protected Attributes

static const std::string theClassName
 

Private Member Functions

 DtOsgEarthEffectTextureInstaller (const DtOsgEarthEffectTextureInstaller &other)=delete
 Copy Constructor not implemented – Copy Not Allowed. More...
 
DtOsgEarthEffectTextureInstalleroperator= (const DtOsgEarthEffectTextureInstaller &other)=delete
 Assignment Operator Not implemented – Assignment Not Allowed. 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...
 

Detailed Description

DtOsgEarthEffectTextureInstaller is a data broker callback that will install effect textures on an osgEarth-created feature layer subgraph.

Constructor & Destructor Documentation

makVrv::DtOsgEarthEffectTextureInstaller::DtOsgEarthEffectTextureInstaller ( DtDe de)
protected
virtual makVrv::DtOsgEarthEffectTextureInstaller::~DtOsgEarthEffectTextureInstaller ( )
protectedvirtual

Destructor.

makVrv::DtOsgEarthEffectTextureInstaller::DtOsgEarthEffectTextureInstaller ( const DtOsgEarthEffectTextureInstaller other)
privatedelete

Copy Constructor not implemented – Copy Not Allowed.

Member Function Documentation

DtOsgEarthEffectTextureInstaller& makVrv::DtOsgEarthEffectTextureInstaller::operator= ( const DtOsgEarthEffectTextureInstaller other)
privatedelete

Assignment Operator Not implemented – Assignment Not Allowed.

virtual void makVrv::DtOsgEarthEffectTextureInstaller::onLayerLoaded ( const osgEarth::MapNode *  mapNode,
osgEarth::Layer *  layer 
)
overridevirtual

called when an osgEarth layer is loaded.

Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.

virtual void makVrv::DtOsgEarthEffectTextureInstaller::onDataPreMerge ( const osgEarth::Layer *  layer,
osg::Node *  newNode 
)
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.

virtual void makVrv::DtOsgEarthEffectTextureInstaller::onDataLoaded ( const osgEarth::Layer *  layer,
const osg::Node *  newData 
)
overridevirtual

This is run after the data has been added to the scene graph and runs in the main thread.

Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.

virtual float makVrv::DtOsgEarthEffectTextureInstaller::callbackOrder ( )
overridevirtual

used to specify an order that the callbacks should run.

Should be 1.5; lower callbacks are run first. This needs to run just after the default callbacks but before the stremed feature callback

Reimplemented from makVrv::DtOsgEarthFeatureDataBroker::Callback.

virtual const std::string& makVrv::DtOsgEarthEffectTextureInstaller::instanceClassName ( ) const
overridevirtual

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

Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.

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

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

Member Data Documentation

friend makVrv::DtOsgEarthEffectTextureInstaller::DtOsgEarthEffectTextureInstallerCreator
protected

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

const std::string makVrv::DtOsgEarthEffectTextureInstaller::theClassName
staticprotected
DtDe& makVrv::DtOsgEarthEffectTextureInstaller::myDe
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)