📄 viewerbase.cpp
字号:
Properties::NON_VIRTUAL, __void__setUpdateVisitor__osgUtil_UpdateVisitor_P1, "Set the UpdateVisitor. ", ""); I_Method0(osgUtil::UpdateVisitor *, getUpdateVisitor, Properties::NON_VIRTUAL, __osgUtil_UpdateVisitor_P1__getUpdateVisitor, "Get the UpdateVisitor. ", ""); I_Method0(const osgUtil::UpdateVisitor *, getUpdateVisitor, Properties::NON_VIRTUAL, __C5_osgUtil_UpdateVisitor_P1__getUpdateVisitor, "Get the const UpdateVisitor. ", ""); I_Method1(void, setUpdateOperations, IN, osg::OperationQueue *, operations, Properties::NON_VIRTUAL, __void__setUpdateOperations__osg_OperationQueue_P1, "Set the Update OperationQueue. ", ""); I_Method0(osg::OperationQueue *, getUpdateOperations, Properties::NON_VIRTUAL, __osg_OperationQueue_P1__getUpdateOperations, "Get the Update OperationQueue. ", ""); I_Method0(const osg::OperationQueue *, getUpdateOperations, Properties::NON_VIRTUAL, __C5_osg_OperationQueue_P1__getUpdateOperations, "Get the const Update OperationQueue. ", ""); I_Method1(void, addUpdateOperation, IN, osg::Operation *, operation, Properties::NON_VIRTUAL, __void__addUpdateOperation__osg_Operation_P1, "Add an update operation. ", ""); I_Method1(void, removeUpdateOperation, IN, osg::Operation *, operation, Properties::NON_VIRTUAL, __void__removeUpdateOperation__osg_Operation_P1, "Remove an update operation. ", ""); I_Method1(void, setRealizeOperation, IN, osg::Operation *, op, Properties::NON_VIRTUAL, __void__setRealizeOperation__osg_Operation_P1, "Set the graphics operation to call on realization of the viewers graphics windows. ", ""); I_Method0(osg::Operation *, getRealizeOperation, Properties::NON_VIRTUAL, __osg_Operation_P1__getRealizeOperation, "Get the graphics operation to call on realization of the viewers graphics windows. ", ""); I_Method0(void, checkWindowStatus, Properties::NON_VIRTUAL, __void__checkWindowStatus, "Check to see if windows are still open, if not set viewer done to true. ", ""); I_Method0(int, run, Properties::PURE_VIRTUAL, __int__run, "Execute a main frame loop. ", "Equivalent to while (!viewer.done()) viewer.frame(); Also calls realize() if the viewer is not already realized, and installs trackball manipulator if one is not already assigned. "); I_MethodWithDefaults1(void, frame, IN, double, simulationTime, USE_REFERENCE_TIME, Properties::VIRTUAL, __void__frame__double, "Render a complete new frame. ", "Calls advance(), eventTraversal(), updateTraversal(), renderingTraversals(). "); I_MethodWithDefaults1(void, advance, IN, double, simulationTime, USE_REFERENCE_TIME, Properties::PURE_VIRTUAL, __void__advance__double, "", ""); I_Method0(void, eventTraversal, Properties::PURE_VIRTUAL, __void__eventTraversal, "", ""); I_Method0(void, updateTraversal, Properties::PURE_VIRTUAL, __void__updateTraversal, "", ""); I_Method0(void, renderingTraversals, Properties::VIRTUAL, __void__renderingTraversals, "", ""); I_MethodWithDefaults2(void, getCameras, IN, osgViewer::ViewerBase::Cameras &, cameras, , IN, bool, onlyActive, true, Properties::PURE_VIRTUAL, __void__getCameras__Cameras_R1__bool, "", ""); I_MethodWithDefaults2(void, getContexts, IN, osgViewer::ViewerBase::Contexts &, contexts, , IN, bool, onlyValid, true, Properties::PURE_VIRTUAL, __void__getContexts__Contexts_R1__bool, "", ""); I_MethodWithDefaults2(void, getWindows, IN, osgViewer::ViewerBase::Windows &, windows, , IN, bool, onlyValid, true, Properties::VIRTUAL, __void__getWindows__Windows_R1__bool, "", ""); I_MethodWithDefaults2(void, getAllThreads, IN, osgViewer::ViewerBase::Threads &, threads, , IN, bool, onlyActive, true, Properties::PURE_VIRTUAL, __void__getAllThreads__Threads_R1__bool, "", ""); I_MethodWithDefaults2(void, getOperationThreads, IN, osgViewer::ViewerBase::OperationThreads &, threads, , IN, bool, onlyActive, true, Properties::PURE_VIRTUAL, __void__getOperationThreads__OperationThreads_R1__bool, "", ""); I_MethodWithDefaults2(void, getScenes, IN, osgViewer::ViewerBase::Scenes &, scenes, , IN, bool, onlyValid, true, Properties::PURE_VIRTUAL, __void__getScenes__Scenes_R1__bool, "", ""); I_MethodWithDefaults2(void, getViews, IN, osgViewer::ViewerBase::Views &, views, , IN, bool, onlyValid, true, Properties::PURE_VIRTUAL, __void__getViews__Views_R1__bool, "", ""); I_Method0(double, elapsedTime, Properties::PURE_VIRTUAL, __double__elapsedTime, "", ""); I_Method0(osg::FrameStamp *, getViewerFrameStamp, Properties::PURE_VIRTUAL, __osg_FrameStamp_P1__getViewerFrameStamp, "", ""); I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, Properties::PURE_VIRTUAL, __void__getUsage__osg_ApplicationUsage_R1, "Get the keyboard and mouse usage of this viewer. ", ""); I_ProtectedMethod1(void, makeCurrent, IN, osg::GraphicsContext *, gc, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__makeCurrent__osg_GraphicsContext_P1, "", ""); I_ProtectedMethod0(void, releaseContext, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__releaseContext, "", ""); I_ProtectedMethod0(void, viewerInit, Properties::PURE_VIRTUAL, Properties::NON_CONST, __void__viewerInit, "", ""); I_SimpleProperty(bool, Done, 0, __void__setDone__bool); I_SimpleProperty(osgViewer::ViewerBase::BarrierPosition, EndBarrierPosition, __BarrierPosition__getEndBarrierPosition, __void__setEndBarrierPosition__BarrierPosition); I_SimpleProperty(osgGA::EventVisitor *, EventVisitor, __osgGA_EventVisitor_P1__getEventVisitor, __void__setEventVisitor__osgGA_EventVisitor_P1); I_SimpleProperty(int, KeyEventSetsDone, __int__getKeyEventSetsDone, __void__setKeyEventSetsDone__int); I_SimpleProperty(bool, QuitEventSetsDone, __bool__getQuitEventSetsDone, __void__setQuitEventSetsDone__bool); I_SimpleProperty(osg::Operation *, RealizeOperation, __osg_Operation_P1__getRealizeOperation, __void__setRealizeOperation__osg_Operation_P1); I_SimpleProperty(bool, ReleaseContextAtEndOfFrameHint, __bool__getReleaseContextAtEndOfFrameHint, __void__setReleaseContextAtEndOfFrameHint__bool); I_SimpleProperty(osg::Stats *, Stats, __osg_Stats_P1__getStats, __void__setStats__osg_Stats_P1); I_SimpleProperty(osgViewer::ViewerBase::ThreadingModel, ThreadingModel, __ThreadingModel__getThreadingModel, __void__setThreadingModel__ThreadingModel); I_SimpleProperty(osg::OperationQueue *, UpdateOperations, __osg_OperationQueue_P1__getUpdateOperations, __void__setUpdateOperations__osg_OperationQueue_P1); I_SimpleProperty(osgUtil::UpdateVisitor *, UpdateVisitor, __osgUtil_UpdateVisitor_P1__getUpdateVisitor, __void__setUpdateVisitor__osgUtil_UpdateVisitor_P1); I_SimpleProperty(osg::FrameStamp *, ViewerFrameStamp, __osg_FrameStamp_P1__getViewerFrameStamp, 0);END_REFLECTORSTD_VECTOR_REFLECTOR(std::vector< OpenThreads::Thread * >)STD_VECTOR_REFLECTOR(std::vector< osg::Camera * >)STD_VECTOR_REFLECTOR(std::vector< osg::OperationThread * >)STD_VECTOR_REFLECTOR(std::vector< osgViewer::GraphicsWindow * >)STD_VECTOR_REFLECTOR(std::vector< osgViewer::Scene * >)STD_VECTOR_REFLECTOR(std::vector< osgViewer::View * >)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -