Updated wrappers

This commit is contained in:
Robert Osfield
2005-05-16 09:41:10 +00:00
parent 668aada787
commit 74bce0e410
244 changed files with 11323 additions and 9410 deletions

View File

@@ -19,75 +19,83 @@
#include <osg/State>
#include <osg/Vec4>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osg::ShapeDrawable)
BaseType(osg::Drawable);
Constructor0();
ConstructorWithDefaults2(IN, osg::Shape *, shape, , IN, osg::TessellationHints *, hints, 0);
ConstructorWithDefaults2(IN, const osg::ShapeDrawable &, pg, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
Method0(osg::Object *, cloneType);
Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method0(const char *, libraryName);
Method0(const char *, className);
Method1(void, setColor, IN, const osg::Vec4 &, color);
Method0(const osg::Vec4 &, getColor);
Method1(void, setTessellationHints, IN, osg::TessellationHints *, hints);
Method0(osg::TessellationHints *, getTessellationHints);
Method0(const osg::TessellationHints *, getTessellationHints);
Method1(void, drawImplementation, IN, osg::State &, state);
Method1(bool, supports, IN, osg::Drawable::AttributeFunctor &, x);
Method1(bool, supports, IN, osg::Drawable::ConstAttributeFunctor &, x);
Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af);
Method1(bool, supports, IN, osg::PrimitiveFunctor &, x);
Method1(void, accept, IN, osg::PrimitiveFunctor &, pf);
Method0(osg::BoundingBox, computeBound);
Property(const osg::Vec4 &, Color);
Property(osg::TessellationHints *, TessellationHints);
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, osg::Drawable::AttributeFunctor &, x);
I_Method1(bool, supports, IN, osg::Drawable::ConstAttributeFunctor &, x);
I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af);
I_Method1(bool, supports, IN, 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);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::TessellationHints::TessellationMode)
EnumLabel(osg::TessellationHints::USE_SHAPE_DEFAULTS);
EnumLabel(osg::TessellationHints::USE_TARGET_NUM_FACES);
I_EnumLabel(osg::TessellationHints::USE_SHAPE_DEFAULTS);
I_EnumLabel(osg::TessellationHints::USE_TARGET_NUM_FACES);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::TessellationHints)
BaseType(osg::Object);
Constructor0();
ConstructorWithDefaults2(IN, const osg::TessellationHints &, tess, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
Method0(osg::Object *, cloneType);
Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method0(const char *, libraryName);
Method0(const char *, className);
Method1(void, setTessellationMode, IN, osg::TessellationHints::TessellationMode, mode);
Method0(osg::TessellationHints::TessellationMode, getTessellationMode);
Method1(void, setDetailRatio, IN, float, ratio);
Method0(float, getDetailRatio);
Method1(void, setTargetNumFaces, IN, unsigned int, target);
Method0(unsigned int, getTargetNumFaces);
Method1(void, setCreateFrontFace, IN, bool, on);
Method0(bool, getCreateFrontFace);
Method1(void, setCreateBackFace, IN, bool, on);
Method0(bool, getCreateBackFace);
Method1(void, setCreateNormals, IN, bool, on);
Method0(bool, getCreateNormals);
Method1(void, setCreateTextureCoords, IN, bool, on);
Method0(bool, getCreateTextureCoords);
Method1(void, setCreateTop, IN, bool, on);
Method0(bool, getCreateTop);
Method1(void, setCreateBody, IN, bool, on);
Method0(bool, getCreateBody);
Method1(void, setCreateBottom, IN, bool, on);
Method0(bool, getCreateBottom);
Property(bool, CreateBackFace);
Property(bool, CreateBody);
Property(bool, CreateBottom);
Property(bool, CreateFrontFace);
Property(bool, CreateNormals);
Property(bool, CreateTextureCoords);
Property(bool, CreateTop);
Property(float, DetailRatio);
Property(unsigned int, TargetNumFaces);
Property(osg::TessellationHints::TessellationMode, TessellationMode);
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