OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Static 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
[legend]
Collaboration diagram for opencover::coVRSceneView:
Collaboration graph
[legend]

Public Member Functions

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

Static Public Member Functions

static void destroyUniforms ()
 

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 = -1 
)

Construct a default scene view.

virtual opencover::coVRSceneView::~coVRSceneView ( )
protectedvirtual

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 
)
protectedvirtual

Do cull traversal of attached scene graph using Cull NodeVisitor.

static void opencover::coVRSceneView::destroyUniforms ( )
static

Member Data Documentation

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

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