VR-Forces 4.6 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::DtStreamingSpeedTreeFeatureCallback Class Reference

DtStreamingSpeedTreeFeatureCallback is a data broker callback that will create speedtrees for an osgEarth-created feature layer subgraph. More...

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

Public Member Functions

virtual void onLayerLoaded (const osgEarth::MapNode *mapNode, const osgEarth::ModelLayer *layer)
virtual void onDataPreMerge (const osgEarth::Map *map, const osgEarth::ModelLayer *layer, osg::Node *newNode)
 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)
 This is run after the data has been added to the scene graph and runs in the main thread.
- 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 ()

Protected Member Functions

 DtStreamingSpeedTreeFeatureCallback (DtOsgTerrainPatchObject &patch, DtStreamingSpeedTreeForestManager &myForestManager)

Protected Attributes

DtStreamingSpeedTreeForestManagermyForestManager
DtOsgTerrainPatchObjectmyPatch

Static Protected Attributes

static const charmyClassName

Friends

class DtStreamingSpeedTreeFeatureCallbackCreator

Detailed Description

DtStreamingSpeedTreeFeatureCallback is a data broker callback that will create speedtrees for an osgEarth-created feature layer subgraph.

Constructor & Destructor Documentation

makVrv::DtStreamingSpeedTreeFeatureCallback::DtStreamingSpeedTreeFeatureCallback ( DtOsgTerrainPatchObject patch,
DtStreamingSpeedTreeForestManager myForestManager 
)
protected

Member Function Documentation

virtual void makVrv::DtStreamingSpeedTreeFeatureCallback::onLayerLoaded ( const osgEarth::MapNode *  mapNode,
const osgEarth::ModelLayer *  layer 
)
virtual
virtual void makVrv::DtStreamingSpeedTreeFeatureCallback::onDataPreMerge ( const osgEarth::Map *  map,
const osgEarth::ModelLayer *  layer,
osg::Node *  newNode 
)
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::DtStreamingSpeedTreeFeatureCallback::onDataLoaded ( const osgEarth::Map *  map,
const osgEarth::ModelLayer *  layer,
const osg::Node *  newData 
)
virtual

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

Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.

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

Friends And Related Function Documentation

Member Data Documentation

const char* makVrv::DtStreamingSpeedTreeFeatureCallback::myClassName
staticprotected
DtStreamingSpeedTreeForestManager& makVrv::DtStreamingSpeedTreeFeatureCallback::myForestManager
protected
DtOsgTerrainPatchObject& makVrv::DtStreamingSpeedTreeFeatureCallback::myPatch
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)