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,63 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Fog>
#include <osg/Object>
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/Vec4>
BEGIN_ENUM_REFLECTOR(osg::Fog::Mode)
EnumLabel(osg::Fog::LINEAR);
EnumLabel(osg::Fog::EXP);
EnumLabel(osg::Fog::EXP2);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::Fog::FogCoordinateSource)
EnumLabel(osg::Fog::FOG_COORDINATE);
EnumLabel(osg::Fog::FRAGMENT_DEPTH);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Fog)
BaseType(osg::StateAttribute);
Constructor0();
ConstructorWithDefaults2(IN, const osg::Fog &, fog, , 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);
Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
Method1(void, setMode, IN, osg::Fog::Mode, mode);
Method0(osg::Fog::Mode, getMode);
Method1(void, setDensity, IN, float, density);
Method0(float, getDensity);
Method1(void, setStart, IN, float, start);
Method0(float, getStart);
Method1(void, setEnd, IN, float, end);
Method0(float, getEnd);
Method1(void, setColor, IN, const osg::Vec4 &, color);
Method0(const osg::Vec4 &, getColor);
Method1(void, setFogCoordinateSource, IN, GLint, source);
Method0(GLint, getFogCoordinateSource);
Method1(void, apply, IN, osg::State &, state);
Property(const osg::Vec4 &, Color);
Property(float, Density);
Property(float, End);
Property(GLint, FogCoordinateSource);
Property(osg::Fog::Mode, Mode);
Property(float, Start);
ReadOnlyProperty(osg::StateAttribute::Type, Type);
END_REFLECTOR