All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
opencover::coVRSceneView Class Reference

#include <coVRSceneView.h>

Inheritance diagram for opencover::coVRSceneView:
Inheritance graph
Collaboration diagram for opencover::coVRSceneView:
Collaboration graph

Public Member Functions

 coVRSceneView (osg::DisplaySettings *ds=NULL, int channel=0)
void createUniforms (osg::StateSet *stateset)

Static Public Attributes

static osg::Uniform * coEnvCorrectMatrixUniform
static osg::Uniform * coInvEnvCorrectMatrixUniform

Protected Member Functions

virtual ~coVRSceneView ()
virtual bool cullStage (const osg::Matrixd &projection, const osg::Matrixd &modelview, osgUtil::CullVisitor *cullVisitor, osgUtil::StateGraph *stategraph, osgUtil::RenderStage *renderStage, osg::Viewport *viewport)

Protected Attributes

int screen

Detailed Description

coVRSceneView is literally a view of a scene, encapsulating the camera (modelview+projection matrices), global state, lights and the scene itself. Provides methods for setting up the view and rendering it.

Constructor & Destructor Documentation

opencover::coVRSceneView::coVRSceneView ( osg::DisplaySettings *  ds = NULL,
int  channel = 0 

Construct a default scene view.

virtual opencover::coVRSceneView::~coVRSceneView ( )

Member Function Documentation

void opencover::coVRSceneView::createUniforms ( osg::StateSet *  stateset)
virtual bool opencover::coVRSceneView::cullStage ( const osg::Matrixd &  projection,
const osg::Matrixd &  modelview,
osgUtil::CullVisitor *  cullVisitor,
osgUtil::StateGraph *  stategraph,
osgUtil::RenderStage *  renderStage,
osg::Viewport *  viewport 

Do cull traversal of attached scene graph using Cull NodeVisitor.

Member Data Documentation

osg::Uniform* opencover::coVRSceneView::coEnvCorrectMatrixUniform
osg::Uniform* opencover::coVRSceneView::coInvEnvCorrectMatrixUniform
int opencover::coVRSceneView::screen

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