drawable.cpp

来自「最新osg包」· C++ 代码 · 共 1,310 行 · 第 1/4 页

CPP
1,310
字号
	          "Get the non const CullCallback. ",	          "");	I_Method0(const osg::Drawable::CullCallback *, getCullCallback,	          Properties::NON_VIRTUAL,	          __C5_CullCallback_P1__getCullCallback,	          "Get the const CullCallback. ",	          "");	I_Method1(void, setDrawCallback, IN, osg::Drawable::DrawCallback *, dc,	          Properties::VIRTUAL,	          __void__setDrawCallback__DrawCallback_P1,	          "Set the DrawCallback which allows users to attach customize the drawing of existing Drawable object. ",	          "");	I_Method0(osg::Drawable::DrawCallback *, getDrawCallback,	          Properties::NON_VIRTUAL,	          __DrawCallback_P1__getDrawCallback,	          "Get the non const DrawCallback. ",	          "");	I_Method0(const osg::Drawable::DrawCallback *, getDrawCallback,	          Properties::NON_VIRTUAL,	          __C5_DrawCallback_P1__getDrawCallback,	          "Get the const DrawCallback. ",	          "");	I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo,	          Properties::PURE_VIRTUAL,	          __void__drawImplementation__RenderInfo_R1,	          "drawImplementation(RenderInfo&) is a pure virtual method for the actual implementation of OpenGL drawing calls, such as vertex arrays and primitives, that must be implemented in concrete subclasses of the Drawable base class, examples include osg::Geometry and osg::ShapeDrawable. ",	          " param renderInfo The osg::RenderInfo object that encapsulates the current rendering information including the osg::State OpenGL state for the current graphics context.  ");	I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x,	          Properties::VIRTUAL,	          __bool__supports__C5_AttributeFunctor_R1,	          "Return true if the Drawable subclass supports accept(AttributeFunctor&). ",	          "");	I_Method1(void, accept, IN, osg::Drawable::AttributeFunctor &, x,	          Properties::VIRTUAL,	          __void__accept__AttributeFunctor_R1,	          "accept an AttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has. ",	          "return true if functor handled by drawable, return false on failure of drawable to generate functor calls. ");	I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x,	          Properties::VIRTUAL,	          __bool__supports__C5_ConstAttributeFunctor_R1,	          "Return true if the Drawable subclass supports accept(ConstAttributeFunctor&). ",	          "");	I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, x,	          Properties::VIRTUAL,	          __void__accept__ConstAttributeFunctor_R1,	          "Accept an AttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has. ",	          "return true if functor handled by drawable, return false on failure of drawable to generate functor calls. ");	I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x,	          Properties::VIRTUAL,	          __bool__supports__C5_PrimitiveFunctor_R1,	          "Return true if the Drawable subclass supports accept(PrimitiveFunctor&). ",	          "");	I_Method1(void, accept, IN, osg::PrimitiveFunctor &, x,	          Properties::VIRTUAL,	          __void__accept__PrimitiveFunctor_R1,	          "Accept a PrimitiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. ",	          "return true if functor handled by drawable, return false on failure of drawable to generate functor calls. Note, PrimtiveFunctor only provides const access of the primitives, as primitives may be procedurally generated so one cannot modify it. ");	I_Method1(bool, supports, IN, const osg::PrimitiveIndexFunctor &, x,	          Properties::VIRTUAL,	          __bool__supports__C5_PrimitiveIndexFunctor_R1,	          "Return true if the Drawable subclass supports accept(PrimitiveIndexFunctor&). ",	          "");	I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, x,	          Properties::VIRTUAL,	          __void__accept__PrimitiveIndexFunctor_R1,	          "Accept a PrimitiveIndexFunctor and call its methods to tell it about the internal primitives that this Drawable has. ",	          "return true if functor handled by drawable, return false on failure of drawable to generate functor calls. Note, PrimtiveIndexFunctor only provide const access of the primitives, as primitives may be procedurally generated so one cannot modify it. ");	I_StaticMethodWithDefaults2(GLuint, generateDisplayList, IN, unsigned int, contextID, , IN, unsigned int, sizeHint, 0,	                            __GLuint__generateDisplayList__unsigned_int__unsigned_int_S,	                            "Return a OpenGL display list handle a newly generated or reused from display list cache. ",	                            "");	I_StaticMethod1(void, setMinimumNumberOfDisplayListsToRetainInCache, IN, unsigned int, minimum,	                __void__setMinimumNumberOfDisplayListsToRetainInCache__unsigned_int_S,	                "Set the minimum number of display lists to retain in the deleted display list cache. ",	                "");	I_StaticMethod0(unsigned int, getMinimumNumberOfDisplayListsToRetainInCache,	                __unsigned_int__getMinimumNumberOfDisplayListsToRetainInCache_S,	                "Get the minimum number of display lists to retain in the deleted display list cache. ",	                "");	I_StaticMethodWithDefaults3(void, deleteDisplayList, IN, unsigned int, contextID, , IN, GLuint, globj, , IN, unsigned int, sizeHint, 0,	                            __void__deleteDisplayList__unsigned_int__GLuint__unsigned_int_S,	                            "Use deleteDisplayList instead of glDeleteList to allow OpenGL display list to be cached until they can be deleted by the OpenGL context in which they were created, specified by contextID. ",	                            "");	I_StaticMethod1(void, flushAllDeletedDisplayLists, IN, unsigned int, contextID,	                __void__flushAllDeletedDisplayLists__unsigned_int_S,	                "Flush all the cached display list which need to be deleted in the OpenGL context related to contextID. ",	                "");	I_StaticMethod1(void, discardAllDeletedDisplayLists, IN, unsigned int, contextID,	                __void__discardAllDeletedDisplayLists__unsigned_int_S,	                "Flush all the cached display list which need to be deleted in the OpenGL context related to contextID. ",	                "Note, unlike flush no OpenGL calls are made, instead the handles are all removed. this call is useful for when an OpenGL context has been destroyed. ");	I_StaticMethod2(void, flushDeletedDisplayLists, IN, unsigned int, contextID, IN, double &, availableTime,	                __void__flushDeletedDisplayLists__unsigned_int__double_R1_S,	                "Flush the cached display list which need to be deleted in the OpenGL context related to contextID. ",	                "");	I_StaticMethod2(osg::Drawable::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,	                __Extensions_P1__getExtensions__unsigned_int__bool_S,	                "Function to call to get the extension of a specified context. ",	                "If the Extension object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object is only created with the graphics context associated with ContextID.. ");	I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Drawable::Extensions *, extensions,	                __void__setExtensions__unsigned_int__Extensions_P1_S,	                "setExtensions allows users to override the extensions across graphics contexts. ",	                "typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. ");	I_ProtectedMethod1(void, setBound, IN, const osg::BoundingBox &, bb,	                   Properties::NON_VIRTUAL,	                   Properties::CONST,	                   __void__setBound__C5_BoundingBox_R1,	                   "set the bounding box . ",	                   "");	I_ProtectedMethod1(void, addParent, IN, osg::Node *, node,	                   Properties::NON_VIRTUAL,	                   Properties::NON_CONST,	                   __void__addParent__osg_Node_P1,	                   "",	                   "");	I_ProtectedMethod1(void, removeParent, IN, osg::Node *, node,	                   Properties::NON_VIRTUAL,	                   Properties::NON_CONST,	                   __void__removeParent__osg_Node_P1,	                   "",	                   "");	I_ProtectedMethod1(void, setNumChildrenRequiringUpdateTraversal, IN, unsigned int, num,	                   Properties::NON_VIRTUAL,	                   Properties::NON_CONST,	                   __void__setNumChildrenRequiringUpdateTraversal__unsigned_int,	                   "",	                   "");	I_ProtectedMethod0(unsigned int, getNumChildrenRequiringUpdateTraversal,	                   Properties::NON_VIRTUAL,	                   Properties::CONST,	                   __unsigned_int__getNumChildrenRequiringUpdateTraversal,	                   "",	                   "");	I_ProtectedMethod1(void, setNumChildrenRequiringEventTraversal, IN, unsigned int, num,	                   Properties::NON_VIRTUAL,	                   Properties::NON_CONST,	                   __void__setNumChildrenRequiringEventTraversal__unsigned_int,	                   "",	                   "");	I_ProtectedMethod0(unsigned int, getNumChildrenRequiringEventTraversal,	                   Properties::NON_VIRTUAL,	                   Properties::CONST,	                   __unsigned_int__getNumChildrenRequiringEventTraversal,	                   "",	                   "");	I_SimpleProperty(const osg::BoundingBox &, Bound, 	                 __C5_BoundingBox_R1__getBound, 	                 0);	I_SimpleProperty(osg::Drawable::ComputeBoundingBoxCallback *, ComputeBoundingBoxCallback, 	                 __ComputeBoundingBoxCallback_P1__getComputeBoundingBoxCallback, 	                 __void__setComputeBoundingBoxCallback__ComputeBoundingBoxCallback_P1);	I_SimpleProperty(osg::Drawable::CullCallback *, CullCallback, 	                 __CullCallback_P1__getCullCallback, 	                 __void__setCullCallback__CullCallback_P1);	I_SimpleProperty(osg::Drawable::DrawCallback *, DrawCallback, 	                 __DrawCallback_P1__getDrawCallback, 	                 __void__setDrawCallback__DrawCallback_P1);	I_SimpleProperty(osg::Drawable::EventCallback *, EventCallback, 	                 __EventCallback_P1__getEventCallback, 	                 __void__setEventCallback__EventCallback_P1);	I_SimpleProperty(unsigned int, GLObjectSizeHint, 	                 __unsigned_int__getGLObjectSizeHint, 	                 0);	I_SimpleProperty(const osg::BoundingBox &, InitialBound, 	                 __C5_BoundingBox_R1__getInitialBound, 	                 __void__setInitialBound__C5_osg_BoundingBox_R1);	I_ArrayProperty(osg::Node *, Parent, 	                __Node_P1__getParent__unsigned_int, 	                0, 	                __unsigned_int__getNumParents, 	                0, 	                0, 	                0);	I_SimpleProperty(osg::Drawable::ParentList, Parents, 	                 __ParentList__getParents, 	                 0);	I_SimpleProperty(osg::Shape *, Shape, 	                 __Shape_P1__getShape, 	                 __void__setShape__Shape_P1);	I_SimpleProperty(osg::StateSet *, StateSet, 	                 __StateSet_P1__getStateSet, 	                 __void__setStateSet__StateSet_P1);	I_SimpleProperty(bool, SupportsDisplayList, 	                 __bool__getSupportsDisplayList, 	                 __void__setSupportsDisplayList__bool);	I_SimpleProperty(bool, ThreadSafeRefUnref, 	                 0, 	                 __void__setThreadSafeRefUnref__bool);	I_SimpleProperty(osg::Drawable::UpdateCallback *, UpdateCallback, 	                 __UpdateCallback_P1__getUpdateCallback, 	                 __void__setUpdateCallback__UpdateCallback_P1);	I_SimpleProperty(bool, UseDisplayList, 	                 __bool__getUseDisplayList, 	                 __void__setUseDisplayList__bool);	I_SimpleProperty(bool, UseVertexBufferObjects, 	                 __bool__getUseVertexBufferObjects, 	                 __void__setUseVertexBufferObjects__bool);END_REFLECTORBEGIN_VALUE_REFLECTOR(osg::Drawable::AttributeFunctor)	I_DeclaringFile("osg/Drawable");	I_Constructor0(____AttributeFunctor,	               "",	               "");	I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, GLbyte *, x,	          Properties::VIRTUAL,	          __void__apply__AttributeType__unsigned__GLbyte_P1,	          "",	          "");	I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, GLshort *, x,	          Properties::VIRTUAL,	          __void__apply__AttributeType__unsigned__GLshort_P1,	          "",	          "");	I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, GLint *, x,	          Properties::VIRTUAL,	          __void__apply__AttributeType__unsigned__GLint_P1,	          "",	          "");	I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, GLubyte *, x,	          Properties::VIRTUAL,	          __void__apply__AttributeType__unsigned__GLubyte_P1,	          "",	          "");	I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, GLushort *, x,	          Properties::VIRTUAL,	          __void__apply__AttributeType__unsigned__GLushort_P1,	          "",	          "");	I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, GLuint *, x,	          Properties::VIRTUAL,	          __void__apply__AttributeType__unsigned__GLuint_P1,	          "",	          "");	I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, float *, x,	          Properties::VIRTUAL,	          __void__apply__AttributeType__unsigned__float_P1,	          "",	          "");	I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec2 *, x,	          Properties::VIRTUAL,	          __void__apply__AttributeType__unsigned__Vec2_P1,	          "",	          "");	I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec3 *, x,	          Properties::VIRTUAL,	          __void__apply__AttributeType__unsigned__Vec3_P1,	          "",	          "");	I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec4 *, x,	          Properties::VIRTUAL,	          __void__apply__AttributeType__unsigned__Vec4_P1,	          "",	          "");	I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec4ub *, x,	          Properties::VIRTUAL,	          __void__apply__AttributeType__unsigned__Vec4ub_P1,	          "",	          "");	I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, double *, x,	          Properties::VIRTUAL,	          __void__apply__AttributeType__unsigned__double_P1,	          "",	          "");	I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec2d *, x,	          Properties::VIRTUAL,	          __void__apply__AttributeType__unsigned__Vec2d_P1,	          "",	          "");	I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec3d *, x,	          Properties::VIRTUAL,	          __void__apply__AttributeType__unsigned__Vec3d_P1,	          "",	          "");	I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec4d *, x,	          Properties::VIRTUAL,	          __void__apply__AttributeType__unsigned__Vec4d_P1,	          "",	          "");END_REFLECTORBEGIN_OBJECT_REFLECTOR(osg::Drawable::ComputeBoundingBoxCallback)	I_DeclaringFile("osg/Drawable");	I_BaseType(osg::Object);	I_Constructor0(____ComputeBoundingBoxCallback,	               "",	               "");	I_Constructor2(IN, const osg::Drawable::ComputeBoundingBoxCallback &, x, IN, const osg::CopyOp &, x,	               ____ComputeBoundingBoxCallback__C5_ComputeBoundingBoxCallback_R1__C5_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_Method1(osg::BoundingBox, computeBound, IN, const osg::Drawable &, x,	          Properties::VIRTUAL,	          __BoundingBox__computeBound__C5_osg_Drawable_R1,	          "",	          "");END_REFLECTORBEGIN_VALUE_REFLECTOR(osg::Drawable::ConstAttributeFunctor)	I_DeclaringFile("osg/Drawable");	I_Constructor0(____ConstAttributeFunctor,	               "",	               "");

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?