OpenWalnut
1.5.0dev
|
Nodes have their own callback type and provide a traverse method (as they can be nested). More...
#include <WGECallbackTraits.h>
Public Types | |
typedef osg::NodeCallback | CallbackType |
The real callback type. More... | |
typedef osg::Node | HandledType |
The type of the element used as parameter in the () operator. More... | |
Static Public Member Functions | |
static void | traverse (CallbackType *inst, HandledType *handled, osg::NodeVisitor *nv) |
Call traversal method if existing for the specific callback type. More... | |
Nodes have their own callback type and provide a traverse method (as they can be nested).
Definition at line 70 of file WGECallbackTraits.h.
typedef osg::NodeCallback WGECallbackTraits< osg::Node >::CallbackType |
The real callback type.
Some specific OSG classes have specific callbacks. Specialize this template in this case.
Definition at line 76 of file WGECallbackTraits.h.
typedef osg::Node WGECallbackTraits< osg::Node >::HandledType |
The type of the element used as parameter in the () operator.
Definition at line 81 of file WGECallbackTraits.h.
|
inlinestatic |
Call traversal method if existing for the specific callback type.
This calls osg::NodeCallback::traverse.
inst | the instance to use |
handled | the instance of the handled object |
nv | the node visitor |
Definition at line 90 of file WGECallbackTraits.h.