📄 node.cpp
字号:
"Get the description list of the node. ", ""); I_Method0(const osg::Node::DescriptionList &, getDescriptions, Properties::NON_VIRTUAL, __C5_DescriptionList_R1__getDescriptions, "Get the const description list of the const node. ", ""); I_Method1(const std::string &, getDescription, IN, unsigned int, i, Properties::NON_VIRTUAL, __C5_std_string_R1__getDescription__unsigned_int, "Get a single const description of the const node. ", ""); I_Method1(std::string &, getDescription, IN, unsigned int, i, Properties::NON_VIRTUAL, __std_string_R1__getDescription__unsigned_int, "Get a single description of the node. ", ""); I_Method0(unsigned int, getNumDescriptions, Properties::NON_VIRTUAL, __unsigned_int__getNumDescriptions, "Get the number of descriptions of the node. ", ""); I_Method1(void, addDescription, IN, const std::string &, desc, Properties::NON_VIRTUAL, __void__addDescription__C5_std_string_R1, "Add a description string to the node. ", ""); I_Method1(void, setStateSet, IN, osg::StateSet *, stateset, Properties::NON_VIRTUAL, __void__setStateSet__osg_StateSet_P1, "Set the node's StateSet. ", ""); I_Method0(osg::StateSet *, getOrCreateStateSet, Properties::NON_VIRTUAL, __osg_StateSet_P1__getOrCreateStateSet, "return the node's StateSet, if one does not already exist create it set the node and return the newly created StateSet. ", "This ensures that a valid StateSet is always returned and can be used directly. "); I_Method0(osg::StateSet *, getStateSet, Properties::NON_VIRTUAL, __osg_StateSet_P1__getStateSet, "Return the node's StateSet. ", "returns NULL if a stateset is not attached. "); I_Method0(const osg::StateSet *, getStateSet, Properties::NON_VIRTUAL, __C5_osg_StateSet_P1__getStateSet, "Return the node's const StateSet. ", "Returns NULL if a stateset is not attached. "); I_Method1(void, setInitialBound, IN, const osg::BoundingSphere &, bsphere, Properties::NON_VIRTUAL, __void__setInitialBound__C5_osg_BoundingSphere_R1, "Set the initial bounding volume to use when computing the overall bounding volume. ", ""); I_Method0(const osg::BoundingSphere &, getInitialBound, Properties::NON_VIRTUAL, __C5_BoundingSphere_R1__getInitialBound, "Set the initial bounding volume to use when computing the overall bounding volume. ", ""); I_Method0(void, dirtyBound, Properties::NON_VIRTUAL, __void__dirtyBound, "Mark this node's bounding sphere dirty. ", "Forcing it to be computed on the next call to getBound(). "); I_Method0(const osg::BoundingSphere &, getBound, Properties::NON_VIRTUAL, __C5_BoundingSphere_R1__getBound, "Get the bounding sphere of node. ", "Using lazy evaluation computes the bounding sphere if it is 'dirty'. "); I_Method0(osg::BoundingSphere, computeBound, Properties::VIRTUAL, __BoundingSphere__computeBound, "Compute the bounding sphere around Node's geometry or children. ", "This method is automatically called by getBound() when the bounding sphere has been marked dirty via dirtyBound(). "); I_Method1(void, setComputeBoundingSphereCallback, IN, osg::Node::ComputeBoundingSphereCallback *, callback, Properties::NON_VIRTUAL, __void__setComputeBoundingSphereCallback__ComputeBoundingSphereCallback_P1, "Set the compute bound callback to override the default computeBound. ", ""); I_Method0(osg::Node::ComputeBoundingSphereCallback *, getComputeBoundingSphereCallback, Properties::NON_VIRTUAL, __ComputeBoundingSphereCallback_P1__getComputeBoundingSphereCallback, "Get the compute bound callback. ", ""); I_Method0(const osg::Node::ComputeBoundingSphereCallback *, getComputeBoundingSphereCallback, Properties::NON_VIRTUAL, __C5_ComputeBoundingSphereCallback_P1__getComputeBoundingSphereCallback, "Get the const compute bound callback. ", ""); I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe, Properties::VIRTUAL, __void__setThreadSafeRefUnref__bool, "Set whether to use a mutex to ensure ref() and unref() are thread safe. ", ""); I_Method1(void, resizeGLObjectBuffers, IN, unsigned, int, Properties::VIRTUAL, __void__resizeGLObjectBuffers__unsigned, "Resize any per context GLObject buffers to specified size. ", ""); I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0, Properties::VIRTUAL, __void__releaseGLObjects__osg_State_P1, "If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ", "Otherwise, releases OpenGL objects for all graphics contexts. "); I_ProtectedMethod1(void, addParent, IN, osg::Group *, node, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__addParent__osg_Group_P1, "", ""); I_ProtectedMethod1(void, removeParent, IN, osg::Group *, node, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__removeParent__osg_Group_P1, "", ""); I_ProtectedMethod1(void, setNumChildrenRequiringUpdateTraversal, IN, unsigned int, num, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__setNumChildrenRequiringUpdateTraversal__unsigned_int, "", ""); I_ProtectedMethod1(void, setNumChildrenRequiringEventTraversal, IN, unsigned int, num, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__setNumChildrenRequiringEventTraversal__unsigned_int, "", ""); I_ProtectedMethod1(void, setNumChildrenWithCullingDisabled, IN, unsigned int, num, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__setNumChildrenWithCullingDisabled__unsigned_int, "", ""); I_ProtectedMethod1(void, setNumChildrenWithOccluderNodes, IN, unsigned int, num, Properties::NON_VIRTUAL, Properties::NON_CONST, __void__setNumChildrenWithOccluderNodes__unsigned_int, "", ""); I_SimpleProperty(const osg::BoundingSphere &, Bound, __C5_BoundingSphere_R1__getBound, 0); I_SimpleProperty(osg::Node::ComputeBoundingSphereCallback *, ComputeBoundingSphereCallback, __ComputeBoundingSphereCallback_P1__getComputeBoundingSphereCallback, __void__setComputeBoundingSphereCallback__ComputeBoundingSphereCallback_P1); I_SimpleProperty(osg::NodeCallback *, CullCallback, __NodeCallback_P1__getCullCallback, __void__setCullCallback__NodeCallback_P1); I_SimpleProperty(bool, CullingActive, __bool__getCullingActive, __void__setCullingActive__bool); I_ArrayProperty(const std::string &, Description, __C5_std_string_R1__getDescription__unsigned_int, 0, __unsigned_int__getNumDescriptions, __void__addDescription__C5_std_string_R1, 0, 0); I_SimpleProperty(const osg::Node::DescriptionList &, Descriptions, __C5_DescriptionList_R1__getDescriptions, __void__setDescriptions__C5_DescriptionList_R1); I_SimpleProperty(osg::NodeCallback *, EventCallback, __NodeCallback_P1__getEventCallback, __void__setEventCallback__NodeCallback_P1); I_SimpleProperty(const osg::BoundingSphere &, InitialBound, __C5_BoundingSphere_R1__getInitialBound, __void__setInitialBound__C5_osg_BoundingSphere_R1); I_SimpleProperty(osg::Node::NodeMask, NodeMask, __NodeMask__getNodeMask, __void__setNodeMask__NodeMask); I_ArrayProperty(osg::Group *, Parent, __Group_P1__getParent__unsigned_int, 0, __unsigned_int__getNumParents, 0, 0, 0); I_SimpleProperty(osg::Node::ParentList, Parents, __ParentList__getParents, 0); I_SimpleProperty(osg::StateSet *, StateSet, __osg_StateSet_P1__getStateSet, __void__setStateSet__osg_StateSet_P1); I_SimpleProperty(bool, ThreadSafeRefUnref, 0, __void__setThreadSafeRefUnref__bool); I_SimpleProperty(osg::NodeCallback *, UpdateCallback, __NodeCallback_P1__getUpdateCallback, __void__setUpdateCallback__NodeCallback_P1);END_REFLECTORBEGIN_OBJECT_REFLECTOR(osg::Node::ComputeBoundingSphereCallback) I_DeclaringFile("osg/Node"); I_BaseType(osg::Object); I_Constructor0(____ComputeBoundingSphereCallback, "", ""); I_Constructor2(IN, const osg::Node::ComputeBoundingSphereCallback &, x, IN, const osg::CopyOp &, x, ____ComputeBoundingSphereCallback__C5_ComputeBoundingSphereCallback_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::BoundingSphere, computeBound, IN, const osg::Node &, x, Properties::VIRTUAL, __BoundingSphere__computeBound__C5_osg_Node_R1, "", "");END_REFLECTORTYPE_NAME_ALIAS(std::vector< osg::Node * >, osg::NodePath)TYPE_NAME_ALIAS(std::vector< osg::NodePath >, osg::NodePathList)TYPE_NAME_ALIAS(std::vector< osg::Matrix >, osg::MatrixList)STD_VECTOR_REFLECTOR(std::vector< osg::Group * >)STD_VECTOR_REFLECTOR(std::vector< osg::Matrix >)STD_VECTOR_REFLECTOR(std::vector< osg::NodePath >)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -