Updated wrappers

This commit is contained in:
Robert Osfield
2006-07-18 20:51:28 +00:00
parent dfbc9d0441
commit 1efa9a01d7
211 changed files with 2739 additions and 5375 deletions

View File

@@ -9,15 +9,7 @@
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/BoundingBox>
#include <osg/CopyOp>
#include <osg/Drawable>
#include <osg/Object>
#include <osg/PrimitiveSet>
#include <osg/Shape>
#include <osg/ShapeDrawable>
#include <osg/State>
#include <osg/Vec4>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
@@ -27,30 +19,9 @@
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osg::ShapeDrawable)
I_BaseType(osg::Drawable);
I_Constructor0();
I_ConstructorWithDefaults2(IN, osg::Shape *, shape, , IN, osg::TessellationHints *, hints, 0);
I_ConstructorWithDefaults2(IN, const osg::ShapeDrawable &, pg, , 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, setColor, IN, const osg::Vec4 &, color);
I_Method0(const osg::Vec4 &, getColor);
I_Method1(void, setTessellationHints, IN, osg::TessellationHints *, hints);
I_Method0(osg::TessellationHints *, getTessellationHints);
I_Method0(const osg::TessellationHints *, getTessellationHints);
I_Method1(void, drawImplementation, IN, osg::State &, state);
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x);
I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x);
I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af);
I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x);
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf);
I_Method0(osg::BoundingBox, computeBound);
I_Property(const osg::Vec4 &, Color);
I_Property(osg::TessellationHints *, TessellationHints);
BEGIN_ENUM_REFLECTOR(osg::TessellationHints::TessellationMode)
I_EnumLabel(osg::TessellationHints::USE_SHAPE_DEFAULTS);
I_EnumLabel(osg::TessellationHints::USE_TARGET_NUM_FACES);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::TessellationHints::TessellationMode)
@@ -58,44 +29,3 @@ BEGIN_ENUM_REFLECTOR(osg::TessellationHints::TessellationMode)
I_EnumLabel(osg::TessellationHints::USE_TARGET_NUM_FACES);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::TessellationHints)
I_BaseType(osg::Object);
I_Constructor0();
I_ConstructorWithDefaults2(IN, const osg::TessellationHints &, tess, , 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, setTessellationMode, IN, osg::TessellationHints::TessellationMode, mode);
I_Method0(osg::TessellationHints::TessellationMode, getTessellationMode);
I_Method1(void, setDetailRatio, IN, float, ratio);
I_Method0(float, getDetailRatio);
I_Method1(void, setTargetNumFaces, IN, unsigned int, target);
I_Method0(unsigned int, getTargetNumFaces);
I_Method1(void, setCreateFrontFace, IN, bool, on);
I_Method0(bool, getCreateFrontFace);
I_Method1(void, setCreateBackFace, IN, bool, on);
I_Method0(bool, getCreateBackFace);
I_Method1(void, setCreateNormals, IN, bool, on);
I_Method0(bool, getCreateNormals);
I_Method1(void, setCreateTextureCoords, IN, bool, on);
I_Method0(bool, getCreateTextureCoords);
I_Method1(void, setCreateTop, IN, bool, on);
I_Method0(bool, getCreateTop);
I_Method1(void, setCreateBody, IN, bool, on);
I_Method0(bool, getCreateBody);
I_Method1(void, setCreateBottom, IN, bool, on);
I_Method0(bool, getCreateBottom);
I_Property(bool, CreateBackFace);
I_Property(bool, CreateBody);
I_Property(bool, CreateBottom);
I_Property(bool, CreateFrontFace);
I_Property(bool, CreateNormals);
I_Property(bool, CreateTextureCoords);
I_Property(bool, CreateTop);
I_Property(float, DetailRatio);
I_Property(unsigned int, TargetNumFaces);
I_Property(osg::TessellationHints::TessellationMode, TessellationMode);
END_REFLECTOR