📄 sceneview.cpp
字号:
Properties::NON_VIRTUAL, __bool__getPrioritizeTextures, "Get whether the draw method should call renderer->prioritizeTexture. ", ""); I_Method1(void, setComputeStereoMatricesCallback, IN, osgUtil::SceneView::ComputeStereoMatricesCallback *, callback, Properties::NON_VIRTUAL, __void__setComputeStereoMatricesCallback__ComputeStereoMatricesCallback_P1, "", ""); I_Method0(osgUtil::SceneView::ComputeStereoMatricesCallback *, getComputeStereoMatricesCallback, Properties::NON_VIRTUAL, __ComputeStereoMatricesCallback_P1__getComputeStereoMatricesCallback, "", ""); I_Method0(const osgUtil::SceneView::ComputeStereoMatricesCallback *, getComputeStereoMatricesCallback, Properties::NON_VIRTUAL, __C5_ComputeStereoMatricesCallback_P1__getComputeStereoMatricesCallback, "", ""); I_Method2(bool, projectWindowIntoObject, IN, const osg::Vec3 &, window, IN, osg::Vec3 &, object, Properties::NON_VIRTUAL, __bool__projectWindowIntoObject__C5_osg_Vec3_R1__osg_Vec3_R1, "Calculate the object coordinates of a point in window coordinates. ", "Note, current implementation requires that SceneView::draw() has been previously called for projectWindowIntoObject to produce valid values. Consistent with OpenGL windows coordinates are calculated relative to the bottom left of the window. Returns true on successful projection. "); I_Method4(bool, projectWindowXYIntoObject, IN, int, x, IN, int, y, IN, osg::Vec3 &, near_point, IN, osg::Vec3 &, far_point, Properties::NON_VIRTUAL, __bool__projectWindowXYIntoObject__int__int__osg_Vec3_R1__osg_Vec3_R1, "Calculate the object coordinates of a window x,y when projected onto the near and far planes. ", "Note, current implementation requires that SceneView::draw() has been previously called for projectWindowIntoObject to produce valid values. Consistent with OpenGL windows coordinates are calculated relative to the bottom left of the window. Returns true on successful projection. "); I_Method2(bool, projectObjectIntoWindow, IN, const osg::Vec3 &, object, IN, osg::Vec3 &, window, Properties::NON_VIRTUAL, __bool__projectObjectIntoWindow__C5_osg_Vec3_R1__osg_Vec3_R1, "Calculate the window coordinates of a point in object coordinates. ", "Note, current implementation requires that SceneView::draw() has been previously called for projectWindowIntoObject to produce valid values. Consistent with OpenGL windows coordinates are calculated relative to the bottom left of the window, whereas window API's normally have the top left as the origin, so you may need to pass in (mouseX,window_height-mouseY,...). Returns true on successful projection. "); I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs, Properties::NON_VIRTUAL, __void__setFrameStamp__osg_FrameStamp_P1, "Set the frame stamp for the current frame. ", ""); I_Method0(const osg::FrameStamp *, getFrameStamp, Properties::NON_VIRTUAL, __C5_osg_FrameStamp_P1__getFrameStamp, "Get the frame stamp for the current frame. ", ""); I_Method1(osg::Matrixd, computeLeftEyeProjection, IN, const osg::Matrixd &, projection, Properties::NON_VIRTUAL, __osg_Matrixd__computeLeftEyeProjection__C5_osg_Matrixd_R1, "", ""); I_Method1(osg::Matrixd, computeLeftEyeView, IN, const osg::Matrixd &, view, Properties::NON_VIRTUAL, __osg_Matrixd__computeLeftEyeView__C5_osg_Matrixd_R1, "", ""); I_Method1(osg::Matrixd, computeRightEyeProjection, IN, const osg::Matrixd &, projection, Properties::NON_VIRTUAL, __osg_Matrixd__computeRightEyeProjection__C5_osg_Matrixd_R1, "", ""); I_Method1(osg::Matrixd, computeRightEyeView, IN, const osg::Matrixd &, view, Properties::NON_VIRTUAL, __osg_Matrixd__computeRightEyeView__C5_osg_Matrixd_R1, "", ""); I_Method1(osg::Matrixd, computeLeftEyeProjectionImplementation, IN, const osg::Matrixd &, projection, Properties::VIRTUAL, __osg_Matrixd__computeLeftEyeProjectionImplementation__C5_osg_Matrixd_R1, "", ""); I_Method1(osg::Matrixd, computeLeftEyeViewImplementation, IN, const osg::Matrixd &, view, Properties::VIRTUAL, __osg_Matrixd__computeLeftEyeViewImplementation__C5_osg_Matrixd_R1, "", ""); I_Method1(osg::Matrixd, computeRightEyeProjectionImplementation, IN, const osg::Matrixd &, projection, Properties::VIRTUAL, __osg_Matrixd__computeRightEyeProjectionImplementation__C5_osg_Matrixd_R1, "", ""); I_Method1(osg::Matrixd, computeRightEyeViewImplementation, IN, const osg::Matrixd &, view, Properties::VIRTUAL, __osg_Matrixd__computeRightEyeViewImplementation__C5_osg_Matrixd_R1, "", ""); I_Method1(void, inheritCullSettings, IN, const osg::CullSettings &, settings, Properties::VIRTUAL, __void__inheritCullSettings__C5_osg_CullSettings_R1, "Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. ", ""); I_Method2(void, inheritCullSettings, IN, const osg::CullSettings &, settings, IN, unsigned int, inheritanceMask, Properties::VIRTUAL, __void__inheritCullSettings__C5_osg_CullSettings_R1__unsigned_int, "Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. ", ""); I_Method0(void, init, Properties::VIRTUAL, __void__init, "Do init traversal of attached scene graph using Init NodeVisitor. ", "The init traversal is called once for each SceneView, and should be used to compile display list, texture objects intialize data not otherwise intialized during scene graph loading. Note, is called automatically by update & cull if it hasn't already been called elsewhere. Also init() should only ever be called within a valid graphics context. "); I_Method0(void, update, Properties::VIRTUAL, __void__update, "Do app traversal of attached scene graph using App NodeVisitor. ", ""); I_Method0(void, cull, Properties::VIRTUAL, __void__cull, "Do cull traversal of attached scene graph using Cull NodeVisitor. ", ""); I_Method0(void, draw, Properties::VIRTUAL, __void__draw, "Do draw traversal of draw bins generated by cull traversal. ", ""); I_Method0(unsigned int, getDynamicObjectCount, Properties::NON_VIRTUAL, __unsigned_int__getDynamicObjectCount, "Compute the number of dynamic objects that will be held in the rendering backend. ", ""); I_Method0(void, releaseAllGLObjects, Properties::VIRTUAL, __void__releaseAllGLObjects, "Release all OpenGL objects from the scene graph, such as texture objects, display lists etc. ", "These released scene graphs placed in the respective delete GLObjects cache, which then need to be deleted in OpenGL by SceneView::flushAllDeleteGLObjects(). "); I_Method0(void, flushAllDeletedGLObjects, Properties::VIRTUAL, __void__flushAllDeletedGLObjects, "Flush all deleted OpenGL objects, such as texture objects, display lists etc. ", ""); I_Method1(void, flushDeletedGLObjects, IN, double &, availableTime, Properties::VIRTUAL, __void__flushDeletedGLObjects__double_R1, "Flush deleted OpenGL objects, such as texture objects, display lists etc within specified available time. ", ""); I_Method1(bool, getStats, IN, osgUtil::Statistics &, primStats, Properties::NON_VIRTUAL, __bool__getStats__Statistics_R1, "Extract stats for current draw list. ", ""); I_ProtectedMethod6(bool, cullStage, IN, const osg::Matrixd &, projection, IN, const osg::Matrixd &, modelview, IN, osgUtil::CullVisitor *, cullVisitor, IN, osgUtil::StateGraph *, rendergraph, IN, osgUtil::RenderStage *, renderStage, IN, osg::Viewport *, viewport, Properties::VIRTUAL, Properties::NON_CONST, __bool__cullStage__C5_osg_Matrixd_R1__C5_osg_Matrixd_R1__osgUtil_CullVisitor_P1__osgUtil_StateGraph_P1__osgUtil_RenderStage_P1__osg_Viewport_P1, "Do cull traversal of attached scene graph using Cull NodeVisitor. ", "Return true if computeNearFar has been done during the cull traversal. "); I_ProtectedMethod1(void, computeLeftEyeViewport, IN, const osg::Viewport *, viewport, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__computeLeftEyeViewport__C5_osg_Viewport_P1, "", ""); I_ProtectedMethod1(void, computeRightEyeViewport, IN, const osg::Viewport *, viewport, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__computeRightEyeViewport__C5_osg_Viewport_P1, "", ""); I_ProtectedMethod0(const osg::Matrix, computeMVPW, Properties::NON_VIRTUAL, Properties::CONST, __C5_osg_Matrix__computeMVPW, "", ""); I_ProtectedMethod5(void, clearArea, IN, int, x, IN, int, y, IN, int, width, IN, int, height, IN, const osg::Vec4 &, color, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__clearArea__int__int__int__int__C5_osg_Vec4_R1, "", ""); I_SimpleProperty(int, ActiveUniforms, __int__getActiveUniforms, __void__setActiveUniforms__int); I_SimpleProperty(osg::Camera *, Camera, __osg_Camera_P1__getCamera, 0); I_SimpleProperty(const osg::Vec4 &, ClearColor, __C5_osg_Vec4_R1__getClearColor, __void__setClearColor__C5_osg_Vec4_R1); I_SimpleProperty(osg::CollectOccludersVisitor *, CollectOccludersVisitor, __osg_CollectOccludersVisitor_P1__getCollectOccludersVisitor, __void__setCollectOccludersVisitor__osg_CollectOccludersVisitor_P1); I_SimpleProperty(osgUtil::SceneView::ComputeStereoMatricesCallback *, ComputeStereoMatricesCallback, __ComputeStereoMatricesCallback_P1__getComputeStereoMatricesCallback, __void__setComputeStereoMatricesCallback__ComputeStereoMatricesCallback_P1); I_SimpleProperty(osgUtil::CullVisitor *, CullVisitor, __osgUtil_CullVisitor_P1__getCullVisitor, __void__setCullVisitor__osgUtil_CullVisitor_P1); I_SimpleProperty(osgUtil::CullVisitor *, CullVisitorLeft, __osgUtil_CullVisitor_P1__getCullVisitorLeft, __void__setCullVisitorLeft__osgUtil_CullVisitor_P1); I_SimpleProperty(osgUtil::CullVisitor *, CullVisitorRight, __osgUtil_CullVisitor_P1__getCullVisitorRight, __void__setCullVisitorRight__osgUtil_CullVisitor_P1); I_SimpleProperty(unsigned int, Defaults, 0, __void__setDefaults__unsigned_int); I_SimpleProperty(osg::DisplaySettings *, DisplaySettings, __osg_DisplaySettings_P1__getDisplaySettings, __void__setDisplaySettings__osg_DisplaySettings_P1); I_SimpleProperty(GLenum, DrawBufferValue, __GLenum__getDrawBufferValue, __void__setDrawBufferValue__GLenum); I_SimpleProperty(unsigned int, DynamicObjectCount, __unsigned_int__getDynamicObjectCount, 0); I_SimpleProperty(osg::FrameStamp *, FrameStamp, 0, __void__setFrameStamp__osg_FrameStamp_P1); I_SimpleProperty(osgUtil::SceneView::FusionDistanceMode, FusionDistanceMode, __FusionDistanceMode__getFusionDistanceMode, 0); I_SimpleProperty(float, FusionDistanceValue, __float__getFusionDistanceValue, 0); I_SimpleProperty(osg::StateSet *, GlobalStateSet, __osg_StateSet_P1__getGlobalStateSet, __void__setGlobalStateSet__osg_StateSet_P1); I_SimpleProperty(osg::NodeVisitor *, InitVisitor, __osg_NodeVisitor_P1__getInitVisitor, __void__setInitVisitor__osg_NodeVisitor_P1); I_SimpleProperty(osg::Light *, Light, __osg_Light_P1__getLight, __void__setLight__osg_Light_P1); I_SimpleProperty(osgUtil::SceneView::LightingMode, LightingMode, __LightingMode__getLightingMode, __void__setLightingMode__LightingMode); I_SimpleProperty(osg::StateSet *, LocalStateSet, __osg_StateSet_P1__getLocalStateSet, __void__setLocalStateSet__osg_StateSet_P1); I_SimpleProperty(bool, PrioritizeTextures, __bool__getPrioritizeTextures, __void__setPrioritizeTextures__bool); I_SimpleProperty(const osg::Matrixd &, ProjectionMatrix, __C5_osg_Matrixd_R1__getProjectionMatrix, __void__setProjectionMatrix__C5_osg_Matrixd_R1); I_SimpleProperty(bool, RedrawInterlacedStereoStencilMask, __bool__getRedrawInterlacedStereoStencilMask, __void__setRedrawInterlacedStereoStencilMask__bool); I_SimpleProperty(osg::RenderInfo &, RenderInfo, __osg_RenderInfo_R1__getRenderInfo, __void__setRenderInfo__osg_RenderInfo_R1); I_SimpleProperty(osgUtil::RenderStage *, RenderStage, __osgUtil_RenderStage_P1__getRenderStage, __void__setRenderStage__osgUtil_RenderStage_P1); I_SimpleProperty(osgUtil::RenderStage *, RenderStageLeft, __osgUtil_RenderStage_P1__getRenderStageLeft, __void__setRenderStageLeft__osgUtil_RenderStage_P1); I_SimpleProperty(osgUtil::RenderStage *, RenderStageRight, __osgUtil_RenderStage_P1__getRenderStageRight, __void__setRenderStageRight__osgUtil_RenderStage_P1); I_ArrayProperty(const osg::Node *, SceneData, __C5_osg_Node_P1__getSceneData__unsigned_int, 0, __unsigned_int__getNumSceneData, 0, 0, 0); I_SimpleProperty(osg::State *, State, __osg_State_P1__getState, __void__setState__osg_State_P1); I_SimpleProperty(osgUtil::StateGraph *, StateGraph, __osgUtil_StateGraph_P1__getStateGraph, __void__setStateGraph__osgUtil_StateGraph_P1); I_SimpleProperty(osgUtil::StateGraph *, StateGraphLeft, __osgUtil_StateGraph_P1__getStateGraphLeft, __void__setStateGraphLeft__osgUtil_StateGraph_P1); I_SimpleProperty(osgUtil::StateGraph *, StateGraphRight, __osgUtil_StateGraph_P1__getStateGraphRight, __void__setStateGraphRight__osgUtil_StateGraph_P1); I_SimpleProperty(osg::NodeVisitor *, UpdateVisitor, __osg_NodeVisitor_P1__getUpdateVisitor, __void__setUpdateVisitor__osg_NodeVisitor_P1); I_SimpleProperty(osg::View *, View, __osg_View_P1__getView, __void__setView__osg_View_P1); I_SimpleProperty(const osg::Matrixd &, ViewMatrix, __C5_osg_Matrixd_R1__getViewMatrix, __void__setViewMatrix__C5_osg_Matrixd_R1); I_SimpleProperty(osg::Viewport *, Viewport, __osg_Viewport_P1__getViewport, __void__setViewport__osg_Viewport_P1);END_REFLECTORBEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::SceneView::ComputeStereoMatricesCallback) I_DeclaringFile("osgUtil/SceneView"); I_BaseType(osg::Referenced); I_Constructor0(____ComputeStereoMatricesCallback, "", ""); I_Method1(osg::Matrixd, computeLeftEyeProjection, IN, const osg::Matrixd &, projection, Properties::PURE_VIRTUAL, __osg_Matrixd__computeLeftEyeProjection__C5_osg_Matrixd_R1, "", ""); I_Method1(osg::Matrixd, computeLeftEyeView, IN, const osg::Matrixd &, view, Properties::PURE_VIRTUAL, __osg_Matrixd__computeLeftEyeView__C5_osg_Matrixd_R1, "", ""); I_Method1(osg::Matrixd, computeRightEyeProjection, IN, const osg::Matrixd &, projection, Properties::PURE_VIRTUAL, __osg_Matrixd__computeRightEyeProjection__C5_osg_Matrixd_R1, "", ""); I_Method1(osg::Matrixd, computeRightEyeView, IN, const osg::Matrixd &, view, Properties::PURE_VIRTUAL, __osg_Matrixd__computeRightEyeView__C5_osg_Matrixd_R1, "", "");END_REFLECTOR
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -