Fixed genwrapper so that it handles .svn directories, updated wrappers

This commit is contained in:
Robert Osfield
2007-02-16 17:45:53 +00:00
parent 049f907aad
commit afab03a0fa
240 changed files with 10258 additions and 85887 deletions

View File

@@ -10,9 +10,9 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/Matrixd.svn-base>
#include <osg/.svn/text-base/Node.svn-base>
#include <osg/ApplicationUsage>
#include <osg/Matrixd>
#include <osg/Node>
#include <osgGA/DriveManipulator>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
@@ -26,7 +26,6 @@
#endif
BEGIN_OBJECT_REFLECTOR(osgGA::DriveManipulator)
I_BaseType(osgGA::MatrixManipulator);
I_BaseType(osgGA::MatrixManipulator);
I_Constructor0(____DriveManipulator,
"",
@@ -34,8 +33,8 @@ BEGIN_OBJECT_REFLECTOR(osgGA::DriveManipulator)
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_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
Properties::VIRTUAL,
__void__setByMatrix__C5_osg_Matrixd_R1,
@@ -59,360 +58,37 @@ BEGIN_OBJECT_REFLECTOR(osgGA::DriveManipulator)
I_Method1(void, setNode, IN, osg::Node *, x,
Properties::VIRTUAL,
__void__setNode__osg_Node_P1,
"",
"");
"Attach a node to the manipulator, automatically detaching any previously attached node. ",
"setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model.");
I_Method0(const osg::Node *, getNode,
Properties::VIRTUAL,
__C5_osg_Node_P1__getNode,
"",
"Return const node if attached. ",
"");
I_Method0(osg::Node *, getNode,
Properties::VIRTUAL,
__osg_Node_P1__getNode,
"",
"Return node if attached. ",
"");
I_Method0(void, computeHomePosition,
Properties::VIRTUAL,
__void__computeHomePosition,
"",
"Compute the home position. ",
"");
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
Properties::VIRTUAL,
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
"",
"");
"Move the camera to the default position. ",
"May be ignored by manipulators if home functionality is not appropriate.");
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
Properties::VIRTUAL,
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
"",
"");
"Start/restart the manipulator. ",
"FIXME: what does this actually mean? Provide examples.");
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
Properties::VIRTUAL,
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
"",
"");
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
Properties::VIRTUAL,
__void__getUsage__osg_ApplicationUsage_R1,
"Get the keyboard and mouse usage of this manipulator. ",
"");
I_Method1(void, setModelScale, IN, double, in_ms,
Properties::NON_VIRTUAL,
__void__setModelScale__double,
"",
"");
I_Method0(double, getModelScale,
Properties::NON_VIRTUAL,
__double__getModelScale,
"",
"");
I_Method1(void, setVelocity, IN, double, in_vel,
Properties::NON_VIRTUAL,
__void__setVelocity__double,
"",
"");
I_Method0(double, getVelocity,
Properties::NON_VIRTUAL,
__double__getVelocity,
"",
"");
I_Method1(void, setHeight, IN, double, in_h,
Properties::NON_VIRTUAL,
__void__setHeight__double,
"",
"");
I_Method0(double, getHeight,
Properties::NON_VIRTUAL,
__double__getHeight,
"",
"");
I_Constructor0(____DriveManipulator,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
Properties::VIRTUAL,
__void__setByMatrix__C5_osg_Matrixd_R1,
"set the position of the matrix manipulator using a 4x4 Matrix. ",
"");
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
Properties::VIRTUAL,
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
"set the position of the matrix manipulator using a 4x4 Matrix. ",
"");
I_Method0(osg::Matrixd, getMatrix,
Properties::VIRTUAL,
__osg_Matrixd__getMatrix,
"get the position of the manipulator as 4x4 Matrix. ",
"");
I_Method0(osg::Matrixd, getInverseMatrix,
Properties::VIRTUAL,
__osg_Matrixd__getInverseMatrix,
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
"");
I_Method1(void, setNode, IN, osg::Node *, x,
Properties::VIRTUAL,
__void__setNode__osg_Node_P1,
"",
"");
I_Method0(const osg::Node *, getNode,
Properties::VIRTUAL,
__C5_osg_Node_P1__getNode,
"",
"");
I_Method0(osg::Node *, getNode,
Properties::VIRTUAL,
__osg_Node_P1__getNode,
"",
"");
I_Method0(void, computeHomePosition,
Properties::VIRTUAL,
__void__computeHomePosition,
"",
"");
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
Properties::VIRTUAL,
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
"",
"");
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
Properties::VIRTUAL,
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
"",
"");
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
Properties::VIRTUAL,
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
"",
"");
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
Properties::VIRTUAL,
__void__getUsage__osg_ApplicationUsage_R1,
"Get the keyboard and mouse usage of this manipulator. ",
"");
I_Method1(void, setModelScale, IN, double, in_ms,
Properties::NON_VIRTUAL,
__void__setModelScale__double,
"",
"");
I_Method0(double, getModelScale,
Properties::NON_VIRTUAL,
__double__getModelScale,
"",
"");
I_Method1(void, setVelocity, IN, double, in_vel,
Properties::NON_VIRTUAL,
__void__setVelocity__double,
"",
"");
I_Method0(double, getVelocity,
Properties::NON_VIRTUAL,
__double__getVelocity,
"",
"");
I_Method1(void, setHeight, IN, double, in_h,
Properties::NON_VIRTUAL,
__void__setHeight__double,
"",
"");
I_Method0(double, getHeight,
Properties::NON_VIRTUAL,
__double__getHeight,
"",
"");
I_SimpleProperty(const osg::Matrixd &, ByInverseMatrix,
0,
__void__setByInverseMatrix__C5_osg_Matrixd_R1);
I_SimpleProperty(const osg::Matrixd &, ByMatrix,
0,
__void__setByMatrix__C5_osg_Matrixd_R1);
I_SimpleProperty(double, Height,
__double__getHeight,
__void__setHeight__double);
I_SimpleProperty(osg::Matrixd, InverseMatrix,
__osg_Matrixd__getInverseMatrix,
0);
I_SimpleProperty(osg::Matrixd, Matrix,
__osg_Matrixd__getMatrix,
0);
I_SimpleProperty(double, ModelScale,
__double__getModelScale,
__void__setModelScale__double);
I_SimpleProperty(osg::Node *, Node,
__osg_Node_P1__getNode,
__void__setNode__osg_Node_P1);
I_SimpleProperty(double, Velocity,
__double__getVelocity,
__void__setVelocity__double);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgGA::DriveManipulator)
I_BaseType(osgGA::MatrixManipulator);
I_BaseType(osgGA::MatrixManipulator);
I_Constructor0(____DriveManipulator,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
Properties::VIRTUAL,
__void__setByMatrix__C5_osg_Matrixd_R1,
"set the position of the matrix manipulator using a 4x4 Matrix. ",
"");
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
Properties::VIRTUAL,
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
"set the position of the matrix manipulator using a 4x4 Matrix. ",
"");
I_Method0(osg::Matrixd, getMatrix,
Properties::VIRTUAL,
__osg_Matrixd__getMatrix,
"get the position of the manipulator as 4x4 Matrix. ",
"");
I_Method0(osg::Matrixd, getInverseMatrix,
Properties::VIRTUAL,
__osg_Matrixd__getInverseMatrix,
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
"");
I_Method1(void, setNode, IN, osg::Node *, x,
Properties::VIRTUAL,
__void__setNode__osg_Node_P1,
"",
"");
I_Method0(const osg::Node *, getNode,
Properties::VIRTUAL,
__C5_osg_Node_P1__getNode,
"",
"");
I_Method0(osg::Node *, getNode,
Properties::VIRTUAL,
__osg_Node_P1__getNode,
"",
"");
I_Method0(void, computeHomePosition,
Properties::VIRTUAL,
__void__computeHomePosition,
"",
"");
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
Properties::VIRTUAL,
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
"",
"");
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
Properties::VIRTUAL,
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
"",
"");
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
Properties::VIRTUAL,
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
"",
"");
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
Properties::VIRTUAL,
__void__getUsage__osg_ApplicationUsage_R1,
"Get the keyboard and mouse usage of this manipulator. ",
"");
I_Method1(void, setModelScale, IN, double, in_ms,
Properties::NON_VIRTUAL,
__void__setModelScale__double,
"",
"");
I_Method0(double, getModelScale,
Properties::NON_VIRTUAL,
__double__getModelScale,
"",
"");
I_Method1(void, setVelocity, IN, double, in_vel,
Properties::NON_VIRTUAL,
__void__setVelocity__double,
"",
"");
I_Method0(double, getVelocity,
Properties::NON_VIRTUAL,
__double__getVelocity,
"",
"");
I_Method1(void, setHeight, IN, double, in_h,
Properties::NON_VIRTUAL,
__void__setHeight__double,
"",
"");
I_Method0(double, getHeight,
Properties::NON_VIRTUAL,
__double__getHeight,
"",
"");
I_Constructor0(____DriveManipulator,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
Properties::VIRTUAL,
__void__setByMatrix__C5_osg_Matrixd_R1,
"set the position of the matrix manipulator using a 4x4 Matrix. ",
"");
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, matrix,
Properties::VIRTUAL,
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
"set the position of the matrix manipulator using a 4x4 Matrix. ",
"");
I_Method0(osg::Matrixd, getMatrix,
Properties::VIRTUAL,
__osg_Matrixd__getMatrix,
"get the position of the manipulator as 4x4 Matrix. ",
"");
I_Method0(osg::Matrixd, getInverseMatrix,
Properties::VIRTUAL,
__osg_Matrixd__getInverseMatrix,
"get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. ",
"");
I_Method1(void, setNode, IN, osg::Node *, x,
Properties::VIRTUAL,
__void__setNode__osg_Node_P1,
"",
"");
I_Method0(const osg::Node *, getNode,
Properties::VIRTUAL,
__C5_osg_Node_P1__getNode,
"",
"");
I_Method0(osg::Node *, getNode,
Properties::VIRTUAL,
__osg_Node_P1__getNode,
"",
"");
I_Method0(void, computeHomePosition,
Properties::VIRTUAL,
__void__computeHomePosition,
"",
"");
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
Properties::VIRTUAL,
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
"",
"");
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
Properties::VIRTUAL,
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
"",
"");
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
Properties::VIRTUAL,
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
"",
"Handle events, return true if handled, false otherwise. ",
"");
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
Properties::VIRTUAL,