📄 camera.cpp
字号:
// ***************************************************************************//// Generated automatically by genwrapper.// Please DO NOT EDIT this file!//// ***************************************************************************#include <osgIntrospection/ReflectionMacros>#include <osgIntrospection/TypedMethodInfo>#include <osgIntrospection/StaticMethodInfo>#include <osgIntrospection/Attributes>#include <OpenThreads/Mutex>#include <osg/Camera>#include <osg/ColorMask>#include <osg/CopyOp>#include <osg/CullSettings>#include <osg/DisplaySettings>#include <osg/GraphicsContext>#include <osg/GraphicsThread>#include <osg/Image>#include <osg/Matrix>#include <osg/Matrixd>#include <osg/Matrixf>#include <osg/NodeVisitor>#include <osg/Object>#include <osg/OperationThread>#include <osg/RenderInfo>#include <osg/State>#include <osg/Stats>#include <osg/Texture>#include <osg/Vec3d>#include <osg/Vec3f>#include <osg/Vec4>#include <osg/View>#include <osg/Viewport>// Must undefine IN and OUT macros defined in Windows headers#ifdef IN#undef IN#endif#ifdef OUT#undef OUT#endifTYPE_NAME_ALIAS(std::map< osg::Camera::BufferComponent COMMA osg::Camera::Attachment >, osg::Camera::BufferAttachmentMap)BEGIN_ENUM_REFLECTOR(osg::Camera::TransformOrder) I_DeclaringFile("osg/Camera"); I_EnumLabel(osg::Camera::PRE_MULTIPLY); I_EnumLabel(osg::Camera::POST_MULTIPLY);END_REFLECTORBEGIN_ENUM_REFLECTOR(osg::Camera::ProjectionResizePolicy) I_DeclaringFile("osg/Camera"); I_EnumLabel(osg::Camera::FIXED); I_EnumLabel(osg::Camera::HORIZONTAL); I_EnumLabel(osg::Camera::VERTICAL);END_REFLECTORBEGIN_ENUM_REFLECTOR(osg::Camera::RenderOrder) I_DeclaringFile("osg/Camera"); I_EnumLabel(osg::Camera::PRE_RENDER); I_EnumLabel(osg::Camera::NESTED_RENDER); I_EnumLabel(osg::Camera::POST_RENDER);END_REFLECTORBEGIN_ENUM_REFLECTOR(osg::Camera::RenderTargetImplementation) I_DeclaringFile("osg/Camera"); I_EnumLabel(osg::Camera::FRAME_BUFFER_OBJECT); I_EnumLabel(osg::Camera::PIXEL_BUFFER_RTT); I_EnumLabel(osg::Camera::PIXEL_BUFFER); I_EnumLabel(osg::Camera::FRAME_BUFFER); I_EnumLabel(osg::Camera::SEPERATE_WINDOW);END_REFLECTORBEGIN_ENUM_REFLECTOR(osg::Camera::BufferComponent) I_DeclaringFile("osg/Camera"); I_EnumLabel(osg::Camera::DEPTH_BUFFER); I_EnumLabel(osg::Camera::STENCIL_BUFFER); I_EnumLabel(osg::Camera::COLOR_BUFFER); I_EnumLabel(osg::Camera::COLOR_BUFFER0); I_EnumLabel(osg::Camera::COLOR_BUFFER1); I_EnumLabel(osg::Camera::COLOR_BUFFER2); I_EnumLabel(osg::Camera::COLOR_BUFFER3); I_EnumLabel(osg::Camera::COLOR_BUFFER4); I_EnumLabel(osg::Camera::COLOR_BUFFER5); I_EnumLabel(osg::Camera::COLOR_BUFFER6); I_EnumLabel(osg::Camera::COLOR_BUFFER7); I_EnumLabel(osg::Camera::COLOR_BUFFER8); I_EnumLabel(osg::Camera::COLOR_BUFFER9); I_EnumLabel(osg::Camera::COLOR_BUFFER10); I_EnumLabel(osg::Camera::COLOR_BUFFER11); I_EnumLabel(osg::Camera::COLOR_BUFFER12); I_EnumLabel(osg::Camera::COLOR_BUFFER13); I_EnumLabel(osg::Camera::COLOR_BUFFER14); I_EnumLabel(osg::Camera::COLOR_BUFFER15);END_REFLECTORBEGIN_OBJECT_REFLECTOR(osg::Camera) I_DeclaringFile("osg/Camera"); I_BaseType(osg::Transform); I_BaseType(osg::CullSettings); I_Constructor0(____Camera, "", ""); I_ConstructorWithDefaults2(IN, const osg::Camera &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, ____Camera__C5_Camera_R1__C5_CopyOp_R1, "Copy constructor using CopyOp to manage deep vs shallow copy. ", ""); I_Method0(osg::Object *, cloneType, Properties::VIRTUAL, __osg_Object_P1__cloneType, "clone an object of the same type as the node. ", ""); I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, Properties::VIRTUAL, __osg_Object_P1__clone__C5_osg_CopyOp_R1, "return a clone of a node, with Object* return type. ", ""); I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, Properties::VIRTUAL, __bool__isSameKindAs__C5_osg_Object_P1, "return true if this and obj are of the same kind of object. ", ""); I_Method0(const char *, className, Properties::VIRTUAL, __C5_char_P1__className, "return the name of the node's class type. ", ""); I_Method0(const char *, libraryName, Properties::VIRTUAL, __C5_char_P1__libraryName, "return the name of the node's library. ", ""); I_Method1(void, accept, IN, osg::NodeVisitor &, nv, Properties::VIRTUAL, __void__accept__osg_NodeVisitor_R1, "Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ", ""); I_Method1(void, setView, IN, osg::View *, view, Properties::NON_VIRTUAL, __void__setView__View_P1, "Set the View that this Camera is part of. ", ""); I_Method0(osg::View *, getView, Properties::NON_VIRTUAL, __View_P1__getView, "Get the View that this Camera is part of. ", ""); I_Method0(const osg::View *, getView, Properties::NON_VIRTUAL, __C5_View_P1__getView, "Get the const View that this Camera is part of. ", ""); I_Method1(void, setStats, IN, osg::Stats *, stats, Properties::NON_VIRTUAL, __void__setStats__osg_Stats_P1, "Set the Stats object used for collect various frame related timing and scene graph stats. ", ""); I_Method0(osg::Stats *, getStats, Properties::NON_VIRTUAL, __osg_Stats_P1__getStats, "Get the Stats object. ", ""); I_Method0(const osg::Stats *, getStats, Properties::NON_VIRTUAL, __C5_osg_Stats_P1__getStats, "Get the const Stats object. ", ""); I_Method1(void, setAllowEventFocus, IN, bool, focus, Properties::NON_VIRTUAL, __void__setAllowEventFocus__bool, "Set whether this camera allows events to be generated by the associated graphics window to be associated with this camera. ", ""); I_Method0(bool, getAllowEventFocus, Properties::NON_VIRTUAL, __bool__getAllowEventFocus, "Get whether this camera allows events to be generated by the associated graphics window to be associated with this camera. ", ""); I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, ds, Properties::NON_VIRTUAL, __void__setDisplaySettings__osg_DisplaySettings_P1, "Set the DsplaySettings object associated with this view. ", ""); I_Method0(osg::DisplaySettings *, getDisplaySettings, Properties::NON_VIRTUAL, __osg_DisplaySettings_P1__getDisplaySettings, "Set the DsplaySettings object associated with this view. ", ""); I_Method0(const osg::DisplaySettings *, getDisplaySettings, Properties::NON_VIRTUAL, __C5_osg_DisplaySettings_P1__getDisplaySettings, "Set the DsplaySettings object associated with this view. ", ""); I_Method1(void, setClearMask, IN, GLbitfield, mask, Properties::NON_VIRTUAL, __void__setClearMask__GLbitfield, "Set the clear mask used in glClear(. ", ".). Defaults to GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT. "); I_Method0(GLbitfield, getClearMask, Properties::NON_VIRTUAL, __GLbitfield__getClearMask, "Get the clear mask. ", ""); I_Method1(void, setClearColor, IN, const osg::Vec4 &, color, Properties::NON_VIRTUAL, __void__setClearColor__C5_osg_Vec4_R1, "Set the clear color used in glClearColor(. ", ".). glClearColor is only called if mask & GL_COLOR_BUFFER_BIT is true "); I_Method0(const osg::Vec4 &, getClearColor, Properties::NON_VIRTUAL, __C5_osg_Vec4_R1__getClearColor, "Get the clear color. ", ""); I_Method1(void, setClearAccum, IN, const osg::Vec4 &, color, Properties::NON_VIRTUAL, __void__setClearAccum__C5_osg_Vec4_R1, "Set the clear accum used in glClearAccum(. ", ".). glClearAcumm is only called if mask & GL_ACCUM_BUFFER_BIT is true. "); I_Method0(const osg::Vec4 &, getClearAccum, Properties::NON_VIRTUAL, __C5_osg_Vec4_R1__getClearAccum, "Get the clear accum value. ", ""); I_Method1(void, setClearDepth, IN, double, depth, Properties::NON_VIRTUAL, __void__setClearDepth__double, "Set the clear depth used in glClearDepth(. ", ".). Defaults to 1.0 glClearDepth is only called if mask & GL_DEPTH_BUFFER_BIT is true. "); I_Method0(double, getClearDepth, Properties::NON_VIRTUAL, __double__getClearDepth, "Get the clear depth value. ", ""); I_Method1(void, setClearStencil, IN, int, stencil, Properties::NON_VIRTUAL, __void__setClearStencil__int, "Set the clear stencil value used in glClearStencil(). ", "Defaults to 0; glClearStencil is only called if mask & GL_STENCIL_BUFFER_BIT is true "); I_Method0(int, getClearStencil, Properties::NON_VIRTUAL, __int__getClearStencil, "Get the clear stencil value. ", ""); I_Method1(void, setColorMask, IN, osg::ColorMask *, colorMask, Properties::NON_VIRTUAL, __void__setColorMask__osg_ColorMask_P1, "Set the color mask of the camera to use specified osg::ColorMask. ", ""); I_Method4(void, setColorMask, IN, bool, red, IN, bool, green, IN, bool, blue, IN, bool, alpha, Properties::NON_VIRTUAL, __void__setColorMask__bool__bool__bool__bool, "Set the color mask of the camera to specified values. ", ""); I_Method0(const osg::ColorMask *, getColorMask, Properties::NON_VIRTUAL, __C5_ColorMask_P1__getColorMask, "Get the const ColorMask. ", ""); I_Method0(osg::ColorMask *, getColorMask, Properties::NON_VIRTUAL, __ColorMask_P1__getColorMask, "Get the ColorMask. ", ""); I_Method1(void, setViewport, IN, osg::Viewport *, viewport, Properties::NON_VIRTUAL, __void__setViewport__osg_Viewport_P1, "Set the viewport of the camera to use specified osg::Viewport. ", ""); I_Method4(void, setViewport, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -