osgUtil::SceneView Class Reference

SceneView is deprecated, and is now just kept for backwards compatibility. More...

Inheritance diagram for osgUtil::SceneView:

Inheritance graph
[legend]
List of all members.

Public Types

typedef Options LightingMode
 NO_SCENEVIEW_LIGHT = 0x0
 HEADLIGHT = 0x1
 SKY_LIGHT = 0x2
 COMPILE_GLOBJECTS_AT_INIT = 0x4
 STANDARD_SETTINGS
 FRAME_NUMBER_UNIFORM = 1
 FRAME_TIME_UNIFORM = 2
 DELTA_FRAME_TIME_UNIFORM = 4
 SIMULATION_TIME_UNIFORM = 8
 DELTA_SIMULATION_TIME_UNIFORM = 16
 VIEW_MATRIX_UNIFORM = 32
 VIEW_MATRIX_INVERSE_UNIFORM = 64
 DEFAULT_UNIFORMS
 ALL_UNIFORMS = 0xFFFFFFFF
 USE_FUSION_DISTANCE_VALUE
 Use fusion distance from the value set on the SceneView.
 PROPORTIONAL_TO_SCREEN_DISTANCE
 Compute the fusion distance by multiplying the screen distance by the fusion distance value.
enum  Options {
  NO_SCENEVIEW_LIGHT = 0x0, HEADLIGHT = 0x1, SKY_LIGHT = 0x2, COMPILE_GLOBJECTS_AT_INIT = 0x4,
  STANDARD_SETTINGS
}
enum  ActiveUniforms {
  FRAME_NUMBER_UNIFORM = 1, FRAME_TIME_UNIFORM = 2, DELTA_FRAME_TIME_UNIFORM = 4, SIMULATION_TIME_UNIFORM = 8,
  DELTA_SIMULATION_TIME_UNIFORM = 16, VIEW_MATRIX_UNIFORM = 32, VIEW_MATRIX_INVERSE_UNIFORM = 64, DEFAULT_UNIFORMS,
  ALL_UNIFORMS = 0xFFFFFFFF
}
enum  FusionDistanceMode { USE_FUSION_DISTANCE_VALUE, PROPORTIONAL_TO_SCREEN_DISTANCE }
 FusionDistanceMode is used only when working in stereo. More...

Public Member Functions

 SceneView (osg::DisplaySettings *ds=NULL)
 Construct a default scene view.
 SceneView (const SceneView &sceneview, const osg::CopyOp &copyop=osg::CopyOp())
 META_Object (osgUtil, SceneView)
virtual void setDefaults ()
virtual void setDefaults (unsigned int options)
 Set scene view to use default global state, light, camera and render visitor.
void setCamera (osg::Camera *camera, bool assumeOwnershipOfCamera=true)
 Set the camera used to represent the camera view of this SceneView.
osg::CameragetCamera ()
 Get the camera used to represent the camera view of this SceneView.
const osg::CameragetCamera () const
 Get the const camera used to represent the camera view of this SceneView.
void setSceneData (osg::Node *node)
 Set the data to view.
osg::NodegetSceneData (unsigned int childNo=0)
 Get the scene data to view.
const osg::NodegetSceneData (unsigned int childNo=0) const
 Get the const scene data which to view.
unsigned int getNumSceneData () const
 Get the number of scene data subgraphs added to the SceneView's camera.
void setViewport (osg::Viewport *viewport)
 Set the viewport of the scene view to use specified osg::Viewport.
void setViewport (int x, int y, int width, int height)
 Set the viewport of the scene view to specified dimensions.
osg::ViewportgetViewport ()
 Get the viewport.
const osg::ViewportgetViewport () const
 Get the const viewport.
void setDisplaySettings (osg::DisplaySettings *vs)
 Set the DisplaySettings.
const osg::DisplaySettingsgetDisplaySettings () const
 Get the const DisplaySettings.
osg::DisplaySettingsgetDisplaySettings ()
 Get the DisplaySettings.
void setClearColor (const osg::Vec4 &color)
 Set the color used in glClearColor().
const osg::Vec4getClearColor () const
 Get the color used in glClearColor.
void setRedrawInterlacedStereoStencilMask (bool flag)
 Manually set the redraw interlaced stereo stencil mask request flag to control whether to redraw the stencil buffer on the next frame.
bool getRedrawInterlacedStereoStencilMask () const
 Get the redraw interlaced stereo stencil mask request flag.
void setGlobalStateSet (osg::StateSet *state)
osg::StateSetgetGlobalStateSet ()
const osg::StateSetgetGlobalStateSet () const
void setLocalStateSet (osg::StateSet *state)
osg::StateSetgetLocalStateSet ()
const osg::StateSetgetLocalStateSet () const
void setActiveUniforms (int activeUniforms)
 Set the uniforms that SceneView should set set up on each frame.
int getActiveUniforms () const
 Get the uniforms that SceneView should set set up on each frame.
void updateUniforms ()
void setLightingMode (LightingMode mode)
LightingMode getLightingMode () const
void setLight (osg::Light *light)
osg::LightgetLight ()
const osg::LightgetLight () const
void setState (osg::State *state)
osg::StategetState ()
const osg::StategetState () const
void setView (osg::View *view)
osg::ViewgetView ()
const osg::ViewgetView () const
void setRenderInfo (osg::RenderInfo &renderInfo)
osg::RenderInfogetRenderInfo ()
const osg::RenderInfogetRenderInfo () const
void setProjectionMatrix (const osg::Matrixf &matrix)
 Set the projection matrix.
void setProjectionMatrix (const osg::Matrixd &matrix)
 Set the projection matrix.
void setProjectionMatrixAsOrtho (double left, double right, double bottom, double top, double zNear, double zFar)
 Set to an orthographic projection.
void setProjectionMatrixAsOrtho2D (double left, double right, double bottom, double top)
 Set to a 2D orthographic projection.
void setProjectionMatrixAsFrustum (double left, double right, double bottom, double top, double zNear, double zFar)
 Set to a perspective projection.
void setProjectionMatrixAsPerspective (double fovy, double aspectRatio, double zNear, double zFar)
 Create a symmetrical perspective projection, See OpenGL gluPerspective documentation for further details.
osg::MatrixdgetProjectionMatrix ()
 Get the projection matrix.
const osg::MatrixdgetProjectionMatrix () const
 Get the const projection matrix.
bool getProjectionMatrixAsOrtho (double &left, double &right, double &bottom, double &top, double &zNear, double &zFar) const
 Get the orthographic settings of the orthographic projection matrix.
bool getProjectionMatrixAsFrustum (double &left, double &right, double &bottom, double &top, double &zNear, double &zFar) const
 Get the frustum setting of a perspective projection matrix.
bool getProjectionMatrixAsPerspective (double &fovy, double &aspectRatio, double &zNear, double &zFar) const
 Get the frustum setting of a symmetric perspective projection matrix.
void setViewMatrix (const osg::Matrixf &matrix)
 Set the view matrix.
void setViewMatrix (const osg::Matrixd &matrix)
 Set the view matrix.
void setViewMatrixAsLookAt (const osg::Vec3 &eye, const osg::Vec3 &center, const osg::Vec3 &up)
 Set to the position and orientation of view matrix, using the same convention as gluLookAt.
osg::MatrixdgetViewMatrix ()
 Get the view matrix.
const osg::MatrixdgetViewMatrix () const
 Get the const view matrix.
void getViewMatrixAsLookAt (osg::Vec3 &eye, osg::Vec3 &center, osg::Vec3 &up, float lookDistance=1.0f) const
 Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt.
void setInitVisitor (osg::NodeVisitor *av)
osg::NodeVisitorgetInitVisitor ()
const osg::NodeVisitorgetInitVisitor () const
void setUpdateVisitor (osg::NodeVisitor *av)
osg::NodeVisitorgetUpdateVisitor ()
const osg::NodeVisitorgetUpdateVisitor () const
void setCullVisitor (osgUtil::CullVisitor *cv)
osgUtil::CullVisitorgetCullVisitor ()
const osgUtil::CullVisitorgetCullVisitor () const
void setCullVisitorLeft (osgUtil::CullVisitor *cv)
osgUtil::CullVisitorgetCullVisitorLeft ()
const osgUtil::CullVisitorgetCullVisitorLeft () const
void setCullVisitorRight (osgUtil::CullVisitor *cv)
osgUtil::CullVisitorgetCullVisitorRight ()
const osgUtil::CullVisitorgetCullVisitorRight () const
void setCollectOccludersVisitor (osg::CollectOccludersVisitor *cov)
osg::CollectOccludersVisitorgetCollectOccludersVisitor ()
const osg::CollectOccludersVisitorgetCollectOccludersVisitor () const
void setStateGraph (osgUtil::StateGraph *rg)
osgUtil::StateGraphgetStateGraph ()
const osgUtil::StateGraphgetStateGraph () const
void setStateGraphLeft (osgUtil::StateGraph *rg)
osgUtil::StateGraphgetStateGraphLeft ()
const osgUtil::StateGraphgetStateGraphLeft () const
void setStateGraphRight (osgUtil::StateGraph *rg)
osgUtil::StateGraphgetStateGraphRight ()
const osgUtil::StateGraphgetStateGraphRight () const
void setRenderStage (osgUtil::RenderStage *rs)
osgUtil::RenderStagegetRenderStage ()
const osgUtil::RenderStagegetRenderStage () const
void setRenderStageLeft (osgUtil::RenderStage *rs)
osgUtil::RenderStagegetRenderStageLeft ()
const osgUtil::RenderStagegetRenderStageLeft () const
void setRenderStageRight (osgUtil::RenderStage *rs)
osgUtil::RenderStagegetRenderStageRight ()
const osgUtil::RenderStagegetRenderStageRight () const
void setDrawBufferValue (GLenum drawBufferValue)
 Set the draw buffer value used at the start of each frame draw.
GLenum getDrawBufferValue () const
 Get the draw buffer value used at the start of each frame draw.
void setFusionDistance (FusionDistanceMode mode, float value=1.0f)
 Set the FusionDistanceMode and Value.
FusionDistanceMode getFusionDistanceMode () const
 Get the FusionDistanceMode.
float getFusionDistanceValue () const
 Get the FusionDistanceValue.
void setPrioritizeTextures (bool pt)
 Set whether the draw method should call renderer->prioritizeTexture.
bool getPrioritizeTextures () const
 Get whether the draw method should call renderer->prioritizeTexture.
void setComputeStereoMatricesCallback (ComputeStereoMatricesCallback *callback)
ComputeStereoMatricesCallbackgetComputeStereoMatricesCallback ()
const ComputeStereoMatricesCallbackgetComputeStereoMatricesCallback () const
bool projectWindowIntoObject (const osg::Vec3 &window, osg::Vec3 &object) const
 Calculate the object coordinates of a point in window coordinates.
bool projectWindowXYIntoObject (int x, int y, osg::Vec3 &near_point, osg::Vec3 &far_point) const
 Calculate the object coordinates of a window x,y when projected onto the near and far planes.
bool projectObjectIntoWindow (const osg::Vec3 &object, osg::Vec3 &window) const
 Calculate the window coordinates of a point in object coordinates.
void setFrameStamp (osg::FrameStamp *fs)
 Set the frame stamp for the current frame.
const osg::FrameStampgetFrameStamp () const
 Get the frame stamp for the current frame.
osg::Matrixd computeLeftEyeProjection (const osg::Matrixd &projection) const
osg::Matrixd computeLeftEyeView (const osg::Matrixd &view) const
osg::Matrixd computeRightEyeProjection (const osg::Matrixd &projection) const
osg::Matrixd computeRightEyeView (const osg::Matrixd &view) const
virtual osg::Matrixd computeLeftEyeProjectionImplementation (const osg::Matrixd &projection) const
virtual osg::Matrixd computeLeftEyeViewImplementation (const osg::Matrixd &view) const
virtual osg::Matrixd computeRightEyeProjectionImplementation (const osg::Matrixd &projection) const
virtual osg::Matrixd computeRightEyeViewImplementation (const osg::Matrixd &view) const
virtual void inheritCullSettings (const osg::CullSettings &settings)
 Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask.
virtual void inheritCullSettings (const osg::CullSettings &settings, unsigned int inheritanceMask)
 Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask.
virtual void init ()
 Do init traversal of attached scene graph using Init NodeVisitor.
virtual void update ()
 Do app traversal of attached scene graph using App NodeVisitor.
virtual void cull ()
 Do cull traversal of attached scene graph using Cull NodeVisitor.
virtual void draw ()
 Do draw traversal of draw bins generated by cull traversal.
unsigned int getDynamicObjectCount () const
 Compute the number of dynamic objects that will be held in the rendering backend.
virtual void releaseAllGLObjects ()
 Release all OpenGL objects from the scene graph, such as texture objects, display lists etc.
virtual void flushAllDeletedGLObjects ()
 Flush all deleted OpenGL objects, such as texture objects, display lists etc.
virtual void flushDeletedGLObjects (double &availableTime)
 Flush deleted OpenGL objects, such as texture objects, display lists etc within specified available time.
bool getStats (Statistics &primStats)
 Extract stats for current draw list.

Protected Member Functions

virtual ~SceneView ()
virtual bool cullStage (const osg::Matrixd &projection, const osg::Matrixd &modelview, osgUtil::CullVisitor *cullVisitor, osgUtil::StateGraph *rendergraph, osgUtil::RenderStage *renderStage, osg::Viewport *viewport)
 Do cull traversal of attached scene graph using Cull NodeVisitor.
void computeLeftEyeViewport (const osg::Viewport *viewport)
void computeRightEyeViewport (const osg::Viewport *viewport)
const osg::Matrix computeMVPW () const
void clearArea (int x, int y, int width, int height, const osg::Vec4 &color)

Protected Attributes

osg::ref_ptr< osg::StateSet_localStateSet
osg::RenderInfo _renderInfo
bool _initCalled
osg::ref_ptr< osg::NodeVisitor_initVisitor
osg::ref_ptr< osg::NodeVisitor_updateVisitor
osg::ref_ptr< osgUtil::CullVisitor_cullVisitor
osg::ref_ptr< osgUtil::StateGraph_stateGraph
osg::ref_ptr< osgUtil::RenderStage_renderStage
osg::ref_ptr< ComputeStereoMatricesCallback_computeStereoMatricesCallback
osg::ref_ptr< osgUtil::CullVisitor_cullVisitorLeft
osg::ref_ptr< osgUtil::StateGraph_stateGraphLeft
osg::ref_ptr< osgUtil::RenderStage_renderStageLeft
osg::ref_ptr< osg::Viewport_viewportLeft
osg::ref_ptr< osgUtil::CullVisitor_cullVisitorRight
osg::ref_ptr< osgUtil::StateGraph_stateGraphRight
osg::ref_ptr< osgUtil::RenderStage_renderStageRight
osg::ref_ptr< osg::Viewport_viewportRight
osg::ref_ptr< osg::CollectOccludersVisitor_collectOccludersVisitor
osg::ref_ptr< osg::FrameStamp_frameStamp
osg::observer_ptr< osg::Camera_camera
osg::ref_ptr< osg::Camera_cameraWithOwnership
osg::ref_ptr< osg::StateSet_globalStateSet
osg::ref_ptr< osg::Light_light
osg::ref_ptr< osg::DisplaySettings_displaySettings
FusionDistanceMode _fusionDistanceMode
float _fusionDistanceValue
LightingMode _lightingMode
bool _prioritizeTextures
bool _requiresFlush
int _activeUniforms
double _previousFrameTime
double _previousSimulationTime
bool _redrawInterlacedStereoStencilMask
int _interlacedStereoStencilWidth
int _interlacedStereoStencilHeight
unsigned int _dynamicObjectCount

Classes

struct  ComputeStereoMatricesCallback
 Callback for overidding the default method for compute the offset projection and view matrices. More...

Detailed Description

SceneView is deprecated, and is now just kept for backwards compatibility.

It is recommend that you use osgViewer::Viewer/Composite in combination with osgViewer::GraphicsWindowEmbedded for embedded rendering support as this provides a greater range of functionality and consistency of API.


Member Typedef Documentation

typedef Options osgUtil::SceneView::LightingMode


Member Enumeration Documentation

enum osgUtil::SceneView::ActiveUniforms

Enumerator:
FRAME_NUMBER_UNIFORM 
FRAME_TIME_UNIFORM 
DELTA_FRAME_TIME_UNIFORM 
SIMULATION_TIME_UNIFORM 
DELTA_SIMULATION_TIME_UNIFORM 
VIEW_MATRIX_UNIFORM 
VIEW_MATRIX_INVERSE_UNIFORM 
DEFAULT_UNIFORMS 
ALL_UNIFORMS 

enum osgUtil::SceneView::FusionDistanceMode

FusionDistanceMode is used only when working in stereo.

Enumerator:
USE_FUSION_DISTANCE_VALUE  Use fusion distance from the value set on the SceneView.
PROPORTIONAL_TO_SCREEN_DISTANCE  Compute the fusion distance by multiplying the screen distance by the fusion distance value.

enum osgUtil::SceneView::Options

Enumerator:
NO_SCENEVIEW_LIGHT 
HEADLIGHT 
SKY_LIGHT 
COMPILE_GLOBJECTS_AT_INIT 
STANDARD_SETTINGS 


Constructor & Destructor Documentation

osgUtil::SceneView::SceneView ( osg::DisplaySettings ds = NULL  ) 

Construct a default scene view.

osgUtil::SceneView::SceneView ( const SceneView sceneview,
const osg::CopyOp copyop = osg::CopyOp() 
)

virtual osgUtil::SceneView::~SceneView (  )  [protected, virtual]


Member Function Documentation

void osgUtil::SceneView::clearArea ( int  x,
int  y,
int  width,
int  height,
const osg::Vec4 color 
) [protected]

osg::Matrixd osgUtil::SceneView::computeLeftEyeProjection ( const osg::Matrixd projection  )  const [inline]

virtual osg::Matrixd osgUtil::SceneView::computeLeftEyeProjectionImplementation ( const osg::Matrixd projection  )  const [virtual]

osg::Matrixd osgUtil::SceneView::computeLeftEyeView ( const osg::Matrixd view  )  const [inline]

virtual osg::Matrixd osgUtil::SceneView::computeLeftEyeViewImplementation ( const osg::Matrixd view  )  const [virtual]

void osgUtil::SceneView::computeLeftEyeViewport ( const osg::Viewport viewport  )  [protected]

const osg::Matrix osgUtil::SceneView::computeMVPW (  )  const [protected]

osg::Matrixd osgUtil::SceneView::computeRightEyeProjection ( const osg::Matrixd projection  )  const [inline]

virtual osg::Matrixd osgUtil::SceneView::computeRightEyeProjectionImplementation ( const osg::Matrixd projection  )  const [virtual]

osg::Matrixd osgUtil::SceneView::computeRightEyeView ( const osg::Matrixd view  )  const [inline]

virtual osg::Matrixd osgUtil::SceneView::computeRightEyeViewImplementation ( const osg::Matrixd view  )  const [virtual]

void osgUtil::SceneView::computeRightEyeViewport ( const osg::Viewport viewport  )  [protected]

virtual void osgUtil::SceneView::cull (  )  [virtual]

Do cull traversal of attached scene graph using Cull NodeVisitor.

virtual bool osgUtil::SceneView::cullStage ( const osg::Matrixd projection,
const osg::Matrixd modelview,
osgUtil::CullVisitor cullVisitor,
osgUtil::StateGraph rendergraph,
osgUtil::RenderStage renderStage,
osg::Viewport viewport 
) [protected, virtual]

Do cull traversal of attached scene graph using Cull NodeVisitor.

Return true if computeNearFar has been done during the cull traversal.

virtual void osgUtil::SceneView::draw (  )  [virtual]

Do draw traversal of draw bins generated by cull traversal.

virtual void osgUtil::SceneView::flushAllDeletedGLObjects (  )  [virtual]

Flush all deleted OpenGL objects, such as texture objects, display lists etc.

virtual void osgUtil::SceneView::flushDeletedGLObjects ( double &  availableTime  )  [virtual]

Flush deleted OpenGL objects, such as texture objects, display lists etc within specified available time.

int osgUtil::SceneView::getActiveUniforms (  )  const [inline]

Get the uniforms that SceneView should set set up on each frame.

const osg::Camera* osgUtil::SceneView::getCamera (  )  const [inline]

Get the const camera used to represent the camera view of this SceneView.

osg::Camera* osgUtil::SceneView::getCamera (  )  [inline]

Get the camera used to represent the camera view of this SceneView.

const osg::Vec4& osgUtil::SceneView::getClearColor (  )  const [inline]

Get the color used in glClearColor.

const osg::CollectOccludersVisitor* osgUtil::SceneView::getCollectOccludersVisitor (  )  const [inline]

osg::CollectOccludersVisitor* osgUtil::SceneView::getCollectOccludersVisitor (  )  [inline]

const ComputeStereoMatricesCallback* osgUtil::SceneView::getComputeStereoMatricesCallback (  )  const [inline]

ComputeStereoMatricesCallback* osgUtil::SceneView::getComputeStereoMatricesCallback (  )  [inline]

const osgUtil::CullVisitor* osgUtil::SceneView::getCullVisitor (  )  const [inline]

osgUtil::CullVisitor* osgUtil::SceneView::getCullVisitor (  )  [inline]

const osgUtil::CullVisitor* osgUtil::SceneView::getCullVisitorLeft (  )  const [inline]

osgUtil::CullVisitor* osgUtil::SceneView::getCullVisitorLeft (  )  [inline]

const osgUtil::CullVisitor* osgUtil::SceneView::getCullVisitorRight (  )  const [inline]

osgUtil::CullVisitor* osgUtil::SceneView::getCullVisitorRight (  )  [inline]

osg::DisplaySettings* osgUtil::SceneView::getDisplaySettings (  )  [inline]

Get the DisplaySettings.

const osg::DisplaySettings* osgUtil::SceneView::getDisplaySettings (  )  const [inline]

Get the const DisplaySettings.

GLenum osgUtil::SceneView::getDrawBufferValue (  )  const [inline]

Get the draw buffer value used at the start of each frame draw.

unsigned int osgUtil::SceneView::getDynamicObjectCount (  )  const [inline]

Compute the number of dynamic objects that will be held in the rendering backend.

const osg::FrameStamp* osgUtil::SceneView::getFrameStamp (  )  const [inline]

Get the frame stamp for the current frame.

FusionDistanceMode osgUtil::SceneView::getFusionDistanceMode (  )  const [inline]

Get the FusionDistanceMode.

float osgUtil::SceneView::getFusionDistanceValue (  )  const [inline]

Get the FusionDistanceValue.

Note, only used for USE_FUSION_DISTANCE_VALUE & PROPORTIONAL_TO_SCREEN_DISTANCE modes.

const osg::StateSet* osgUtil::SceneView::getGlobalStateSet (  )  const [inline]

osg::StateSet* osgUtil::SceneView::getGlobalStateSet (  )  [inline]

const osg::NodeVisitor* osgUtil::SceneView::getInitVisitor (  )  const [inline]

osg::NodeVisitor* osgUtil::SceneView::getInitVisitor (  )  [inline]

const osg::Light* osgUtil::SceneView::getLight (  )  const [inline]

osg::Light* osgUtil::SceneView::getLight (  )  [inline]

LightingMode osgUtil::SceneView::getLightingMode (  )  const [inline]

const osg::StateSet* osgUtil::SceneView::getLocalStateSet (  )  const [inline]

osg::StateSet* osgUtil::SceneView::getLocalStateSet (  )  [inline]

unsigned int osgUtil::SceneView::getNumSceneData (  )  const [inline]

Get the number of scene data subgraphs added to the SceneView's camera.

bool osgUtil::SceneView::getPrioritizeTextures (  )  const [inline]

Get whether the draw method should call renderer->prioritizeTexture.

const osg::Matrixd& osgUtil::SceneView::getProjectionMatrix (  )  const [inline]

Get the const projection matrix.

osg::Matrixd& osgUtil::SceneView::getProjectionMatrix (  )  [inline]

Get the projection matrix.

bool osgUtil::SceneView::getProjectionMatrixAsFrustum ( double &  left,
double &  right,
double &  bottom,
double &  top,
double &  zNear,
double &  zFar 
) const

Get the frustum setting of a perspective projection matrix.

Returns false if matrix is not a perspective matrix, where parameter values are undefined.

bool osgUtil::SceneView::getProjectionMatrixAsOrtho ( double &  left,
double &  right,
double &  bottom,
double &  top,
double &  zNear,
double &  zFar 
) const

Get the orthographic settings of the orthographic projection matrix.

Returns false if matrix is not an orthographic matrix, where parameter values are undefined.

bool osgUtil::SceneView::getProjectionMatrixAsPerspective ( double &  fovy,
double &  aspectRatio,
double &  zNear,
double &  zFar 
) const

Get the frustum setting of a symmetric perspective projection matrix.

Returns false if matrix is not a perspective matrix, where parameter values are undefined. Note, if matrix is not a symmetric perspective matrix then the shear will be lost. Asymmetric matrices occur when stereo, power walls, caves and reality center display are used. In these configurations one should use the 'getProjectionMatrixAsFrustum' method instead.

bool osgUtil::SceneView::getRedrawInterlacedStereoStencilMask (  )  const [inline]

Get the redraw interlaced stereo stencil mask request flag.

const osg::RenderInfo& osgUtil::SceneView::getRenderInfo (  )  const [inline]

osg::RenderInfo& osgUtil::SceneView::getRenderInfo (  )  [inline]

const osgUtil::RenderStage* osgUtil::SceneView::getRenderStage (  )  const [inline]

osgUtil::RenderStage* osgUtil::SceneView::getRenderStage ( <