OpenSceneGraph
3.4.0
|
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 |
osgShadow::MinimalDrawBoundsShadowMap::CameraCullCallback::CameraCullCallback | ( | ViewData * | vd, |
osg::Callback * | nc | ||
) | [inline] |
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.
osg::ref_ptr< osg::Callback > osgShadow::MinimalDrawBoundsShadowMap::CameraCullCallback::_nc [protected] |
osg::observer_ptr< ViewData > osgShadow::MinimalDrawBoundsShadowMap::CameraCullCallback::_vd [protected] |
![]() | Generated at Tue Dec 8 2015 00:14:30 for the OpenSceneGraph by doxygen 1.7.6.1. |