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,13 +10,13 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/BoundingBox.svn-base>
#include <osg/.svn/text-base/CopyOp.svn-base>
#include <osg/.svn/text-base/Image.svn-base>
#include <osg/.svn/text-base/Object.svn-base>
#include <osg/.svn/text-base/Vec3.svn-base>
#include <osg/BoundingBox>
#include <osg/CopyOp>
#include <osg/DrawPixels>
#include <osg/Image>
#include <osg/Object>
#include <osg/State>
#include <osg/Vec3>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
@@ -27,7 +27,6 @@
#endif
BEGIN_OBJECT_REFLECTOR(osg::DrawPixels)
I_BaseType(osg::Drawable);
I_BaseType(osg::Drawable);
I_Constructor0(____DrawPixels,
"",
@@ -39,13 +38,13 @@ BEGIN_OBJECT_REFLECTOR(osg::DrawPixels)
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__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,
__Object_P1__clone__C5_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_Object_P1,
@@ -54,13 +53,13 @@ BEGIN_OBJECT_REFLECTOR(osg::DrawPixels)
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_Method1(void, setPosition, IN, const osg::Vec3 &, position,
Properties::NON_VIRTUAL,
__void__setPosition__C5_osg_Vec3_R1,
@@ -114,302 +113,12 @@ BEGIN_OBJECT_REFLECTOR(osg::DrawPixels)
I_Method1(void, drawImplementation, IN, osg::State &, state,
Properties::VIRTUAL,
__void__drawImplementation__State_R1,
"",
"Deprecated. ",
"");
I_Method0(osg::BoundingBox, computeBound,
Properties::VIRTUAL,
__BoundingBox__computeBound,
"",
"");
I_Constructor0(____DrawPixels,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::DrawPixels &, drawimage, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____DrawPixels__C5_DrawPixels_R1__C5_CopyOp_R1,
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__Object_P1__cloneType,
"",
"");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
Properties::VIRTUAL,
__Object_P1__clone__C5_CopyOp_R1,
"",
"");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_Method1(void, setPosition, IN, const osg::Vec3 &, position,
Properties::NON_VIRTUAL,
__void__setPosition__C5_osg_Vec3_R1,
"",
"");
I_Method0(osg::Vec3 &, getPosition,
Properties::NON_VIRTUAL,
__osg_Vec3_R1__getPosition,
"",
"");
I_Method0(const osg::Vec3 &, getPosition,
Properties::NON_VIRTUAL,
__C5_osg_Vec3_R1__getPosition,
"",
"");
I_Method1(void, setImage, IN, osg::Image *, image,
Properties::NON_VIRTUAL,
__void__setImage__osg_Image_P1,
"",
"");
I_Method0(osg::Image *, getImage,
Properties::NON_VIRTUAL,
__osg_Image_P1__getImage,
"",
"");
I_Method0(const osg::Image *, getImage,
Properties::NON_VIRTUAL,
__C5_osg_Image_P1__getImage,
"",
"");
I_Method1(void, setUseSubImage, IN, bool, useSubImage,
Properties::NON_VIRTUAL,
__void__setUseSubImage__bool,
"",
"");
I_Method0(bool, getUseSubImage,
Properties::NON_VIRTUAL,
__bool__getUseSubImage,
"",
"");
I_Method4(void, setSubImageDimensions, IN, unsigned int, offsetX, IN, unsigned int, offsetY, IN, unsigned int, width, IN, unsigned int, height,
Properties::NON_VIRTUAL,
__void__setSubImageDimensions__unsigned_int__unsigned_int__unsigned_int__unsigned_int,
"",
"");
I_Method4(void, getSubImageDimensions, IN, unsigned int &, offsetX, IN, unsigned int &, offsetY, IN, unsigned int &, width, IN, unsigned int &, height,
Properties::NON_VIRTUAL,
__void__getSubImageDimensions__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1,
"",
"");
I_Method1(void, drawImplementation, IN, osg::State &, state,
Properties::VIRTUAL,
__void__drawImplementation__State_R1,
"",
"");
I_Method0(osg::BoundingBox, computeBound,
Properties::VIRTUAL,
__BoundingBox__computeBound,
"",
"");
I_SimpleProperty(osg::Image *, Image,
__osg_Image_P1__getImage,
__void__setImage__osg_Image_P1);
I_SimpleProperty(const osg::Vec3 &, Position,
__C5_osg_Vec3_R1__getPosition,
__void__setPosition__C5_osg_Vec3_R1);
I_SimpleProperty(bool, UseSubImage,
__bool__getUseSubImage,
__void__setUseSubImage__bool);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::DrawPixels)
I_BaseType(osg::Drawable);
I_BaseType(osg::Drawable);
I_Constructor0(____DrawPixels,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::DrawPixels &, drawimage, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____DrawPixels__C5_DrawPixels_R1__C5_CopyOp_R1,
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__Object_P1__cloneType,
"",
"");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
Properties::VIRTUAL,
__Object_P1__clone__C5_CopyOp_R1,
"",
"");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_Method1(void, setPosition, IN, const osg::Vec3 &, position,
Properties::NON_VIRTUAL,
__void__setPosition__C5_osg_Vec3_R1,
"",
"");
I_Method0(osg::Vec3 &, getPosition,
Properties::NON_VIRTUAL,
__osg_Vec3_R1__getPosition,
"",
"");
I_Method0(const osg::Vec3 &, getPosition,
Properties::NON_VIRTUAL,
__C5_osg_Vec3_R1__getPosition,
"",
"");
I_Method1(void, setImage, IN, osg::Image *, image,
Properties::NON_VIRTUAL,
__void__setImage__osg_Image_P1,
"",
"");
I_Method0(osg::Image *, getImage,
Properties::NON_VIRTUAL,
__osg_Image_P1__getImage,
"",
"");
I_Method0(const osg::Image *, getImage,
Properties::NON_VIRTUAL,
__C5_osg_Image_P1__getImage,
"",
"");
I_Method1(void, setUseSubImage, IN, bool, useSubImage,
Properties::NON_VIRTUAL,
__void__setUseSubImage__bool,
"",
"");
I_Method0(bool, getUseSubImage,
Properties::NON_VIRTUAL,
__bool__getUseSubImage,
"",
"");
I_Method4(void, setSubImageDimensions, IN, unsigned int, offsetX, IN, unsigned int, offsetY, IN, unsigned int, width, IN, unsigned int, height,
Properties::NON_VIRTUAL,
__void__setSubImageDimensions__unsigned_int__unsigned_int__unsigned_int__unsigned_int,
"",
"");
I_Method4(void, getSubImageDimensions, IN, unsigned int &, offsetX, IN, unsigned int &, offsetY, IN, unsigned int &, width, IN, unsigned int &, height,
Properties::NON_VIRTUAL,
__void__getSubImageDimensions__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1,
"",
"");
I_Method1(void, drawImplementation, IN, osg::State &, state,
Properties::VIRTUAL,
__void__drawImplementation__State_R1,
"",
"");
I_Method0(osg::BoundingBox, computeBound,
Properties::VIRTUAL,
__BoundingBox__computeBound,
"",
"");
I_Constructor0(____DrawPixels,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::DrawPixels &, drawimage, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____DrawPixels__C5_DrawPixels_R1__C5_CopyOp_R1,
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__Object_P1__cloneType,
"",
"");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
Properties::VIRTUAL,
__Object_P1__clone__C5_CopyOp_R1,
"",
"");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_Method1(void, setPosition, IN, const osg::Vec3 &, position,
Properties::NON_VIRTUAL,
__void__setPosition__C5_osg_Vec3_R1,
"",
"");
I_Method0(osg::Vec3 &, getPosition,
Properties::NON_VIRTUAL,
__osg_Vec3_R1__getPosition,
"",
"");
I_Method0(const osg::Vec3 &, getPosition,
Properties::NON_VIRTUAL,
__C5_osg_Vec3_R1__getPosition,
"",
"");
I_Method1(void, setImage, IN, osg::Image *, image,
Properties::NON_VIRTUAL,
__void__setImage__osg_Image_P1,
"",
"");
I_Method0(osg::Image *, getImage,
Properties::NON_VIRTUAL,
__osg_Image_P1__getImage,
"",
"");
I_Method0(const osg::Image *, getImage,
Properties::NON_VIRTUAL,
__C5_osg_Image_P1__getImage,
"",
"");
I_Method1(void, setUseSubImage, IN, bool, useSubImage,
Properties::NON_VIRTUAL,
__void__setUseSubImage__bool,
"",
"");
I_Method0(bool, getUseSubImage,
Properties::NON_VIRTUAL,
__bool__getUseSubImage,
"",
"");
I_Method4(void, setSubImageDimensions, IN, unsigned int, offsetX, IN, unsigned int, offsetY, IN, unsigned int, width, IN, unsigned int, height,
Properties::NON_VIRTUAL,
__void__setSubImageDimensions__unsigned_int__unsigned_int__unsigned_int__unsigned_int,
"",
"");
I_Method4(void, getSubImageDimensions, IN, unsigned int &, offsetX, IN, unsigned int &, offsetY, IN, unsigned int &, width, IN, unsigned int &, height,
Properties::NON_VIRTUAL,
__void__getSubImageDimensions__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1,
"",
"");
I_Method1(void, drawImplementation, IN, osg::State &, state,
Properties::VIRTUAL,
__void__drawImplementation__State_R1,
"",
"");
I_Method0(osg::BoundingBox, computeBound,
Properties::VIRTUAL,
__BoundingBox__computeBound,
"",
"Compute the bounding box around Drawables's geometry. ",
"");
I_SimpleProperty(osg::Image *, Image,
__osg_Image_P1__getImage,