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,11 +9,7 @@
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/PolygonMode>
#include <osg/State>
#include <osg/StateAttribute>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
@@ -35,24 +31,15 @@ BEGIN_ENUM_REFLECTOR(osg::PolygonMode::Face)
I_EnumLabel(osg::PolygonMode::BACK);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::PolygonMode)
I_BaseType(osg::StateAttribute);
I_Constructor0();
I_Constructor2(IN, osg::PolygonMode::Face, face, IN, osg::PolygonMode::Mode, mode);
I_ConstructorWithDefaults2(IN, const osg::PolygonMode &, pm, , 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_Method0(osg::StateAttribute::Type, getType);
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
I_Method2(void, setMode, IN, osg::PolygonMode::Face, face, IN, osg::PolygonMode::Mode, mode);
I_Method1(osg::PolygonMode::Mode, getMode, IN, osg::PolygonMode::Face, face);
I_Method0(bool, getFrontAndBack);
I_Method1(void, apply, IN, osg::State &, state);
I_ReadOnlyProperty(bool, FrontAndBack);
I_IndexedProperty1(osg::PolygonMode::Mode, Mode, osg::PolygonMode::Face, face);
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
BEGIN_ENUM_REFLECTOR(osg::PolygonMode::Mode)
I_EnumLabel(osg::PolygonMode::POINT);
I_EnumLabel(osg::PolygonMode::LINE);
I_EnumLabel(osg::PolygonMode::FILL);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::PolygonMode::Face)
I_EnumLabel(osg::PolygonMode::FRONT_AND_BACK);
I_EnumLabel(osg::PolygonMode::FRONT);
I_EnumLabel(osg::PolygonMode::BACK);
END_REFLECTOR