vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AllCloudsUpdateCallBack Struct Reference

Structure containing camera data which is common for all of the clouds and overloaded callback method which is called once per frame. More...

#include <OSGCloudWrap.h>

Inheritance diagram for AllCloudsUpdateCallBack:

Public Member Functions

 AllCloudsUpdateCallBack ()
 
 AllCloudsUpdateCallBack (osg::ref_ptr< CloudDataType > data)
 
 AllCloudsUpdateCallBack (const AllCloudsUpdateCallBack &, const osg::CopyOp &)
 
 META_Object (osgCloud, AllCloudsUpdateCallBack) virtual void operator()(const osg
 
 Cloud::SetViewMatrix (camera.getViewMatrix())
 
g_Clouds Update (cloudData->getCameraPos(), cloudData->getCameraView(), cloudData->getCameraUp())
 

Public Attributes

osg::ref_ptr< CloudDataTypecloudData
 

Detailed Description

Structure containing camera data which is common for all of the clouds and overloaded callback method which is called once per frame.

Constructor & Destructor Documentation

AllCloudsUpdateCallBack::AllCloudsUpdateCallBack ( )
inline
AllCloudsUpdateCallBack::AllCloudsUpdateCallBack ( osg::ref_ptr< CloudDataType data)
inline
AllCloudsUpdateCallBack::AllCloudsUpdateCallBack ( const AllCloudsUpdateCallBack ,
const osg::CopyOp &   
)
inline

Member Function Documentation

AllCloudsUpdateCallBack::Cloud::SetViewMatrix ( camera.  getViewMatrix())
AllCloudsUpdateCallBack::META_Object ( osgCloud  ,
AllCloudsUpdateCallBack   
) const
inline
g_Clouds AllCloudsUpdateCallBack::Update ( cloudData->  getCameraPos(),
cloudData->  getCameraView(),
cloudData->  getCameraUp() 
)

Member Data Documentation

osg::ref_ptr<CloudDataType> AllCloudsUpdateCallBack::cloudData

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