OpenWalnut
1.2.5
|
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.
|
explicit |
Default constructor.
prop | the property holding the matrix to use. |
Definition at line 76 of file WGEPropertyTransformationCallback.h.
|
virtual |
Destructor.
Definition at line 84 of file WGEPropertyTransformationCallback.h.
|
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 WGECallbackTraits< Type >::traverse().
|
private |
The property controlling the callback.
Definition at line 72 of file WGEPropertyTransformationCallback.h.