OpenWalnut
1.5.0dev
|
Node callback to change the color of the shapes inside the root node. More...
Public Member Functions | |
SafeUpdateCallback (WMSurfaceParameterAnimator *module) | |
Constructor. More... | |
virtual void | operator() (osg::Node *node, osg::NodeVisitor *nv) |
operator () - called during the update traversal. More... | |
Public Attributes | |
WMSurfaceParameterAnimator * | m_module |
Pointer used to access members of the module to modify the node. More... | |
bool | m_initialUpdate |
Denotes whether the update callback is called the first time. More... | |
Node callback to change the color of the shapes inside the root node.
For more details on this class, refer to the documentation in moduleMain().
Definition at line 222 of file WMSurfaceParameterAnimator.h.
|
inlineexplicit |
Constructor.
module | just set the creating module as pointer for later reference. |
Definition at line 230 of file WMSurfaceParameterAnimator.h.
|
virtual |
operator () - called during the update traversal.
node | the osg node |
nv | the node visitor |
Definition at line 286 of file WMSurfaceParameterAnimator.cpp.
References m_initialUpdate, WMSurfaceParameterAnimator::m_isoColor, and m_module.
bool WMSurfaceParameterAnimator::SafeUpdateCallback::m_initialUpdate |
Denotes whether the update callback is called the first time.
Definition at line 250 of file WMSurfaceParameterAnimator.h.
Referenced by operator()().
WMSurfaceParameterAnimator* WMSurfaceParameterAnimator::SafeUpdateCallback::m_module |
Pointer used to access members of the module to modify the node.
Definition at line 245 of file WMSurfaceParameterAnimator.h.
Referenced by operator()().