OpenWalnut
1.2.5
|
Callback which aligns and renders the textures. More...
Public Member Functions | |
SafeUpdateCallback (WGETextureHud *hud) | |
Constructor. | |
virtual void | operator() (osg::Node *node, osg::NodeVisitor *nv) |
operator () - called during the update traversal. |
Public Attributes | |
WGETextureHud * | m_hud |
Pointer used to access members of the hud. |
Callback which aligns and renders the textures.
Definition at line 226 of file WGETextureHud.h.
|
inlineexplicit |
Constructor.
hud | just set the creating HUD as pointer for later reference. |
Definition at line 235 of file WGETextureHud.h.
|
virtual |
operator () - called during the update traversal.
node | the osg node |
nv | the node visitor |
Definition at line 61 of file WGETextureHud.cpp.
References WGETextureHud::getMaxElementWidth(), WGETextureHud::WGETextureHudEntry::getRealHeight(), WGETextureHud::WGETextureHudEntry::getRealWidth(), WGETextureHud::WGETextureHudEntry::getTextureMatrix(), WGETextureHud::m_coupleTexViewport, m_hud, and WGETextureHud::m_viewport.
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 250 of file WGETextureHud.h.
Referenced by operator()().