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

@@ -17,55 +17,63 @@
#include <osg/Vec3>
#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::Light)
BaseType(osg::StateAttribute);
Constructor0();
ConstructorWithDefaults2(IN, const osg::Light &, light, , 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);
Method0(unsigned int, getMember);
Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
Method1(void, setLightNum, IN, int, num);
Method0(int, getLightNum);
Method1(void, setAmbient, IN, const osg::Vec4 &, ambient);
Method0(const osg::Vec4 &, getAmbient);
Method1(void, setDiffuse, IN, const osg::Vec4 &, diffuse);
Method0(const osg::Vec4 &, getDiffuse);
Method1(void, setSpecular, IN, const osg::Vec4 &, specular);
Method0(const osg::Vec4 &, getSpecular);
Method1(void, setPosition, IN, const osg::Vec4 &, position);
Method0(const osg::Vec4 &, getPosition);
Method1(void, setDirection, IN, const osg::Vec3 &, direction);
Method0(const osg::Vec3 &, getDirection);
Method1(void, setConstantAttenuation, IN, float, constant_attenuation);
Method0(float, getConstantAttenuation);
Method1(void, setLinearAttenuation, IN, float, linear_attenuation);
Method0(float, getLinearAttenuation);
Method1(void, setQuadraticAttenuation, IN, float, quadratic_attenuation);
Method0(float, getQuadraticAttenuation);
Method1(void, setSpotExponent, IN, float, spot_exponent);
Method0(float, getSpotExponent);
Method1(void, setSpotCutoff, IN, float, spot_cutoff);
Method0(float, getSpotCutoff);
Method0(void, captureLightState);
Method1(void, apply, IN, osg::State &, state);
Property(const osg::Vec4 &, Ambient);
Property(float, ConstantAttenuation);
Property(const osg::Vec4 &, Diffuse);
Property(const osg::Vec3 &, Direction);
Property(int, LightNum);
Property(float, LinearAttenuation);
ReadOnlyProperty(unsigned int, Member);
Property(const osg::Vec4 &, Position);
Property(float, QuadraticAttenuation);
Property(const osg::Vec4 &, Specular);
Property(float, SpotCutoff);
Property(float, SpotExponent);
ReadOnlyProperty(osg::StateAttribute::Type, Type);
I_BaseType(osg::StateAttribute);
I_Constructor0();
I_ConstructorWithDefaults2(IN, const osg::Light &, light, , 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_Method0(unsigned int, getMember);
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
I_Method1(void, setLightNum, IN, int, num);
I_Method0(int, getLightNum);
I_Method1(void, setAmbient, IN, const osg::Vec4 &, ambient);
I_Method0(const osg::Vec4 &, getAmbient);
I_Method1(void, setDiffuse, IN, const osg::Vec4 &, diffuse);
I_Method0(const osg::Vec4 &, getDiffuse);
I_Method1(void, setSpecular, IN, const osg::Vec4 &, specular);
I_Method0(const osg::Vec4 &, getSpecular);
I_Method1(void, setPosition, IN, const osg::Vec4 &, position);
I_Method0(const osg::Vec4 &, getPosition);
I_Method1(void, setDirection, IN, const osg::Vec3 &, direction);
I_Method0(const osg::Vec3 &, getDirection);
I_Method1(void, setConstantAttenuation, IN, float, constant_attenuation);
I_Method0(float, getConstantAttenuation);
I_Method1(void, setLinearAttenuation, IN, float, linear_attenuation);
I_Method0(float, getLinearAttenuation);
I_Method1(void, setQuadraticAttenuation, IN, float, quadratic_attenuation);
I_Method0(float, getQuadraticAttenuation);
I_Method1(void, setSpotExponent, IN, float, spot_exponent);
I_Method0(float, getSpotExponent);
I_Method1(void, setSpotCutoff, IN, float, spot_cutoff);
I_Method0(float, getSpotCutoff);
I_Method0(void, captureLightState);
I_Method1(void, apply, IN, osg::State &, state);
I_Property(const osg::Vec4 &, Ambient);
I_Property(float, ConstantAttenuation);
I_Property(const osg::Vec4 &, Diffuse);
I_Property(const osg::Vec3 &, Direction);
I_Property(int, LightNum);
I_Property(float, LinearAttenuation);
I_ReadOnlyProperty(unsigned int, Member);
I_Property(const osg::Vec4 &, Position);
I_Property(float, QuadraticAttenuation);
I_Property(const osg::Vec4 &, Specular);
I_Property(float, SpotCutoff);
I_Property(float, SpotExponent);
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
END_REFLECTOR