OpenSceneGraph  3.4.0
Public Member Functions
osg::CallbackObject Class Reference

Callback for attaching a script to a Node's via there UserDataContainer for the purpose of overriding class methods within scripts. More...

Inheritance diagram for osg::CallbackObject:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CallbackObject ()
 CallbackObject (const std::string &name)
 CallbackObject (const CallbackObject &co, const osg::CopyOp copyop=osg::CopyOp::SHALLOW_COPY)
 META_Object (osg, CallbackObject)
virtual CallbackObjectasCallbackObject ()
virtual const CallbackObjectasCallbackObject () const
bool run (osg::Object *object, osg::Object *data)
 override Callback::run() entry point to adapt to CallbackObject::run(..) method.
bool run (osg::Object *object) const
virtual bool run (osg::Object *object, osg::Parameters &inputParameters, osg::Parameters &outputParameters) const

Detailed Description

Callback for attaching a script to a Node's via there UserDataContainer for the purpose of overriding class methods within scripts.


Constructor & Destructor Documentation

osg::CallbackObject::CallbackObject ( const std::string &  name) [inline]

Member Function Documentation

virtual CallbackObject* osg::CallbackObject::asCallbackObject ( ) [inline, virtual]
virtual const CallbackObject* osg::CallbackObject::asCallbackObject ( ) const [inline, virtual]
bool osg::CallbackObject::run ( osg::Object object,
osg::Object data 
) [virtual]

override Callback::run() entry point to adapt to CallbackObject::run(..) method.

Reimplemented from osg::Callback.

Referenced by osgUtil::UpdateVisitor::apply(), osgGA::EventVisitor::apply(), and osg::runNamedCallbackObjects().

bool osg::CallbackObject::run ( osg::Object object) const [inline]
virtual bool osg::CallbackObject::run ( osg::Object object,
osg::Parameters inputParameters,
osg::Parameters outputParameters 
) const [virtual]

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

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