OpenWalnut
1.4.0
|
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 73 of file WGEPropertyTransformationCallback.h.
WGEPropertyTransformationCallback< ParentType, TargetType >::~WGEPropertyTransformationCallback | ( | ) | [virtual] |
Destructor.
Definition at line 81 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 87 of file WGEPropertyTransformationCallback.h.
References WGECallbackTraits< Type >::traverse().
WPropMatrix4X4 WGEPropertyTransformationCallback< ParentType, TargetType >::m_prop [private] |
The property controlling the callback.
Definition at line 69 of file WGEPropertyTransformationCallback.h.