From Marco Jez, improvements to osgIntrospection, and new automatically generated

osgWrappers/osg set.
This commit is contained in:
Robert Osfield
2005-04-07 20:00:17 +00:00
parent 5b4482c70d
commit 7a27a0bef7
132 changed files with 8608 additions and 301 deletions

View File

@@ -0,0 +1,49 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/PolygonMode>
#include <osg/State>
#include <osg/StateAttribute>
BEGIN_ENUM_REFLECTOR(osg::PolygonMode::Mode)
EnumLabel(osg::PolygonMode::POINT);
EnumLabel(osg::PolygonMode::LINE);
EnumLabel(osg::PolygonMode::FILL);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::PolygonMode::Face)
EnumLabel(osg::PolygonMode::FRONT_AND_BACK);
EnumLabel(osg::PolygonMode::FRONT);
EnumLabel(osg::PolygonMode::BACK);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::PolygonMode)
BaseType(osg::StateAttribute);
Constructor0();
ConstructorWithDefaults2(IN, const osg::PolygonMode &, pm, , 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);
Method0(osg::StateAttribute::Type, getType);
Method1(int, compare, IN, const osg::StateAttribute &, sa);
Method2(void, setMode, IN, osg::PolygonMode::Face, face, IN, osg::PolygonMode::Mode, mode);
Method1(osg::PolygonMode::Mode, getMode, IN, osg::PolygonMode::Face, face);
Method0(bool, getFrontAndBack);
Method1(void, apply, IN, osg::State &, state);
ReadOnlyProperty(bool, FrontAndBack);
IndexedProperty1(osg::PolygonMode::Mode, Mode, osg::PolygonMode::Face, face);
ReadOnlyProperty(osg::StateAttribute::Type, Type);
END_REFLECTOR