OpenWalnut  1.5.0dev
Public Member Functions | Private Attributes | List of all members
SplineSurfaceNodeCallback Class Reference

Adapter object for realizing callbacks of the node representing the isosurface in the osg. More...

#include <WMSplineSurface.h>

+ Inheritance diagram for SplineSurfaceNodeCallback:
+ Collaboration diagram for SplineSurfaceNodeCallback:

Public Member Functions

 SplineSurfaceNodeCallback (WMSplineSurface *module)
 Constructor of the callback adapter. More...
 
virtual void operator() (osg::Node *node, osg::NodeVisitor *nv)
 Function that is called by the osg and that call the function in the module. More...
 

Private Attributes

WMSplineSurfacem_module
 Pointer to the module to which the function that is called belongs to. More...
 

Detailed Description

Adapter object for realizing callbacks of the node representing the isosurface in the osg.

Definition at line 150 of file WMSplineSurface.h.

Constructor & Destructor Documentation

◆ SplineSurfaceNodeCallback()

SplineSurfaceNodeCallback::SplineSurfaceNodeCallback ( WMSplineSurface module)
inlineexplicit

Constructor of the callback adapter.

Parameters
moduleA function of this module will be called

Definition at line 170 of file WMSplineSurface.h.

Member Function Documentation

◆ operator()()

void SplineSurfaceNodeCallback::operator() ( osg::Node *  node,
osg::NodeVisitor *  nv 
)
inlinevirtual

Function that is called by the osg and that call the function in the module.

Parameters
nodeThe node we are called.
nvthe visitor calling us.

Definition at line 175 of file WMSplineSurface.h.

References m_module, and WMSplineSurface::updateGraphics().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_module

WMSplineSurface* SplineSurfaceNodeCallback::m_module
private

Pointer to the module to which the function that is called belongs to.

Definition at line 167 of file WMSplineSurface.h.

Referenced by operator()().


The documentation for this class was generated from the following file: