📄 shape.cpp
字号:
// ***************************************************************************//// Generated automatically by genwrapper.// Please DO NOT EDIT this file!//// ***************************************************************************#include <osgIntrospection/ReflectionMacros>#include <osgIntrospection/TypedMethodInfo>#include <osgIntrospection/StaticMethodInfo>#include <osgIntrospection/Attributes>#include <osg/Array>#include <osg/CopyOp>#include <osg/Matrix>#include <osg/Object>#include <osg/Quat>#include <osg/Shape>#include <osg/Vec2>#include <osg/Vec3>// Must undefine IN and OUT macros defined in Windows headers#ifdef IN#undef IN#endif#ifdef OUT#undef OUT#endifBEGIN_OBJECT_REFLECTOR(osg::Box) I_DeclaringFile("osg/Shape"); I_BaseType(osg::Shape); I_Constructor0(____Box, "", ""); I_Constructor2(IN, const osg::Vec3 &, center, IN, float, width, ____Box__C5_osg_Vec3_R1__float, "", ""); I_Constructor4(IN, const osg::Vec3 &, center, IN, float, lengthX, IN, float, lengthY, IN, float, lengthZ, ____Box__C5_osg_Vec3_R1__float__float__float, "", ""); I_ConstructorWithDefaults2(IN, const osg::Box &, box, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, ____Box__C5_Box_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, const osg::Vec3 &, halfLengths, Properties::NON_VIRTUAL, __void__set__C5_Vec3_R1__C5_Vec3_R1, "", ""); 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, setHalfLengths, IN, const osg::Vec3 &, halfLengths, Properties::NON_VIRTUAL, __void__setHalfLengths__C5_Vec3_R1, "", ""); I_Method0(const osg::Vec3 &, getHalfLengths, Properties::NON_VIRTUAL, __C5_Vec3_R1__getHalfLengths, "", ""); 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_SimpleProperty(const osg::Vec3 &, Center, __C5_Vec3_R1__getCenter, __void__setCenter__C5_Vec3_R1); I_SimpleProperty(const osg::Vec3 &, HalfLengths, __C5_Vec3_R1__getHalfLengths, __void__setHalfLengths__C5_Vec3_R1); I_SimpleProperty(const osg::Quat &, Rotation, __C5_Quat_R1__getRotation, __void__setRotation__C5_Quat_R1);END_REFLECTORBEGIN_OBJECT_REFLECTOR(osg::Capsule) I_DeclaringFile("osg/Shape"); I_BaseType(osg::Shape); I_Constructor0(____Capsule, "", ""); I_Constructor3(IN, const osg::Vec3 &, center, IN, float, radius, IN, float, height, ____Capsule__C5_osg_Vec3_R1__float__float, "", ""); I_ConstructorWithDefaults2(IN, const osg::Capsule &, capsule, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, ____Capsule__C5_Capsule_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_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_REFLECTORTYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Shape > >, osg::CompositeShape::ChildList)BEGIN_OBJECT_REFLECTOR(osg::CompositeShape) I_DeclaringFile("osg/Shape"); I_BaseType(osg::Shape); I_Constructor0(____CompositeShape, "", ""); I_ConstructorWithDefaults2(IN, const osg::CompositeShape &, cs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, ____CompositeShape__C5_CompositeShape_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, setShape, IN, osg::Shape *, shape, Properties::NON_VIRTUAL, __void__setShape__Shape_P1, "Set the shape that encloses all of the children. ", ""); I_Method0(osg::Shape *, getShape, Properties::NON_VIRTUAL, __Shape_P1__getShape, "Get the shape that encloses all of the children. ", ""); I_Method0(const osg::Shape *, getShape, Properties::NON_VIRTUAL, __C5_Shape_P1__getShape, "Get the const shape that encloses all of the children. ", ""); I_Method0(unsigned int, getNumChildren, Properties::NON_VIRTUAL, __unsigned_int__getNumChildren, "Get the number of children of this composite shape. ",
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -