OpenWalnut 1.2.5
Public Member Functions | Public Attributes

WGEOffscreenTexturePass::TextureMatrixUpdateCallback Class Reference

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

Inheritance diagram for WGEOffscreenTexturePass::TextureMatrixUpdateCallback:

List of all members.

Public Member Functions

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

Public Attributes

WGEOffscreenTexturePassm_pass
 The pass used in conjunction with this callback.

Detailed Description

Callback which aligns and renders the textures.

Definition at line 90 of file WGEOffscreenTexturePass.h.


Constructor & Destructor Documentation

WGEOffscreenTexturePass::TextureMatrixUpdateCallback::TextureMatrixUpdateCallback ( WGEOffscreenTexturePass pass) [inline, explicit]

Constructor.

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

Definition at line 99 of file WGEOffscreenTexturePass.h.


Member Function Documentation

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 83 of file WGEOffscreenTexturePass.cpp.

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


Member Data Documentation

The pass used in conjunction with this callback.

Definition at line 114 of file WGEOffscreenTexturePass.h.

Referenced by operator()().


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends