TODO(ebaum): write. More...
#include <WGEPropertyTransformationCallback.h>
Public Member Functions | |
WGEPropertyTransformationCallback (WPropMatrix4X4 prop) | |
Default constructor. | |
virtual | ~WGEPropertyTransformationCallback () |
Destructor. | |
virtual void | operator() (typename WGECallbackTraits< ParentType >::HandledType *handled, osg::NodeVisitor *nv) |
This operator gets called by OSG every update cycle. | |
Private Attributes | |
WPropMatrix4X4 | m_prop |
The property controlling the callback. |
TODO(ebaum): write.
Definition at line 41 of file WGEPropertyTransformationCallback.h.
WGEPropertyTransformationCallback< ParentType, TargetType >::WGEPropertyTransformationCallback | ( | WPropMatrix4X4 | prop | ) | [explicit] |
Default constructor.
prop | the property holding the matrix to use. |
Definition at line 76 of file WGEPropertyTransformationCallback.h.
WGEPropertyTransformationCallback< ParentType, TargetType >::~WGEPropertyTransformationCallback | ( | ) | [virtual] |
Destructor.
Definition at line 84 of file WGEPropertyTransformationCallback.h.
void WGEPropertyTransformationCallback< ParentType, TargetType >::operator() | ( | typename WGECallbackTraits< ParentType >::HandledType * | handled, | |
osg::NodeVisitor * | nv | |||
) | [virtual] |
This operator gets called by OSG every update cycle.
It calls the specified functor.
handled | the osg node, stateset or whatever | |
nv | the node visitor |
Definition at line 90 of file WGEPropertyTransformationCallback.h.
References WGEPropertyTransformationCallback< ParentType, TargetType >::m_prop.
WPropMatrix4X4 WGEPropertyTransformationCallback< ParentType, TargetType >::m_prop [private] |
The property controlling the callback.
Definition at line 72 of file WGEPropertyTransformationCallback.h.
Referenced by WGEPropertyTransformationCallback< ParentType, TargetType >::operator()().