📄 shape.cpp
字号:
""); I_Method1(osg::Shape *, getChild, IN, unsigned int, i, Properties::NON_VIRTUAL, __Shape_P1__getChild__unsigned_int, "Get a child. ", ""); I_Method1(const osg::Shape *, getChild, IN, unsigned int, i, Properties::NON_VIRTUAL, __C5_Shape_P1__getChild__unsigned_int, "Get a const child. ", ""); I_Method1(void, addChild, IN, osg::Shape *, shape, Properties::NON_VIRTUAL, __void__addChild__Shape_P1, "Add a child to the list. ", ""); I_Method1(void, removeChild, IN, unsigned int, i, Properties::NON_VIRTUAL, __void__removeChild__unsigned_int, "remove a child from the list. ", ""); I_Method1(unsigned int, findChildNo, IN, osg::Shape *, shape, Properties::NON_VIRTUAL, __unsigned_int__findChildNo__Shape_P1, "find the index number of child, if child is not found then it returns getNumChildren(), so should be used in similar style to STL's result!=end(). ", ""); I_ArrayProperty(osg::Shape *, Child, __Shape_P1__getChild__unsigned_int, 0, __unsigned_int__getNumChildren, __void__addChild__Shape_P1, 0, __void__removeChild__unsigned_int); I_SimpleProperty(osg::Shape *, Shape, __Shape_P1__getShape, __void__setShape__Shape_P1);END_REFLECTORBEGIN_OBJECT_REFLECTOR(osg::Cone) I_DeclaringFile("osg/Shape"); I_BaseType(osg::Shape); I_Constructor0(____Cone, "", ""); I_Constructor3(IN, const osg::Vec3 &, center, IN, float, radius, IN, float, height, ____Cone__C5_osg_Vec3_R1__float__float, "", ""); I_ConstructorWithDefaults2(IN, const osg::Cone &, cone, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, ____Cone__C5_Cone_R1__C5_CopyOp_R1, "", ""); I_Method0(osg::Object *, cloneType, Properties::VIRTUAL, __osg_Object_P1__cloneType, "Clone the type of an attribute, 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 attribute, 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, "return true if this and obj are of the same kind of object. ", ""); I_Method0(const char *, libraryName, Properties::VIRTUAL, __C5_char_P1__libraryName, "return the name of the attribute's library. ", ""); I_Method0(const char *, className, Properties::VIRTUAL, __C5_char_P1__className, "return the name of the attribute's class type. ", ""); I_Method1(void, accept, IN, osg::ShapeVisitor &, sv, Properties::VIRTUAL, __void__accept__osg_ShapeVisitor_R1, "accept a non const shape visitor which can be used on non const shape objects. ", "Must be defined by derived classes. "); I_Method1(void, accept, IN, osg::ConstShapeVisitor &, csv, Properties::VIRTUAL, __void__accept__osg_ConstShapeVisitor_R1, "accept a const shape visitor which can be used on const shape objects. ", "Must be defined by derived classes. "); I_Method0(bool, valid, Properties::NON_VIRTUAL, __bool__valid, "", ""); I_Method3(void, set, IN, const osg::Vec3 &, center, IN, float, radius, IN, float, height, Properties::NON_VIRTUAL, __void__set__C5_Vec3_R1__float__float, "", ""); I_Method1(void, setCenter, IN, const osg::Vec3 &, center, Properties::NON_VIRTUAL, __void__setCenter__C5_Vec3_R1, "", ""); I_Method0(const osg::Vec3 &, getCenter, Properties::NON_VIRTUAL, __C5_Vec3_R1__getCenter, "", ""); I_Method1(void, setRadius, IN, float, radius, Properties::NON_VIRTUAL, __void__setRadius__float, "", ""); I_Method0(float, getRadius, Properties::NON_VIRTUAL, __float__getRadius, "", ""); I_Method1(void, setHeight, IN, float, height, Properties::NON_VIRTUAL, __void__setHeight__float, "", ""); I_Method0(float, getHeight, Properties::NON_VIRTUAL, __float__getHeight, "", ""); I_Method1(void, setRotation, IN, const osg::Quat &, quat, Properties::NON_VIRTUAL, __void__setRotation__C5_Quat_R1, "", ""); I_Method0(const osg::Quat &, getRotation, Properties::NON_VIRTUAL, __C5_Quat_R1__getRotation, "", ""); I_Method0(osg::Matrix, computeRotationMatrix, Properties::NON_VIRTUAL, __Matrix__computeRotationMatrix, "", ""); I_Method0(bool, zeroRotation, Properties::NON_VIRTUAL, __bool__zeroRotation, "", ""); I_Method0(float, getBaseOffsetFactor, Properties::NON_VIRTUAL, __float__getBaseOffsetFactor, "", ""); I_Method0(float, getBaseOffset, Properties::NON_VIRTUAL, __float__getBaseOffset, "", ""); I_SimpleProperty(float, BaseOffset, __float__getBaseOffset, 0); I_SimpleProperty(float, BaseOffsetFactor, __float__getBaseOffsetFactor, 0); I_SimpleProperty(const osg::Vec3 &, Center, __C5_Vec3_R1__getCenter, __void__setCenter__C5_Vec3_R1); I_SimpleProperty(float, Height, __float__getHeight, __void__setHeight__float); I_SimpleProperty(float, Radius, __float__getRadius, __void__setRadius__float); I_SimpleProperty(const osg::Quat &, Rotation, __C5_Quat_R1__getRotation, __void__setRotation__C5_Quat_R1);END_REFLECTORBEGIN_VALUE_REFLECTOR(osg::ConstShapeVisitor) I_DeclaringFile("osg/Shape"); I_Constructor0(____ConstShapeVisitor, "", ""); I_Method1(void, apply, IN, const osg::Shape &, x, Properties::VIRTUAL, __void__apply__C5_Shape_R1, "", ""); I_Method1(void, apply, IN, const osg::Sphere &, x, Properties::VIRTUAL, __void__apply__C5_Sphere_R1, "", ""); I_Method1(void, apply, IN, const osg::Box &, x, Properties::VIRTUAL, __void__apply__C5_Box_R1, "", ""); I_Method1(void, apply, IN, const osg::Cone &, x, Properties::VIRTUAL, __void__apply__C5_Cone_R1, "", ""); I_Method1(void, apply, IN, const osg::Cylinder &, x, Properties::VIRTUAL, __void__apply__C5_Cylinder_R1, "", ""); I_Method1(void, apply, IN, const osg::Capsule &, x, Properties::VIRTUAL, __void__apply__C5_Capsule_R1, "", ""); I_Method1(void, apply, IN, const osg::InfinitePlane &, x, Properties::VIRTUAL, __void__apply__C5_InfinitePlane_R1, "", ""); I_Method1(void, apply, IN, const osg::TriangleMesh &, x, Properties::VIRTUAL, __void__apply__C5_TriangleMesh_R1, "", ""); I_Method1(void, apply, IN, const osg::ConvexHull &, x, Properties::VIRTUAL, __void__apply__C5_ConvexHull_R1, "", ""); I_Method1(void, apply, IN, const osg::HeightField &, x, Properties::VIRTUAL, __void__apply__C5_HeightField_R1, "", ""); I_Method1(void, apply, IN, const osg::CompositeShape &, x, Properties::VIRTUAL, __void__apply__C5_CompositeShape_R1, "", "");END_REFLECTORBEGIN_OBJECT_REFLECTOR(osg::ConvexHull) I_DeclaringFile("osg/Shape"); I_BaseType(osg::TriangleMesh); I_Constructor0(____ConvexHull, "", ""); I_ConstructorWithDefaults2(IN, const osg::ConvexHull &, hull, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, ____ConvexHull__C5_ConvexHull_R1__C5_CopyOp_R1, "", ""); I_Method0(osg::Object *, cloneType, Properties::VIRTUAL, __osg_Object_P1__cloneType, "Clone the type of an attribute, 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 attribute, 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, "return true if this and obj are of the same kind of object. ", ""); I_Method0(const char *, libraryName, Properties::VIRTUAL, __C5_char_P1__libraryName, "return the name of the attribute's library. ", ""); I_Method0(const char *, className, Properties::VIRTUAL, __C5_char_P1__className, "return the name of the attribute's class type. ", ""); I_Method1(void, accept, IN, osg::ShapeVisitor &, sv, Properties::VIRTUAL, __void__accept__osg_ShapeVisitor_R1, "accept a non const shape visitor which can be used on non const shape objects. ", "Must be defined by derived classes. "); I_Method1(void, accept, IN, osg::ConstShapeVisitor &, csv, Properties::VIRTUAL, __void__accept__osg_ConstShapeVisitor_R1, "accept a const shape visitor which can be used on const shape objects. ", "Must be defined by derived classes. ");END_REFLECTORBEGIN_OBJECT_REFLECTOR(osg::Cylinder) I_DeclaringFile("osg/Shape"); I_BaseType(osg::Shape); I_Constructor0(____Cylinder, "", ""); I_Constructor3(IN, const osg::Vec3 &, center, IN, float, radius, IN, float, height, ____Cylinder__C5_osg_Vec3_R1__float__float, "", ""); I_ConstructorWithDefaults2(IN, const osg::Cylinder &, cylinder, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, ____Cylinder__C5_Cylinder_R1__C5_CopyOp_R1, "", ""); I_Method0(osg::Object *, cloneType, Properties::VIRTUAL, __osg_Object_P1__cloneType, "Clone the type of an attribute, 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 attribute, 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, "return true if this and obj are of the same kind of object. ", ""); I_Method0(const char *, libraryName, Properties::VIRTUAL, __C5_char_P1__libraryName, "return the name of the attribute's library. ", ""); I_Method0(const char *, className, Properties::VIRTUAL, __C5_char_P1__className, "return the name of the attribute's class type. ", ""); I_Method1(void, accept, IN, osg::ShapeVisitor &, sv, Properties::VIRTUAL, __void__accept__osg_ShapeVisitor_R1, "accept a non const shape visitor which can be used on non const shape objects. ", "Must be defined by derived classes. "); I_Method1(void, accept, IN, osg::ConstShapeVisitor &, csv, Properties::VIRTUAL,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -