OpenWalnut  1.5.0dev
Public Member Functions | Public Attributes | List of all members
WGETextureHud::SafeUpdateCallback Class Reference

Callback which aligns and renders the textures. More...

+ Inheritance diagram for WGETextureHud::SafeUpdateCallback:
+ Collaboration diagram for WGETextureHud::SafeUpdateCallback:

Public Member Functions

 SafeUpdateCallback (WGETextureHud *hud)
 Constructor. More...
 
virtual void operator() (osg::Node *node, osg::NodeVisitor *nv)
 operator () - called during the update traversal. More...
 

Public Attributes

WGETextureHudm_hud
 Pointer used to access members of the hud. More...
 

Detailed Description

Callback which aligns and renders the textures.

Definition at line 237 of file WGETextureHud.h.

Constructor & Destructor Documentation

◆ SafeUpdateCallback()

WGETextureHud::SafeUpdateCallback::SafeUpdateCallback ( WGETextureHud hud)
inlineexplicit

Constructor.

Parameters
hudjust set the creating HUD as pointer for later reference.

Definition at line 245 of file WGETextureHud.h.

Member Function Documentation

◆ operator()()

void WGETextureHud::SafeUpdateCallback::operator() ( osg::Node *  node,
osg::NodeVisitor *  nv 
)
virtual

Member Data Documentation

◆ m_hud

WGETextureHud* WGETextureHud::SafeUpdateCallback::m_hud

Pointer used to access members of the hud.

This is faster than casting the first parameter of operator() to WGETextureHud.

Definition at line 260 of file WGETextureHud.h.

Referenced by operator()().


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