OpenWalnut
1.5.0dev
|
TODO(ebaum): write. More...
#include <WGEPropertyTransformationCallback.h>
Public Member Functions | |
WGEPropertyTransformationCallback (WPropMatrix4X4 prop) | |
Default constructor. More... | |
virtual | ~WGEPropertyTransformationCallback () |
Destructor. More... | |
virtual void | operator() (typename WGECallbackTraits< ParentType >::HandledType *handled, osg::NodeVisitor *nv) |
This operator gets called by OSG every update cycle. More... | |
Private Attributes | |
WPropMatrix4X4 | m_prop |
The property controlling the callback. More... | |
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 73 of file WGEPropertyTransformationCallback.h.
|
virtual |
Destructor.
Definition at line 81 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 87 of file WGEPropertyTransformationCallback.h.
References WGECallbackTraits< Type >::traverse().
|
private |
The property controlling the callback.
Definition at line 69 of file WGEPropertyTransformationCallback.h.