|
OpenWalnut
1.4.0
|
Callback which aligns and renders the textures. More...
Inheritance 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 | |
| WGETextureHud * | m_hud |
| Pointer used to access members of the hud. More... | |
Callback which aligns and renders the textures.
Definition at line 237 of file WGETextureHud.h.
|
inlineexplicit |
Constructor.
| hud | just set the creating HUD as pointer for later reference. |
Definition at line 245 of file WGETextureHud.h.
|
virtual |
operator () - called during the update traversal.
| node | the osg node |
| nv | the node visitor |
Definition at line 60 of file WGETextureHud.cpp.
References WGETextureHud::getMaxElementWidth(), WGETextureHud::WGETextureHudEntry::getRealHeight(), WGETextureHud::WGETextureHudEntry::getRealWidth(), WGETextureHud::WGETextureHudEntry::getTextureMatrix(), WGETextureHud::m_coupleTexViewport, m_hud, WGETextureHud::m_viewport, and WGETextureHud::WGETextureHudEntry::setMaxTextWidth().
| 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()().
1.8.7