📄 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. "); 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< float >, osg::HeightField::HeightList)BEGIN_OBJECT_REFLECTOR(osg::HeightField) I_DeclaringFile("osg/Shape"); I_BaseType(osg::Shape); I_Constructor0(____HeightField, "", ""); I_ConstructorWithDefaults2(IN, const osg::HeightField &, mesh, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, ____HeightField__C5_HeightField_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_Method2(void, allocate, IN, unsigned int, numColumns, IN, unsigned int, numRows, Properties::NON_VIRTUAL, __void__allocate__unsigned_int__unsigned_int, "", ""); I_Method0(unsigned int, getNumColumns, Properties::NON_VIRTUAL, __unsigned_int__getNumColumns, "", ""); I_Method0(unsigned int, getNumRows, Properties::NON_VIRTUAL, __unsigned_int__getNumRows, "", ""); I_Method1(void, setOrigin, IN, const osg::Vec3 &, origin, Properties::NON_VIRTUAL, __void__setOrigin__C5_osg_Vec3_R1, "", ""); I_Method0(const osg::Vec3 &, getOrigin, Properties::NON_VIRTUAL, __C5_osg_Vec3_R1__getOrigin, "", ""); I_Method1(void, setXInterval, IN, float, dx, Properties::NON_VIRTUAL, __void__setXInterval__float, "", ""); I_Method0(float, getXInterval, Properties::NON_VIRTUAL, __float__getXInterval, "", ""); I_Method1(void, setYInterval, IN, float, dy, Properties::NON_VIRTUAL, __void__setYInterval__float, "", ""); I_Method0(float, getYInterval, Properties::NON_VIRTUAL, __float__getYInterval, "", ""); I_Method0(osg::FloatArray *, getFloatArray, Properties::NON_VIRTUAL, __osg_FloatArray_P1__getFloatArray, "Get the FloatArray height data. ", ""); I_Method0(const osg::FloatArray *, getFloatArray, Properties::NON_VIRTUAL, __C5_osg_FloatArray_P1__getFloatArray, "Get the const sFloatArray height data. ", ""); I_Method0(osg::HeightField::HeightList &, getHeightList, Properties::NON_VIRTUAL, __HeightList_R1__getHeightList, "", ""); I_Method0(const osg::HeightField::HeightList &, getHeightList, Properties::NON_VIRTUAL, __C5_HeightList_R1__getHeightList, "", ""); I_Method1(void, setSkirtHeight, IN, float, skirtHeight, Properties::NON_VIRTUAL, __void__setSkirtHeight__float, "Set the height of the skirt to render around the edge of HeightField. ", "The skirt is used as a means of disguising edge boundaries between adjacent HeightField, particularly of ones with different resolutions. "); I_Method0(float, getSkirtHeight, Properties::NON_VIRTUAL, __float__getSkirtHeight, "Get the height of the skirt to render around the edge of HeightField. ", ""); I_Method1(void, setBorderWidth, IN, unsigned int, borderWidth, Properties::NON_VIRTUAL, __void__setBorderWidth__unsigned_int, "Set the width in number of cells in from the edge that the height field should be rendered from. ", "This exists to allow gradient and curvature continutity to be maintained between adjacent HeightField, where the border cells will overlap adjacent HeightField. "); I_Method0(unsigned int, getBorderWidth, Properties::NON_VIRTUAL, __unsigned_int__getBorderWidth, "Get the width in number of cells in from the edge that the height field should be rendered from. ", ""); 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_Method3(void, setHeight, IN, unsigned int, c, IN, unsigned int, r, IN, float, value, Properties::NON_VIRTUAL, __void__setHeight__unsigned_int__unsigned_int__float, "", ""); I_Method2(float &, getHeight, IN, unsigned int, c, IN, unsigned int, r, Properties::NON_VIRTUAL, __float_R1__getHeight__unsigned_int__unsigned_int, "", ""); I_Method2(float, getHeight, IN, unsigned int, c, IN, unsigned int, r, Properties::NON_VIRTUAL, __float__getHeight__unsigned_int__unsigned_int, "", ""); I_Method2(osg::Vec3, getVertex, IN, unsigned int, c, IN, unsigned int, r, Properties::NON_VIRTUAL, __Vec3__getVertex__unsigned_int__unsigned_int, "", ""); I_Method2(osg::Vec3, getNormal, IN, unsigned int, c, IN, unsigned int, r, Properties::NON_VIRTUAL, __Vec3__getNormal__unsigned_int__unsigned_int, "", ""); I_Method2(osg::Vec2, getHeightDelta, IN, unsigned int, c, IN, unsigned int, r, Properties::NON_VIRTUAL, __Vec2__getHeightDelta__unsigned_int__unsigned_int, "", ""); I_SimpleProperty(unsigned int, BorderWidth, __unsigned_int__getBorderWidth, __void__setBorderWidth__unsigned_int); I_SimpleProperty(osg::FloatArray *, FloatArray, __osg_FloatArray_P1__getFloatArray, 0); I_IndexedProperty(float, Height, __float__getHeight__unsigned_int__unsigned_int, __void__setHeight__unsigned_int__unsigned_int__float, 0); I_SimpleProperty(osg::HeightField::HeightList &, HeightList, __HeightList_R1__getHeightList, 0); I_SimpleProperty(const osg::Vec3 &, Origin, __C5_osg_Vec3_R1__getOrigin, __void__setOrigin__C5_osg_Vec3_R1); I_SimpleProperty(const osg::Quat &, Rotation, __C5_Quat_R1__getRotation, __void__setRotation__C5_Quat_R1); I_SimpleProperty(float, SkirtHeight, __float__getSkirtHeight, __void__setSkirtHeight__float); I_SimpleProperty(float, XInterval, __float__getXInterval, __void__setXInterval__float); I_SimpleProperty(float, YInterval, __float__getYInterval, __void__setYInterval__float);END_REFLECTORBEGIN_OBJECT_REFLECTOR(osg::InfinitePlane) I_DeclaringFile("osg/Shape"); I_BaseType(osg::Shape); I_BaseType(osg::Plane); I_Constructor0(____InfinitePlane, "", ""); I_ConstructorWithDefaults2(IN, const osg::InfinitePlane &, plane, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, ____InfinitePlane__C5_InfinitePlane_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 + -