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 | Private Member Functions | Friends
makVrv::DtIndirectGeometryCallback Class Reference

DtIndirectGeometryCallback is a data broker callback that routes feature tile load/unload callbacks to the DtIndirectGeometryManager, which in turn will handle the rendering of these features using indirect rendering. More...

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

Public Member Functions

virtual ~DtIndirectGeometryCallback ()
 DTOR.
virtual void onLayerLoaded (const osgEarth::MapNode *mapNode, const osgEarth::ModelLayer *layer)
 callbacks Will be called when osgEarth loads a new feature layer, and will in turn call DtIndirectGeometryManager's onLayerLoaded function
virtual void onDataPreMerge (const osgEarth::Map *map, const osgEarth::ModelLayer *layer, osg::Node *newData)
 Invoked by the broker from the pager thread before new data is added to the scenegraph.
virtual void onDataLoaded (const osgEarth::Map *map, const osgEarth::ModelLayer *layer, const osg::Node *newData)
 Will be called when osgEarth loads data for a layer.
virtual void onDataUnloaded (const osgEarth::Map *map, const osgEarth::ModelLayer *layer, const osg::Node *oldData)
 Will be called when data for a given layer is about to be deleted.

Static Public Member Functions

static const charclassName ()
 Get the class name ("indirectGeometryManager", which is used to register with the DtOsgEarthFeatureDataBroker)

Protected Member Functions

 DtIndirectGeometryCallback (DtDe &de, DtIndirectGeometryManager &manager)
 CTOR.

Protected Attributes

DtDemyDe
DtIndirectGeometryManagermyManager

Static Protected Attributes

static const charmyClassName

Private Member Functions

 DtIndirectGeometryCallback ()
 CTOR (unimplemented default CTOR)

Friends

class DtIndirectGeometryCallbackCreator

Detailed Description

DtIndirectGeometryCallback is a data broker callback that routes feature tile load/unload callbacks to the DtIndirectGeometryManager, which in turn will handle the rendering of these features using indirect rendering.

Constructor & Destructor Documentation

makVrv::DtIndirectGeometryCallback::DtIndirectGeometryCallback ( DtDe de,
DtIndirectGeometryManager manager 
)
protected

CTOR.

virtual makVrv::DtIndirectGeometryCallback::~DtIndirectGeometryCallback ( )
virtual

DTOR.

makVrv::DtIndirectGeometryCallback::DtIndirectGeometryCallback ( )
private

CTOR (unimplemented default CTOR)

Member Function Documentation

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

callbacks Will be called when osgEarth loads a new feature layer, and will in turn call DtIndirectGeometryManager's onLayerLoaded function

Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.

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

Invoked by the broker from the pager thread before new data is added to the scenegraph.

Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.

virtual void makVrv::DtIndirectGeometryCallback::onDataLoaded ( const osgEarth::Map *  map,
const osgEarth::ModelLayer *  layer,
const osg::Node *  newData 
)
virtual

Will be called when osgEarth loads data for a layer.

Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.

virtual void makVrv::DtIndirectGeometryCallback::onDataUnloaded ( const osgEarth::Map *  map,
const osgEarth::ModelLayer *  layer,
const osg::Node *  oldData 
)
virtual

Will be called when data for a given layer is about to be deleted.

Reimplemented from makVrv::DtOsgEarthFeatureDataBroker::Callback.

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

Get the class name ("indirectGeometryManager", which is used to register with the DtOsgEarthFeatureDataBroker)

Friends And Related Function Documentation

friend class DtIndirectGeometryCallbackCreator
friend

Member Data Documentation

const char* makVrv::DtIndirectGeometryCallback::myClassName
staticprotected
DtDe& makVrv::DtIndirectGeometryCallback::myDe
protected
DtIndirectGeometryManager& makVrv::DtIndirectGeometryCallback::myManager
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)