📄 shape.cpp
字号:
__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_ABSTRACT_OBJECT_REFLECTOR(osg::Shape) I_DeclaringFile("osg/Shape"); I_BaseType(osg::Object); I_Constructor0(____Shape, "", ""); I_ConstructorWithDefaults2(IN, const osg::Shape &, sa, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, ____Shape__C5_Shape_R1__C5_CopyOp_R1, "", ""); I_Method0(osg::Object *, cloneType, Properties::PURE_VIRTUAL, __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 &, x, Properties::PURE_VIRTUAL, __Object_P1__clone__C5_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_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 &, x, Properties::PURE_VIRTUAL, __void__accept__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 &, x, Properties::PURE_VIRTUAL, __void__accept__ConstShapeVisitor_R1, "accept a const shape visitor which can be used on const shape objects. ", "Must be defined by derived classes. ");END_REFLECTORBEGIN_VALUE_REFLECTOR(osg::ShapeVisitor) I_DeclaringFile("osg/Shape"); I_Constructor0(____ShapeVisitor, "", ""); I_Method1(void, apply, IN, osg::Shape &, x, Properties::VIRTUAL, __void__apply__Shape_R1, "", ""); I_Method1(void, apply, IN, osg::Sphere &, x, Properties::VIRTUAL, __void__apply__Sphere_R1, "", ""); I_Method1(void, apply, IN, osg::Box &, x, Properties::VIRTUAL, __void__apply__Box_R1, "", ""); I_Method1(void, apply, IN, osg::Cone &, x, Properties::VIRTUAL, __void__apply__Cone_R1, "", ""); I_Method1(void, apply, IN, osg::Cylinder &, x, Properties::VIRTUAL, __void__apply__Cylinder_R1, "", ""); I_Method1(void, apply, IN, osg::Capsule &, x, Properties::VIRTUAL, __void__apply__Capsule_R1, "", ""); I_Method1(void, apply, IN, osg::InfinitePlane &, x, Properties::VIRTUAL, __void__apply__InfinitePlane_R1, "", ""); I_Method1(void, apply, IN, osg::TriangleMesh &, x, Properties::VIRTUAL, __void__apply__TriangleMesh_R1, "", ""); I_Method1(void, apply, IN, osg::ConvexHull &, x, Properties::VIRTUAL, __void__apply__ConvexHull_R1, "", ""); I_Method1(void, apply, IN, osg::HeightField &, x, Properties::VIRTUAL, __void__apply__HeightField_R1, "", ""); I_Method1(void, apply, IN, osg::CompositeShape &, x, Properties::VIRTUAL, __void__apply__CompositeShape_R1, "", "");END_REFLECTORBEGIN_OBJECT_REFLECTOR(osg::Sphere) I_DeclaringFile("osg/Shape"); I_BaseType(osg::Shape); I_Constructor0(____Sphere, "", ""); I_Constructor2(IN, const osg::Vec3 &, center, IN, float, radius, ____Sphere__C5_osg_Vec3_R1__float, "", ""); I_ConstructorWithDefaults2(IN, const osg::Sphere &, sphere, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, ____Sphere__C5_Sphere_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_Method2(void, set, IN, const osg::Vec3 &, center, IN, float, radius, Properties::NON_VIRTUAL, __void__set__C5_Vec3_R1__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_SimpleProperty(const osg::Vec3 &, Center, __C5_Vec3_R1__getCenter, __void__setCenter__C5_Vec3_R1); I_SimpleProperty(float, Radius, __float__getRadius, __void__setRadius__float);END_REFLECTORBEGIN_OBJECT_REFLECTOR(osg::TriangleMesh) I_DeclaringFile("osg/Shape"); I_BaseType(osg::Shape); I_Constructor0(____TriangleMesh, "", ""); I_ConstructorWithDefaults2(IN, const osg::TriangleMesh &, mesh, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, ____TriangleMesh__C5_TriangleMesh_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_Method1(void, setVertices, IN, osg::Vec3Array *, vertices, Properties::NON_VIRTUAL, __void__setVertices__Vec3Array_P1, "", ""); I_Method0(osg::Vec3Array *, getVertices, Properties::NON_VIRTUAL, __Vec3Array_P1__getVertices, "", ""); I_Method0(const osg::Vec3Array *, getVertices, Properties::NON_VIRTUAL, __C5_Vec3Array_P1__getVertices, "", ""); I_Method1(void, setIndices, IN, osg::IndexArray *, indices, Properties::NON_VIRTUAL, __void__setIndices__IndexArray_P1, "", ""); I_Method0(osg::IndexArray *, getIndices, Properties::NON_VIRTUAL, __IndexArray_P1__getIndices, "", ""); I_Method0(const osg::IndexArray *, getIndices, Properties::NON_VIRTUAL, __C5_IndexArray_P1__getIndices, "", ""); I_SimpleProperty(osg::IndexArray *, Indices, __IndexArray_P1__getIndices, __void__setIndices__IndexArray_P1); I_SimpleProperty(osg::Vec3Array *, Vertices, __Vec3Array_P1__getVertices, __void__setVertices__Vec3Array_P1);END_REFLECTORTYPE_NAME_ALIAS(osg::HeightField, osg::Grid)BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Shape >) I_DeclaringFile("osg/ref_ptr"); I_Constructor0(____ref_ptr, "", ""); I_Constructor1(IN, osg::Shape *, ptr, Properties::NON_EXPLICIT, ____ref_ptr__T_P1, "", ""); I_Constructor1(IN, const osg::ref_ptr< osg::Shape > &, rp, Properties::NON_EXPLICIT, ____ref_ptr__C5_ref_ptr_R1, "", ""); I_Method0(osg::Shape *, get, Properties::NON_VIRTUAL, __T_P1__get, "", ""); I_Method0(bool, valid, Properties::NON_VIRTUAL, __bool__valid, "", ""); I_Method0(osg::Shape *, release, Properties::NON_VIRTUAL, __T_P1__release, "", ""); I_Method1(void, swap, IN, osg::ref_ptr< osg::Shape > &, rp, Properties::NON_VIRTUAL, __void__swap__ref_ptr_R1, "", ""); I_SimpleProperty(osg::Shape *, , __T_P1__get, 0);END_REFLECTORSTD_VECTOR_REFLECTOR(std::vector< float >)STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::Shape > >)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -