|
| SceneView (osg::DisplaySettings *ds=NULL) |
|
| SceneView (const SceneView &sceneview, const osg::CopyOp ©op=osg::CopyOp()) |
|
| META_Object (osgUtil, SceneView) |
|
virtual void | setDefaults () |
|
virtual void | setDefaults (unsigned int options) |
|
void | setCamera (osg::Camera *camera, bool assumeOwnershipOfCamera=true) |
|
osg::Camera * | getCamera () |
|
const osg::Camera * | getCamera () const |
|
void | setSceneData (osg::Node *node) |
|
osg::Node * | getSceneData (unsigned int childNo=0) |
|
const osg::Node * | getSceneData (unsigned int childNo=0) const |
|
unsigned int | getNumSceneData () const |
|
void | setViewport (osg::Viewport *viewport) |
|
void | setViewport (int x, int y, int width, int height) |
|
osg::Viewport * | getViewport () |
|
const osg::Viewport * | getViewport () const |
|
void | setDisplaySettings (osg::DisplaySettings *vs) |
|
const osg::DisplaySettings * | getDisplaySettings () const |
|
osg::DisplaySettings * | getDisplaySettings () |
|
void | setClearColor (const osg::Vec4 &color) |
|
const osg::Vec4 & | getClearColor () const |
|
void | setRedrawInterlacedStereoStencilMask (bool flag) |
|
bool | getRedrawInterlacedStereoStencilMask () const |
|
void | setGlobalStateSet (osg::StateSet *state) |
|
osg::StateSet * | getGlobalStateSet () |
|
const osg::StateSet * | getGlobalStateSet () const |
|
void | setSecondaryStateSet (osg::StateSet *state) |
|
osg::StateSet * | getSecondaryStateSet () |
|
const osg::StateSet * | getSecondaryStateSet () const |
|
void | setLocalStateSet (osg::StateSet *state) |
|
osg::StateSet * | getLocalStateSet () |
|
const osg::StateSet * | getLocalStateSet () const |
|
void | setActiveUniforms (int activeUniforms) |
|
int | getActiveUniforms () const |
|
void | updateUniforms () |
|
void | setLightingMode (LightingMode mode) |
|
LightingMode | getLightingMode () const |
|
void | setLight (osg::Light *light) |
|
osg::Light * | getLight () |
|
const osg::Light * | getLight () const |
|
void | setState (osg::State *state) |
|
osg::State * | getState () |
|
const osg::State * | getState () const |
|
void | setView (osg::View *view) |
|
osg::View * | getView () |
|
const osg::View * | getView () const |
|
void | setRenderInfo (osg::RenderInfo &renderInfo) |
|
osg::RenderInfo & | getRenderInfo () |
|
const osg::RenderInfo & | getRenderInfo () const |
|
void | setProjectionMatrix (const osg::Matrixf &matrix) |
|
void | setProjectionMatrix (const osg::Matrixd &matrix) |
|
void | setProjectionMatrixAsOrtho (double left, double right, double bottom, double top, double zNear, double zFar) |
|
void | setProjectionMatrixAsOrtho2D (double left, double right, double bottom, double top) |
|
void | setProjectionMatrixAsFrustum (double left, double right, double bottom, double top, double zNear, double zFar) |
|
void | setProjectionMatrixAsPerspective (double fovy, double aspectRatio, double zNear, double zFar) |
|
osg::Matrixd & | getProjectionMatrix () |
|
const osg::Matrixd & | getProjectionMatrix () const |
|
bool | getProjectionMatrixAsOrtho (double &left, double &right, double &bottom, double &top, double &zNear, double &zFar) const |
|
bool | getProjectionMatrixAsFrustum (double &left, double &right, double &bottom, double &top, double &zNear, double &zFar) const |
|
bool | getProjectionMatrixAsPerspective (double &fovy, double &aspectRatio, double &zNear, double &zFar) const |
|
void | setViewMatrix (const osg::Matrixf &matrix) |
|
void | setViewMatrix (const osg::Matrixd &matrix) |
|
void | setViewMatrixAsLookAt (const osg::Vec3 &eye, const osg::Vec3 ¢er, const osg::Vec3 &up) |
|
osg::Matrixd & | getViewMatrix () |
|
const osg::Matrixd & | getViewMatrix () const |
|
void | getViewMatrixAsLookAt (osg::Vec3 &eye, osg::Vec3 ¢er, osg::Vec3 &up, float lookDistance=1.0f) const |
|
void | setInitVisitor (osg::NodeVisitor *av) |
|
osg::NodeVisitor * | getInitVisitor () |
|
const osg::NodeVisitor * | getInitVisitor () const |
|
void | setUpdateVisitor (osg::NodeVisitor *av) |
|
osg::NodeVisitor * | getUpdateVisitor () |
|
const osg::NodeVisitor * | getUpdateVisitor () const |
|
void | setCullVisitor (osgUtil::CullVisitor *cv) |
|
osgUtil::CullVisitor * | getCullVisitor () |
|
const osgUtil::CullVisitor * | getCullVisitor () const |
|
void | setCullVisitorLeft (osgUtil::CullVisitor *cv) |
|
osgUtil::CullVisitor * | getCullVisitorLeft () |
|
const osgUtil::CullVisitor * | getCullVisitorLeft () const |
|
void | setCullVisitorRight (osgUtil::CullVisitor *cv) |
|
osgUtil::CullVisitor * | getCullVisitorRight () |
|
const osgUtil::CullVisitor * | getCullVisitorRight () const |
|
void | setCollectOccludersVisitor (osg::CollectOccludersVisitor *cov) |
|
osg::CollectOccludersVisitor * | getCollectOccludersVisitor () |
|
const
osg::CollectOccludersVisitor * | getCollectOccludersVisitor () const |
|
void | setStateGraph (osgUtil::StateGraph *rg) |
|
osgUtil::StateGraph * | getStateGraph () |
|
const osgUtil::StateGraph * | getStateGraph () const |
|
void | setStateGraphLeft (osgUtil::StateGraph *rg) |
|
osgUtil::StateGraph * | getStateGraphLeft () |
|
const osgUtil::StateGraph * | getStateGraphLeft () const |
|
void | setStateGraphRight (osgUtil::StateGraph *rg) |
|
osgUtil::StateGraph * | getStateGraphRight () |
|
const osgUtil::StateGraph * | getStateGraphRight () const |
|
void | setRenderStage (osgUtil::RenderStage *rs) |
|
osgUtil::RenderStage * | getRenderStage () |
|
const osgUtil::RenderStage * | getRenderStage () const |
|
void | setRenderStageLeft (osgUtil::RenderStage *rs) |
|
osgUtil::RenderStage * | getRenderStageLeft () |
|
const osgUtil::RenderStage * | getRenderStageLeft () const |
|
void | setRenderStageRight (osgUtil::RenderStage *rs) |
|
osgUtil::RenderStage * | getRenderStageRight () |
|
const osgUtil::RenderStage * | getRenderStageRight () const |
|
void | collateReferencesToDependentCameras () |
|
void | clearReferencesToDependentCameras () |
|
void | setDrawBufferValue (GLenum drawBufferValue) |
|
GLenum | getDrawBufferValue () const |
|
void | setFusionDistance (FusionDistanceMode mode, float value=1.0f) |
|
FusionDistanceMode | getFusionDistanceMode () const |
|
float | getFusionDistanceValue () const |
|
void | setPrioritizeTextures (bool pt) |
|
bool | getPrioritizeTextures () const |
|
void | setComputeStereoMatricesCallback (ComputeStereoMatricesCallback *callback) |
|
ComputeStereoMatricesCallback * | getComputeStereoMatricesCallback () |
|
const
ComputeStereoMatricesCallback * | getComputeStereoMatricesCallback () const |
|
bool | projectWindowIntoObject (const osg::Vec3 &window, osg::Vec3 &object) const |
|
bool | projectWindowXYIntoObject (int x, int y, osg::Vec3 &near_point, osg::Vec3 &far_point) const |
|
bool | projectObjectIntoWindow (const osg::Vec3 &object, osg::Vec3 &window) const |
|
void | setFrameStamp (osg::FrameStamp *fs) |
|
const osg::FrameStamp * | getFrameStamp () const |
|
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) |
|
virtual void | inheritCullSettings (const osg::CullSettings &settings, unsigned int inheritanceMask) |
|
virtual void | init () |
|
virtual void | update () |
|
virtual void | cull () |
|
virtual void | draw () |
|
unsigned int | getDynamicObjectCount () const |
|
virtual void | releaseAllGLObjects () |
|
virtual void | flushAllDeletedGLObjects () |
|
virtual void | flushDeletedGLObjects (double &availableTime) |
|
bool | getStats (Statistics &primStats) |
|
void | setAutomaticFlush (bool automaticFlush) |
|
bool | getAutomaticFlush () const |
|
void | setResetColorMaskToAllOn (bool enable) |
|
bool | getResetColorMaskToAllOn () const |
|
| Object () |
|
| Object (bool threadSafeRefUnref) |
|
| Object (const Object &, const CopyOp ©op=CopyOp::SHALLOW_COPY) |
|
virtual Object * | cloneType () const =0 |
|
virtual Object * | clone (const CopyOp &) const =0 |
|
virtual bool | isSameKindAs (const Object *) const |
|
virtual const char * | libraryName () const =0 |
|
virtual const char * | className () const =0 |
|
std::string | getCompoundClassName () const |
|
virtual Node * | asNode () |
|
virtual const Node * | asNode () const |
|
virtual NodeVisitor * | asNodeVisitor () |
|
virtual const NodeVisitor * | asNodeVisitor () const |
|
virtual StateAttribute * | asStateAttribute () |
|
virtual const StateAttribute * | asStateAttribute () const |
|
virtual Uniform * | asUniform () |
|
virtual const Uniform * | asUniform () const |
|
virtual void | setThreadSafeRefUnref (bool threadSafe) |
|
virtual void | setName (const std::string &name) |
|
void | setName (const char *name) |
|
const std::string & | getName () const |
|
void | setDataVariance (DataVariance dv) |
|
DataVariance | getDataVariance () const |
|
virtual void | computeDataVariance () |
|
void | setUserDataContainer (osg::UserDataContainer *udc) |
|
osg::UserDataContainer * | getUserDataContainer () |
|
const osg::UserDataContainer * | getUserDataContainer () const |
|
osg::UserDataContainer * | getOrCreateUserDataContainer () |
|
virtual void | setUserData (Referenced *obj) |
|
virtual Referenced * | getUserData () |
|
virtual const Referenced * | getUserData () const |
|
template<typename T > |
bool | getUserValue (const std::string &name, T &value) const |
|
template<typename T > |
void | setUserValue (const std::string &name, const T &value) |
|
virtual void | resizeGLObjectBuffers (unsigned int) |
|
virtual void | releaseGLObjects (osg::State *=0) const |
|
template<typename T > |
BoolValueObject
UCharValueObject
UShortValueObject
UIntValueObject
DoubleValueObject
Vec3fValueObject
Vec2dValueObject
Vec4dValueObject
PlaneValueObject
MatrixdValueObject
BoundingBoxdValueObject
BoundingSpheredValueObject
bool | getUserValue (const std::string &name, T &value) const |
|
| Referenced () |
|
| Referenced (bool threadSafeRefUnref) |
|
| Referenced (const Referenced &) |
|
Referenced & | operator= (const Referenced &) |
|
bool | getThreadSafeRefUnref () const |
|
OpenThreads::Mutex * | getRefMutex () const |
|
int | ref () const |
|
int | unref () const |
|
int | unref_nodelete () const |
|
int | referenceCount () const |
|
ObserverSet * | getObserverSet () const |
|
ObserverSet * | getOrCreateObserverSet () const |
|
void | addObserver (Observer *observer) const |
|
void | removeObserver (Observer *observer) const |
|
| CullSettings () |
|
| CullSettings (ArgumentParser &arguments) |
|
| CullSettings (const CullSettings &cs) |
|
virtual | ~CullSettings () |
|
CullSettings & | operator= (const CullSettings &settings) |
|
void | setInheritanceMask (InheritanceMask mask) |
|
InheritanceMask | getInheritanceMask () const |
|
void | setCullSettings (const CullSettings &settings) |
|
void | readEnvironmentalVariables () |
|
void | readCommandLine (ArgumentParser &arguments) |
|
void | setInheritanceMaskActionOnAttributeSetting (InheritanceMaskActionOnAttributeSetting action) |
|
InheritanceMaskActionOnAttributeSetting | getInheritanceMaskActionOnAttributeSetting () const |
|
void | applyMaskAction (unsigned int maskBit) |
|
void | setImpostorsActive (bool active) |
|
bool | getImpostorsActive () const |
|
void | setImpostorPixelErrorThreshold (float numPixels) |
|
float | getImpostorPixelErrorThreshold () const |
|
void | setDepthSortImpostorSprites (bool doDepthSort) |
|
bool | getDepthSortImpostorSprites () const |
|
void | setNumberOfFrameToKeepImpostorSprites (int numFrames) |
|
int | getNumberOfFrameToKeepImpostorSprites () const |
|
void | setComputeNearFarMode (ComputeNearFarMode cnfm) |
|
ComputeNearFarMode | getComputeNearFarMode () const |
|
void | setNearFarRatio (double ratio) |
|
double | getNearFarRatio () const |
|
void | setCullingMode (CullingMode mode) |
|
CullingMode | getCullingMode () const |
|
void | setCullMask (osg::Node::NodeMask nm) |
|
osg::Node::NodeMask | getCullMask () const |
|
void | setCullMaskLeft (osg::Node::NodeMask nm) |
|
osg::Node::NodeMask | getCullMaskLeft () const |
|
void | setCullMaskRight (osg::Node::NodeMask nm) |
|
osg::Node::NodeMask | getCullMaskRight () const |
|
void | setLODScale (float scale) |
|
float | getLODScale () const |
|
void | setSmallFeatureCullingPixelSize (float value) |
|
float | getSmallFeatureCullingPixelSize () const |
|
void | setClampProjectionMatrixCallback (ClampProjectionMatrixCallback *cpmc) |
|
ClampProjectionMatrixCallback * | getClampProjectionMatrixCallback () |
|
const
ClampProjectionMatrixCallback * | getClampProjectionMatrixCallback () const |
|
void | write (std::ostream &out) |
|
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.
Definition at line 36 of file SceneView.h.