Updated wrappers

This commit is contained in:
Robert Osfield
2006-10-24 09:45:50 +00:00
parent 85dc696c09
commit c892fafa1c
266 changed files with 37808 additions and 9935 deletions

View File

@@ -27,51 +27,164 @@
BEGIN_OBJECT_REFLECTOR(osg::CoordinateSystemNode)
I_BaseType(osg::Group);
I_Constructor0();
I_Constructor2(IN, const std::string &, format, IN, const std::string &, cs);
I_ConstructorWithDefaults2(IN, const osg::CoordinateSystemNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
I_Method0(osg::Object *, cloneType);
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
I_Method0(const char *, className);
I_Method0(const char *, libraryName);
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
I_Method1(void, set, IN, const osg::CoordinateSystemNode &, csn);
I_Method1(void, setFormat, IN, const std::string &, format);
I_Method0(const std::string &, getFormat);
I_Method1(void, setCoordinateSystem, IN, const std::string &, cs);
I_Method0(const std::string &, getCoordinateSystem);
I_Method1(void, setEllipsoidModel, IN, osg::EllipsoidModel *, ellipsode);
I_Method0(osg::EllipsoidModel *, getEllipsoidModel);
I_Method0(const osg::EllipsoidModel *, getEllipsoidModel);
I_Method1(osg::CoordinateFrame, computeLocalCoordinateFrame, IN, const osg::Vec3d &, position);
I_Method1(osg::Vec3d, computeLocalUpVector, IN, const osg::Vec3d &, position);
I_WriteOnlyProperty(const osg::CoordinateSystemNode &, );
I_Property(const std::string &, CoordinateSystem);
I_Property(osg::EllipsoidModel *, EllipsoidModel);
I_Property(const std::string &, Format);
I_Constructor0(____CoordinateSystemNode,
"",
"");
I_Constructor2(IN, const std::string &, format, IN, const std::string &, cs,
____CoordinateSystemNode__C5_std_string_R1__C5_std_string_R1,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::CoordinateSystemNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____CoordinateSystemNode__C5_CoordinateSystemNode_R1__C5_osg_CopyOp_R1,
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
"");
I_Method0(osg::Object *, cloneType,
__osg_Object_P1__cloneType,
"clone an object of the same type as the node. ",
"");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"return a clone of a node, with Object* return type. ",
"");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
__bool__isSameKindAs__C5_osg_Object_P1,
"return true if this and obj are of the same kind of object. ",
"");
I_Method0(const char *, className,
__C5_char_P1__className,
"return the name of the node's class type. ",
"");
I_Method0(const char *, libraryName,
__C5_char_P1__libraryName,
"return the name of the node's library. ",
"");
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
__void__accept__osg_NodeVisitor_R1,
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
"");
I_Method1(void, set, IN, const osg::CoordinateSystemNode &, csn,
__void__set__C5_CoordinateSystemNode_R1,
"Set the coordinate system node up by copy the format, coordinate system string, and ellipsoid model of another coordinate system node. ",
"");
I_Method1(void, setFormat, IN, const std::string &, format,
__void__setFormat__C5_std_string_R1,
"Set the coordinate system format string. ",
"Typical values would be WKT, PROJ4, USGS etc. ");
I_Method0(const std::string &, getFormat,
__C5_std_string_R1__getFormat,
"Get the coordinate system format string. ",
"");
I_Method1(void, setCoordinateSystem, IN, const std::string &, cs,
__void__setCoordinateSystem__C5_std_string_R1,
"Set the CoordinateSystem reference string, should be stored in a form consistent with the Format. ",
"");
I_Method0(const std::string &, getCoordinateSystem,
__C5_std_string_R1__getCoordinateSystem,
"Get the CoordinateSystem reference string. ",
"");
I_Method1(void, setEllipsoidModel, IN, osg::EllipsoidModel *, ellipsode,
__void__setEllipsoidModel__EllipsoidModel_P1,
"Set EllipsoidModel to describe the model used to map lat, long and height into geocentric XYZ and back. ",
"");
I_Method0(osg::EllipsoidModel *, getEllipsoidModel,
__EllipsoidModel_P1__getEllipsoidModel,
"Get the EllipsoidModel. ",
"");
I_Method0(const osg::EllipsoidModel *, getEllipsoidModel,
__C5_EllipsoidModel_P1__getEllipsoidModel,
"Get the const EllipsoidModel. ",
"");
I_Method1(osg::CoordinateFrame, computeLocalCoordinateFrame, IN, const osg::Vec3d &, position,
__CoordinateFrame__computeLocalCoordinateFrame__C5_Vec3d_R1,
"Compute the local coordinate frame for specified point. ",
"");
I_Method1(osg::Vec3d, computeLocalUpVector, IN, const osg::Vec3d &, position,
__osg_Vec3d__computeLocalUpVector__C5_Vec3d_R1,
"Compute the local coordinate frame for specified point. ",
"");
I_SimpleProperty(const std::string &, CoordinateSystem,
__C5_std_string_R1__getCoordinateSystem,
__void__setCoordinateSystem__C5_std_string_R1);
I_SimpleProperty(osg::EllipsoidModel *, EllipsoidModel,
__EllipsoidModel_P1__getEllipsoidModel,
__void__setEllipsoidModel__EllipsoidModel_P1);
I_SimpleProperty(const std::string &, Format,
__C5_std_string_R1__getFormat,
__void__setFormat__C5_std_string_R1);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::EllipsoidModel)
I_BaseType(osg::Object);
I_ConstructorWithDefaults2(IN, double, radiusEquator, osg::WGS_84_RADIUS_EQUATOR, IN, double, radiusPolar, osg::WGS_84_RADIUS_POLAR);
I_ConstructorWithDefaults2(IN, const osg::EllipsoidModel &, et, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
I_Method0(osg::Object *, cloneType);
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
I_Method0(const char *, libraryName);
I_Method0(const char *, className);
I_Method1(void, setRadiusEquator, IN, double, radius);
I_Method0(double, getRadiusEquator);
I_Method1(void, setRadiusPolar, IN, double, radius);
I_Method0(double, getRadiusPolar);
I_Method6(void, convertLatLongHeightToXYZ, IN, double, latitude, IN, double, longitude, IN, double, height, IN, double &, X, IN, double &, Y, IN, double &, Z);
I_Method6(void, convertXYZToLatLongHeight, IN, double, X, IN, double, Y, IN, double, Z, IN, double &, latitude, IN, double &, longitude, IN, double &, height);
I_Method4(void, computeLocalToWorldTransformFromLatLongHeight, IN, double, latitude, IN, double, longitude, IN, double, height, IN, osg::Matrixd &, localToWorld);
I_Method4(void, computeLocalToWorldTransformFromXYZ, IN, double, X, IN, double, Y, IN, double, Z, IN, osg::Matrixd &, localToWorld);
I_Method3(osg::Vec3d, computeLocalUpVector, IN, double, X, IN, double, Y, IN, double, Z);
I_Property(double, RadiusEquator);
I_Property(double, RadiusPolar);
I_ConstructorWithDefaults2(IN, double, radiusEquator, osg::WGS_84_RADIUS_EQUATOR, IN, double, radiusPolar, osg::WGS_84_RADIUS_POLAR,
____EllipsoidModel__double__double,
"WGS_84 is a common representation of the earth's spheroid. ",
"");
I_ConstructorWithDefaults2(IN, const osg::EllipsoidModel &, et, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____EllipsoidModel__C5_EllipsoidModel_R1__C5_CopyOp_R1,
"",
"");
I_Method0(osg::Object *, cloneType,
__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,
__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,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
__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,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method1(void, setRadiusEquator, IN, double, radius,
__void__setRadiusEquator__double,
"",
"");
I_Method0(double, getRadiusEquator,
__double__getRadiusEquator,
"",
"");
I_Method1(void, setRadiusPolar, IN, double, radius,
__void__setRadiusPolar__double,
"",
"");
I_Method0(double, getRadiusPolar,
__double__getRadiusPolar,
"",
"");
I_Method6(void, convertLatLongHeightToXYZ, IN, double, latitude, IN, double, longitude, IN, double, height, IN, double &, X, IN, double &, Y, IN, double &, Z,
__void__convertLatLongHeightToXYZ__double__double__double__double_R1__double_R1__double_R1,
"",
"");
I_Method6(void, convertXYZToLatLongHeight, IN, double, X, IN, double, Y, IN, double, Z, IN, double &, latitude, IN, double &, longitude, IN, double &, height,
__void__convertXYZToLatLongHeight__double__double__double__double_R1__double_R1__double_R1,
"",
"");
I_Method4(void, computeLocalToWorldTransformFromLatLongHeight, IN, double, latitude, IN, double, longitude, IN, double, height, IN, osg::Matrixd &, localToWorld,
__void__computeLocalToWorldTransformFromLatLongHeight__double__double__double__osg_Matrixd_R1,
"",
"");
I_Method4(void, computeLocalToWorldTransformFromXYZ, IN, double, X, IN, double, Y, IN, double, Z, IN, osg::Matrixd &, localToWorld,
__void__computeLocalToWorldTransformFromXYZ__double__double__double__osg_Matrixd_R1,
"",
"");
I_Method3(osg::Vec3d, computeLocalUpVector, IN, double, X, IN, double, Y, IN, double, Z,
__osg_Vec3d__computeLocalUpVector__double__double__double,
"",
"");
I_SimpleProperty(double, RadiusEquator,
__double__getRadiusEquator,
__void__setRadiusEquator__double);
I_SimpleProperty(double, RadiusPolar,
__double__getRadiusPolar,
__void__setRadiusPolar__double);
END_REFLECTOR
TYPE_NAME_ALIAS(osg::Matrixd, osg::CoordinateFrame);