📄 sceneview.cpp
字号:
// ***************************************************************************//// Generated automatically by genwrapper.// Please DO NOT EDIT this file!//// ***************************************************************************#include <osgIntrospection/ReflectionMacros>#include <osgIntrospection/TypedMethodInfo>#include <osgIntrospection/StaticMethodInfo>#include <osgIntrospection/Attributes>#include <osg/Camera>#include <osg/CollectOccludersVisitor>#include <osg/CopyOp>#include <osg/CullSettings>#include <osg/DisplaySettings>#include <osg/FrameStamp>#include <osg/Light>#include <osg/Matrixd>#include <osg/Matrixf>#include <osg/Node>#include <osg/NodeVisitor>#include <osg/Object>#include <osg/RenderInfo>#include <osg/State>#include <osg/StateSet>#include <osg/Vec3>#include <osg/Vec4>#include <osg/View>#include <osg/Viewport>#include <osgUtil/CullVisitor>#include <osgUtil/RenderStage>#include <osgUtil/SceneView>#include <osgUtil/StateGraph>#include <osgUtil/Statistics>// Must undefine IN and OUT macros defined in Windows headers#ifdef IN#undef IN#endif#ifdef OUT#undef OUT#endifTYPE_NAME_ALIAS(osgUtil::SceneView::Options, osgUtil::SceneView::LightingMode)BEGIN_ENUM_REFLECTOR(osgUtil::SceneView::Options) I_DeclaringFile("osgUtil/SceneView"); I_EnumLabel(osgUtil::SceneView::NO_SCENEVIEW_LIGHT); I_EnumLabel(osgUtil::SceneView::HEADLIGHT); I_EnumLabel(osgUtil::SceneView::SKY_LIGHT); I_EnumLabel(osgUtil::SceneView::COMPILE_GLOBJECTS_AT_INIT); I_EnumLabel(osgUtil::SceneView::STANDARD_SETTINGS);END_REFLECTORBEGIN_ENUM_REFLECTOR(osgUtil::SceneView::ActiveUniforms) I_DeclaringFile("osgUtil/SceneView"); I_EnumLabel(osgUtil::SceneView::FRAME_NUMBER_UNIFORM); I_EnumLabel(osgUtil::SceneView::FRAME_TIME_UNIFORM); I_EnumLabel(osgUtil::SceneView::DELTA_FRAME_TIME_UNIFORM); I_EnumLabel(osgUtil::SceneView::SIMULATION_TIME_UNIFORM); I_EnumLabel(osgUtil::SceneView::DELTA_SIMULATION_TIME_UNIFORM); I_EnumLabel(osgUtil::SceneView::VIEW_MATRIX_UNIFORM); I_EnumLabel(osgUtil::SceneView::VIEW_MATRIX_INVERSE_UNIFORM); I_EnumLabel(osgUtil::SceneView::DEFAULT_UNIFORMS); I_EnumLabel(osgUtil::SceneView::ALL_UNIFORMS);END_REFLECTORBEGIN_ENUM_REFLECTOR(osgUtil::SceneView::FusionDistanceMode) I_DeclaringFile("osgUtil/SceneView"); I_EnumLabel(osgUtil::SceneView::USE_FUSION_DISTANCE_VALUE); I_EnumLabel(osgUtil::SceneView::PROPORTIONAL_TO_SCREEN_DISTANCE);END_REFLECTORBEGIN_OBJECT_REFLECTOR(osgUtil::SceneView) I_DeclaringFile("osgUtil/SceneView"); I_BaseType(osg::Object); I_BaseType(osg::CullSettings); I_ConstructorWithDefaults1(IN, osg::DisplaySettings *, ds, NULL, Properties::NON_EXPLICIT, ____SceneView__osg_DisplaySettings_P1, "Construct a default scene view. ", ""); I_ConstructorWithDefaults2(IN, const osgUtil::SceneView &, sceneview, , IN, const osg::CopyOp &, copyop, osg::CopyOp(), ____SceneView__C5_SceneView_R1__C5_osg_CopyOp_R1, "", ""); I_Method0(osg::Object *, cloneType, Properties::VIRTUAL, __osg_Object_P1__cloneType, "Clone the type of an object, with Object* return type. ", "Must be defined by derived classes. "); I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, Properties::VIRTUAL, __osg_Object_P1__clone__C5_osg_CopyOp_R1, "Clone an object, with Object* return type. ", "Must be defined by derived classes. "); I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, Properties::VIRTUAL, __bool__isSameKindAs__C5_osg_Object_P1, "", ""); I_Method0(const char *, libraryName, Properties::VIRTUAL, __C5_char_P1__libraryName, "return the name of the object's library. ", "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); I_Method0(const char *, className, Properties::VIRTUAL, __C5_char_P1__className, "return the name of the object's class type. ", "Must be defined by derived classes. "); I_Method0(void, setDefaults, Properties::VIRTUAL, __void__setDefaults, "", ""); I_Method1(void, setDefaults, IN, unsigned int, options, Properties::VIRTUAL, __void__setDefaults__unsigned_int, "Set scene view to use default global state, light, camera and render visitor. ", ""); I_MethodWithDefaults2(void, setCamera, IN, osg::Camera *, camera, , IN, bool, assumeOwnershipOfCamera, true, Properties::NON_VIRTUAL, __void__setCamera__osg_Camera_P1__bool, "Set the camera used to represent the camera view of this SceneView. ", ""); I_Method0(osg::Camera *, getCamera, Properties::NON_VIRTUAL, __osg_Camera_P1__getCamera, "Get the camera used to represent the camera view of this SceneView. ", ""); I_Method0(const osg::Camera *, getCamera, Properties::NON_VIRTUAL, __C5_osg_Camera_P1__getCamera, "Get the const camera used to represent the camera view of this SceneView. ", ""); I_Method1(void, setSceneData, IN, osg::Node *, node, Properties::NON_VIRTUAL, __void__setSceneData__osg_Node_P1, "Set the data to view. ", "The data will typically be an osg::Scene but can be any osg::Node type. "); I_MethodWithDefaults1(osg::Node *, getSceneData, IN, unsigned int, childNo, 0, Properties::NON_VIRTUAL, __osg_Node_P1__getSceneData__unsigned_int, "Get the scene data to view. ", "The data will typically be an osg::Scene but can be any osg::Node type. "); I_MethodWithDefaults1(const osg::Node *, getSceneData, IN, unsigned int, childNo, 0, Properties::NON_VIRTUAL, __C5_osg_Node_P1__getSceneData__unsigned_int, "Get the const scene data which to view. ", "The data will typically be an osg::Scene but can be any osg::Node type. "); I_Method0(unsigned int, getNumSceneData, Properties::NON_VIRTUAL, __unsigned_int__getNumSceneData, "Get the number of scene data subgraphs added to the SceneView's camera. ", ""); I_Method1(void, setViewport, IN, osg::Viewport *, viewport, Properties::NON_VIRTUAL, __void__setViewport__osg_Viewport_P1, "Set the viewport of the scene view to use specified osg::Viewport. ", ""); I_Method4(void, setViewport, IN, int, x, IN, int, y, IN, int, width, IN, int, height, Properties::NON_VIRTUAL, __void__setViewport__int__int__int__int, "Set the viewport of the scene view to specified dimensions. ", ""); I_Method0(osg::Viewport *, getViewport, Properties::NON_VIRTUAL, __osg_Viewport_P1__getViewport, "Get the viewport. ", ""); I_Method0(const osg::Viewport *, getViewport, Properties::NON_VIRTUAL, __C5_osg_Viewport_P1__getViewport, "Get the const viewport. ", ""); I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, vs, Properties::NON_VIRTUAL, __void__setDisplaySettings__osg_DisplaySettings_P1, "Set the DisplaySettings. ", ""); I_Method0(const osg::DisplaySettings *, getDisplaySettings, Properties::NON_VIRTUAL, __C5_osg_DisplaySettings_P1__getDisplaySettings, "Get the const DisplaySettings. ", ""); I_Method0(osg::DisplaySettings *, getDisplaySettings, Properties::NON_VIRTUAL, __osg_DisplaySettings_P1__getDisplaySettings, "Get the DisplaySettings. ", ""); I_Method1(void, setClearColor, IN, const osg::Vec4 &, color, Properties::NON_VIRTUAL, __void__setClearColor__C5_osg_Vec4_R1, "Set the color used in glClearColor(). ", "Defaults to an off blue color. "); I_Method0(const osg::Vec4 &, getClearColor, Properties::NON_VIRTUAL, __C5_osg_Vec4_R1__getClearColor, "Get the color used in glClearColor. ", ""); I_Method1(void, setRedrawInterlacedStereoStencilMask, IN, bool, flag, Properties::NON_VIRTUAL, __void__setRedrawInterlacedStereoStencilMask__bool, "Manually set the redraw interlaced stereo stencil mask request flag to control whether to redraw the stencil buffer on the next frame. ", ""); I_Method0(bool, getRedrawInterlacedStereoStencilMask, Properties::NON_VIRTUAL, __bool__getRedrawInterlacedStereoStencilMask, "Get the redraw interlaced stereo stencil mask request flag. ", ""); I_Method1(void, setGlobalStateSet, IN, osg::StateSet *, state, Properties::NON_VIRTUAL, __void__setGlobalStateSet__osg_StateSet_P1, "", ""); I_Method0(osg::StateSet *, getGlobalStateSet, Properties::NON_VIRTUAL, __osg_StateSet_P1__getGlobalStateSet, "", ""); I_Method0(const osg::StateSet *, getGlobalStateSet, Properties::NON_VIRTUAL, __C5_osg_StateSet_P1__getGlobalStateSet, "", ""); I_Method1(void, setLocalStateSet, IN, osg::StateSet *, state, Properties::NON_VIRTUAL, __void__setLocalStateSet__osg_StateSet_P1, "", ""); I_Method0(osg::StateSet *, getLocalStateSet, Properties::NON_VIRTUAL, __osg_StateSet_P1__getLocalStateSet, "", ""); I_Method0(const osg::StateSet *, getLocalStateSet, Properties::NON_VIRTUAL, __C5_osg_StateSet_P1__getLocalStateSet, "", ""); I_Method1(void, setActiveUniforms, IN, int, activeUniforms, Properties::NON_VIRTUAL, __void__setActiveUniforms__int, "Set the uniforms that SceneView should set set up on each frame. ", ""); I_Method0(int, getActiveUniforms, Properties::NON_VIRTUAL, __int__getActiveUniforms, "Get the uniforms that SceneView should set set up on each frame. ", ""); I_Method0(void, updateUniforms, Properties::NON_VIRTUAL, __void__updateUniforms, "", ""); I_Method1(void, setLightingMode, IN, osgUtil::SceneView::LightingMode, mode, Properties::NON_VIRTUAL, __void__setLightingMode__LightingMode, "", ""); I_Method0(osgUtil::SceneView::LightingMode, getLightingMode, Properties::NON_VIRTUAL, __LightingMode__getLightingMode, "", ""); I_Method1(void, setLight, IN, osg::Light *, light, Properties::NON_VIRTUAL, __void__setLight__osg_Light_P1, "", ""); I_Method0(osg::Light *, getLight, Properties::NON_VIRTUAL, __osg_Light_P1__getLight, "", ""); I_Method0(const osg::Light *, getLight, Properties::NON_VIRTUAL, __C5_osg_Light_P1__getLight, "", ""); I_Method1(void, setState, IN, osg::State *, state, Properties::NON_VIRTUAL, __void__setState__osg_State_P1, "", ""); I_Method0(osg::State *, getState, Properties::NON_VIRTUAL, __osg_State_P1__getState, "", ""); I_Method0(const osg::State *, getState, Properties::NON_VIRTUAL, __C5_osg_State_P1__getState, "", ""); I_Method1(void, setView, IN, osg::View *, view, Properties::NON_VIRTUAL, __void__setView__osg_View_P1, "", ""); I_Method0(osg::View *, getView, Properties::NON_VIRTUAL, __osg_View_P1__getView, "", ""); I_Method0(const osg::View *, getView, Properties::NON_VIRTUAL, __C5_osg_View_P1__getView, "",
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -