OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
MWRender::Sun::SunFlashCallback Class Reference

SunFlashCallback handles fading/scaling of a node depending on occlusion query result. Must be attached as a cull callback. More...

Inheritance diagram for MWRender::Sun::SunFlashCallback:
Collaboration diagram for MWRender::Sun::SunFlashCallback:

Public Member Functions

 SunFlashCallback (osg::ref_ptr< osg::OcclusionQueryNode > oqnVisible, osg::ref_ptr< osg::OcclusionQueryNode > oqnTotal)
 
virtual void operator() (osg::Node *node, osg::NodeVisitor *nv)
 
void setGlareView (float value)
 
- Public Member Functions inherited from MWRender::Sun::OcclusionCallback
 OcclusionCallback (osg::ref_ptr< osg::OcclusionQueryNode > oqnVisible, osg::ref_ptr< osg::OcclusionQueryNode > oqnTotal)
 

Private Attributes

float mGlareView
 

Additional Inherited Members

- Protected Member Functions inherited from MWRender::Sun::OcclusionCallback
float getVisibleRatio (osg::Camera *camera)
 

Detailed Description

SunFlashCallback handles fading/scaling of a node depending on occlusion query result. Must be attached as a cull callback.

Constructor & Destructor Documentation

MWRender::Sun::SunFlashCallback::SunFlashCallback ( osg::ref_ptr< osg::OcclusionQueryNode >  oqnVisible,
osg::ref_ptr< osg::OcclusionQueryNode >  oqnTotal 
)
inline

Member Function Documentation

virtual void MWRender::Sun::SunFlashCallback::operator() ( osg::Node *  node,
osg::NodeVisitor *  nv 
)
inlinevirtual

Here is the call graph for this function:

void MWRender::Sun::SunFlashCallback::setGlareView ( float  value)
inline

Member Data Documentation

float MWRender::Sun::SunFlashCallback::mGlareView
private

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