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

Inherited class from osg::Referenced. Stores information about the camera and can be referenced by osg::ref_ptr. More...

#include <OSGCloudWrap.h>

Inheritance diagram for CloudDataType:

Public Member Functions

void setCameraData (const osg::Vec3f &cameraPos, const osg::Vec3f &cameraView, const osg::Vec3f &cameraUp)
 
osg::Vec3f getCameraPos (void)
 
osg::Vec3f getCameraView (void)
 
osg::Vec3f getCameraUp (void)
 

Detailed Description

Inherited class from osg::Referenced. Stores information about the camera and can be referenced by osg::ref_ptr.

Member Function Documentation

osg::Vec3f CloudDataType::getCameraPos ( void  )
inline

Returns the position of the camera.

Returns
The position of the camera.
osg::Vec3f CloudDataType::getCameraUp ( void  )
inline

Returns the 'Up' direction of the camera.

Returns
The 'Up' direction of the camera.
osg::Vec3f CloudDataType::getCameraView ( void  )
inline

Returns the direction in which the camera is looking.

Returns
The direction in which the camera is looking.
void CloudDataType::setCameraData ( const osg::Vec3f &  cameraPos,
const osg::Vec3f &  cameraView,
const osg::Vec3f &  cameraUp 
)
inline

Updates the information about the camera on the new values given by parameters.

Parameters
[in]cameraPosPosition of the camera.
[in]cameraViewDirection in which the camera is looking.
[in]cameraUpThe 'Up' direction of the camera.

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