Updated wrappers

This commit is contained in:
Robert Osfield 2008-03-13 16:05:20 +00:00
parent 194a987974
commit 51f872c279
2 changed files with 86 additions and 3 deletions

View File

@ -14,7 +14,8 @@
#include <osg/BoundingSphere>
#include <osg/LineSegment>
#include <osg/Matrix>
#include <osg/Vec3>
#include <osg/Vec3d>
#include <osg/Vec3f>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
@ -83,6 +84,11 @@ BEGIN_OBJECT_REFLECTOR(osg::LineSegment)
__bool__intersect__C5_BoundingBox_R1__float_R1__float_R1,
"return true if segment intersects BoundingBox and return the intersection ratios. ",
"");
I_Method3(bool, intersect, IN, const osg::BoundingBox &, bb, IN, double &, r1, IN, double &, r2,
Properties::NON_VIRTUAL,
__bool__intersect__C5_BoundingBox_R1__double_R1__double_R1,
"return true if segment intersects BoundingBox and return the intersection ratios. ",
"");
I_Method1(bool, intersect, IN, const osg::BoundingSphere &, bs,
Properties::NON_VIRTUAL,
__bool__intersect__C5_BoundingSphere_R1,
@ -93,9 +99,19 @@ BEGIN_OBJECT_REFLECTOR(osg::LineSegment)
__bool__intersect__C5_BoundingSphere_R1__float_R1__float_R1,
"return true if segment intersects BoundingSphere and return the intersection ratio. ",
"");
I_Method4(bool, intersect, IN, const osg::Vec3 &, v1, IN, const osg::Vec3 &, v2, IN, const osg::Vec3 &, v3, IN, float &, r,
I_Method3(bool, intersect, IN, const osg::BoundingSphere &, bs, IN, double &, r1, IN, double &, r2,
Properties::NON_VIRTUAL,
__bool__intersect__C5_Vec3_R1__C5_Vec3_R1__C5_Vec3_R1__float_R1,
__bool__intersect__C5_BoundingSphere_R1__double_R1__double_R1,
"return true if segment intersects BoundingSphere and return the intersection ratio. ",
"");
I_Method4(bool, intersect, IN, const osg::Vec3f &, v1, IN, const osg::Vec3f &, v2, IN, const osg::Vec3f &, v3, IN, float &, r,
Properties::NON_VIRTUAL,
__bool__intersect__C5_Vec3f_R1__C5_Vec3f_R1__C5_Vec3f_R1__float_R1,
"return true if segment intersects triangle and set ratio long segment. ",
"");
I_Method4(bool, intersect, IN, const osg::Vec3d &, v1, IN, const osg::Vec3d &, v2, IN, const osg::Vec3d &, v3, IN, double &, r,
Properties::NON_VIRTUAL,
__bool__intersect__C5_Vec3d_R1__C5_Vec3d_R1__C5_Vec3d_R1__double_R1,
"return true if segment intersects triangle and set ratio long segment. ",
"");
I_Method2(void, mult, IN, const osg::LineSegment &, seg, IN, const osg::Matrix &, m,

View File

@ -0,0 +1,67 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osgSim/ObjectRecordData>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osgSim::ObjectRecordData)
I_DeclaringFile("osgSim/ObjectRecordData");
I_BaseType(osg::Object);
I_Constructor0(____ObjectRecordData,
"",
"");
I_ConstructorWithDefaults2(IN, const osgSim::ObjectRecordData &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____ObjectRecordData__C5_ObjectRecordData_R1__C5_osg_CopyOp_R1,
"",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__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,
Properties::VIRTUAL,
__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,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__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,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_PublicMemberProperty(unsigned int, _flags);
I_PublicMemberProperty(short, _relativePriority);
I_PublicMemberProperty(unsigned short, _transparency);
I_PublicMemberProperty(short, _effectID1);
I_PublicMemberProperty(short, _effectID2);
I_PublicMemberProperty(short, _significance);
END_REFLECTOR