OpenWalnut  1.5.0dev
Public Member Functions | Public Attributes | List of all members
WGEOffscreenTexturePass::TextureMatrixUpdateCallback Class Reference

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

+ Inheritance diagram for WGEOffscreenTexturePass::TextureMatrixUpdateCallback:
+ Collaboration diagram for WGEOffscreenTexturePass::TextureMatrixUpdateCallback:

Public Member Functions

 TextureMatrixUpdateCallback (WGEOffscreenTexturePass *pass)
 Constructor. More...
 
virtual void operator() (osg::Node *node, osg::NodeVisitor *nv)
 operator () - called during the update traversal. More...
 

Public Attributes

WGEOffscreenTexturePassm_pass
 The pass used in conjunction with this callback. More...
 

Detailed Description

Callback which aligns and renders the textures.

Definition at line 88 of file WGEOffscreenTexturePass.h.

Constructor & Destructor Documentation

◆ TextureMatrixUpdateCallback()

WGEOffscreenTexturePass::TextureMatrixUpdateCallback::TextureMatrixUpdateCallback ( WGEOffscreenTexturePass pass)
inlineexplicit

Constructor.

Parameters
passthe pass to which this callback is applied. Needed for accessing some mebers.

Definition at line 96 of file WGEOffscreenTexturePass.h.

Member Function Documentation

◆ operator()()

void WGEOffscreenTexturePass::TextureMatrixUpdateCallback::operator() ( osg::Node *  node,
osg::NodeVisitor *  nv 
)
virtual

operator () - called during the update traversal.

Parameters
nodethe osg node
nvthe node visitor

Definition at line 89 of file WGEOffscreenTexturePass.cpp.

References WGEOffscreenRenderPass::getTextureHeight(), WGEOffscreenRenderPass::getTextureWidth(), m_pass, and WGEOffscreenTexturePass::m_texMat.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_pass

WGEOffscreenTexturePass* WGEOffscreenTexturePass::TextureMatrixUpdateCallback::m_pass

The pass used in conjunction with this callback.

Definition at line 111 of file WGEOffscreenTexturePass.h.

Referenced by operator()().


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