Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA

and osgProducer to osgWrappers directory.

Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors.  I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
This commit is contained in:
Robert Osfield
2005-05-09 10:17:56 +00:00
parent a6e8378a72
commit 5e23536683
140 changed files with 7836 additions and 0 deletions

View File

@@ -0,0 +1,92 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Matrix>
#include <osg/Vec3>
#include <osgParticle/Interpolator>
#include <osgParticle/Particle>
#include <osgParticle/range>
BEGIN_ENUM_REFLECTOR(osgParticle::Particle::Shape)
EnumLabel(osgParticle::Particle::POINT);
EnumLabel(osgParticle::Particle::QUAD);
EnumLabel(osgParticle::Particle::QUAD_TRIANGLESTRIP);
EnumLabel(osgParticle::Particle::HEXAGON);
EnumLabel(osgParticle::Particle::LINE);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgParticle::Particle)
Constructor0();
Method0(osgParticle::Particle::Shape, getShape);
Method1(void, setShape, IN, osgParticle::Particle::Shape, s);
Method0(bool, isAlive);
Method0(double, getLifeTime);
Method0(double, getAge);
Method0(const osgParticle::rangef &, getSizeRange);
Method0(const osgParticle::rangef &, getAlphaRange);
Method0(const osgParticle::rangev4 &, getColorRange);
Method0(const osgParticle::Interpolator *, getSizeInterpolator);
Method0(const osgParticle::Interpolator *, getAlphaInterpolator);
Method0(const osgParticle::Interpolator *, getColorInterpolator);
Method0(float, getRadius);
Method0(float, getMass);
Method0(float, getMassInv);
Method0(const osg::Vec3 &, getPosition);
Method0(const osg::Vec3 &, getVelocity);
Method0(const osg::Vec3 &, getPreviousPosition);
Method0(const osg::Vec3 &, getAngle);
Method0(const osg::Vec3 &, getAngularVelocity);
Method0(const osg::Vec3 &, getPreviousAngle);
Method0(void, kill);
Method1(void, setLifeTime, IN, double, t);
Method1(void, setSizeRange, IN, const osgParticle::rangef &, r);
Method1(void, setAlphaRange, IN, const osgParticle::rangef &, r);
Method1(void, setColorRange, IN, const osgParticle::rangev4 &, r);
Method1(void, setSizeInterpolator, IN, osgParticle::Interpolator *, ri);
Method1(void, setAlphaInterpolator, IN, osgParticle::Interpolator *, ai);
Method1(void, setColorInterpolator, IN, osgParticle::Interpolator *, ci);
Method1(void, setRadius, IN, float, r);
Method1(void, setMass, IN, float, m);
Method1(void, setPosition, IN, const osg::Vec3 &, p);
Method1(void, setVelocity, IN, const osg::Vec3 &, v);
Method1(void, addVelocity, IN, const osg::Vec3 &, dv);
Method1(void, transformPositionVelocity, IN, const osg::Matrix &, xform);
Method1(void, setAngle, IN, const osg::Vec3 &, a);
Method1(void, setAngularVelocity, IN, const osg::Vec3 &, v);
Method1(void, addAngularVelocity, IN, const osg::Vec3 &, dv);
Method1(void, transformAngleVelocity, IN, const osg::Matrix &, xform);
Method1(bool, update, IN, double, dt);
Method0(void, beginRender);
MethodWithDefaults4(void, render, IN, const osg::Vec3 &, xpos, , IN, const osg::Vec3 &, px, , IN, const osg::Vec3 &, py, , IN, float, scale, 1.0f);
Method0(void, endRender);
Method0(float, getCurrentSize);
MethodWithDefaults3(void, setTextureTile, IN, int, sTile, , IN, int, tTile, , IN, int, numTiles, 0);
ReadOnlyProperty(double, Age);
WriteOnlyProperty(osgParticle::Interpolator *, AlphaInterpolator);
Property(const osgParticle::rangef &, AlphaRange);
Property(const osg::Vec3 &, Angle);
Property(const osg::Vec3 &, AngularVelocity);
WriteOnlyProperty(osgParticle::Interpolator *, ColorInterpolator);
Property(const osgParticle::rangev4 &, ColorRange);
ReadOnlyProperty(float, CurrentSize);
Property(double, LifeTime);
Property(float, Mass);
ReadOnlyProperty(float, MassInv);
Property(const osg::Vec3 &, Position);
ReadOnlyProperty(const osg::Vec3 &, PreviousAngle);
ReadOnlyProperty(const osg::Vec3 &, PreviousPosition);
Property(float, Radius);
Property(osgParticle::Particle::Shape, Shape);
WriteOnlyProperty(osgParticle::Interpolator *, SizeInterpolator);
Property(const osgParticle::rangef &, SizeRange);
Property(const osg::Vec3 &, Velocity);
END_REFLECTOR