OpenSceneGraph  3.4.0
Public Member Functions | Protected Attributes
osgShadow::MinimalDrawBoundsShadowMap::CameraCullCallback Struct Reference
Inheritance diagram for osgShadow::MinimalDrawBoundsShadowMap::CameraCullCallback:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CameraCullCallback (ViewData *vd, osg::Callback *nc)
virtual bool run (osg::Object *object, osg::Object *data)
 Invoke the callback, first parameter is the Object that the callback is attached to, the second parameter, the data, is typically the NodeVisitor that is invoking the callback.

Protected Attributes

osg::observer_ptr< ViewData_vd
osg::ref_ptr< osg::Callback_nc

Constructor & Destructor Documentation


Member Function Documentation

virtual bool osgShadow::MinimalDrawBoundsShadowMap::CameraCullCallback::run ( osg::Object object,
osg::Object data 
) [inline, virtual]

Invoke the callback, first parameter is the Object that the callback is attached to, the second parameter, the data, is typically the NodeVisitor that is invoking the callback.

The run(..) method may be overriden by users directly, or if the user is using one of the old style callbacks such as NodeCallback or Drawable::UpdateCallback then you can just override the appropriate callback method on those callback subclasses. If you are implementing your own callback then one should call traverse() to make sure nested callbacks and visitor traversal() is completed.

Reimplemented from osg::Callback.


Member Data Documentation


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

osg logo
Generated at Tue Dec 8 2015 00:16:49 for the OpenSceneGraph by doxygen 1.7.6.1.