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.
2005-05-09 18:17:56 +08:00
|
|
|
// ***************************************************************************
|
|
|
|
//
|
|
|
|
// Generated automatically by genwrapper.
|
|
|
|
// Please DO NOT EDIT this file!
|
|
|
|
//
|
|
|
|
// ***************************************************************************
|
|
|
|
|
|
|
|
#include <osgIntrospection/ReflectionMacros>
|
|
|
|
#include <osgIntrospection/TypedMethodInfo>
|
2006-09-01 21:34:05 +08:00
|
|
|
#include <osgIntrospection/StaticMethodInfo>
|
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.
2005-05-09 18:17:56 +08:00
|
|
|
#include <osgIntrospection/Attributes>
|
|
|
|
|
2005-05-13 04:06:39 +08:00
|
|
|
#include <osg/BoundingSphere>
|
2006-07-19 04:53:16 +08:00
|
|
|
#include <osg/CopyOp>
|
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.
2005-05-09 18:17:56 +08:00
|
|
|
#include <osg/NodeVisitor>
|
|
|
|
#include <osg/Object>
|
|
|
|
#include <osgParticle/ParticleSystem>
|
|
|
|
#include <osgParticle/ParticleSystemUpdater>
|
|
|
|
|
2005-05-16 17:41:10 +08:00
|
|
|
// Must undefine IN and OUT macros defined in Windows headers
|
|
|
|
#ifdef IN
|
|
|
|
#undef IN
|
|
|
|
#endif
|
|
|
|
#ifdef OUT
|
|
|
|
#undef OUT
|
|
|
|
#endif
|
|
|
|
|
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.
2005-05-09 18:17:56 +08:00
|
|
|
BEGIN_OBJECT_REFLECTOR(osgParticle::ParticleSystemUpdater)
|
2005-05-16 17:41:10 +08:00
|
|
|
I_BaseType(osg::Node);
|
2006-10-24 17:45:50 +08:00
|
|
|
I_Constructor0(____ParticleSystemUpdater,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_ConstructorWithDefaults2(IN, const osgParticle::ParticleSystemUpdater &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
|
|
|
____ParticleSystemUpdater__C5_ParticleSystemUpdater_R1__C5_osg_CopyOp_R1,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_Method0(osg::Object *, cloneType,
|
|
|
|
__osg_Object_P1__cloneType,
|
|
|
|
"clone an object of the same type as the node. ",
|
|
|
|
"");
|
|
|
|
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
|
|
|
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
|
|
|
"return a clone of a node, with Object* return type. ",
|
|
|
|
"");
|
|
|
|
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
|
|
|
__bool__isSameKindAs__C5_osg_Object_P1,
|
|
|
|
"return true if this and obj are of the same kind of object. ",
|
|
|
|
"");
|
|
|
|
I_Method0(const char *, className,
|
|
|
|
__C5_char_P1__className,
|
|
|
|
"return the name of the node's class type. ",
|
|
|
|
"");
|
|
|
|
I_Method0(const char *, libraryName,
|
|
|
|
__C5_char_P1__libraryName,
|
|
|
|
"return the name of the node's library. ",
|
|
|
|
"");
|
|
|
|
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
|
|
|
__void__accept__osg_NodeVisitor_R1,
|
|
|
|
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
|
|
|
"");
|
|
|
|
I_Method1(bool, addParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
|
|
|
__bool__addParticleSystem__ParticleSystem_P1,
|
|
|
|
"Add a particle system to the list. ",
|
|
|
|
"");
|
|
|
|
I_Method1(bool, removeParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
|
|
|
__bool__removeParticleSystem__ParticleSystem_P1,
|
|
|
|
"Remove a particle system from the list (by pointer). ",
|
|
|
|
"");
|
|
|
|
I_MethodWithDefaults2(bool, removeParticleSystem, IN, unsigned int, i, , IN, unsigned int, numParticleSystemsToRemove, 1,
|
|
|
|
__bool__removeParticleSystem__unsigned_int__unsigned_int,
|
|
|
|
"Remove a particle system(s) from the list (by index). ",
|
|
|
|
"");
|
|
|
|
I_Method2(bool, replaceParticleSystem, IN, osgParticle::ParticleSystem *, origPS, IN, osgParticle::ParticleSystem *, newPS,
|
|
|
|
__bool__replaceParticleSystem__ParticleSystem_P1__ParticleSystem_P1,
|
|
|
|
"Replace ParticleSystem with another ParticleSystem. ",
|
|
|
|
"");
|
|
|
|
I_Method2(bool, setParticleSystem, IN, unsigned int, i, IN, osgParticle::ParticleSystem *, ps,
|
|
|
|
__bool__setParticleSystem__unsigned_int__ParticleSystem_P1,
|
|
|
|
"set a particle system by index. ",
|
|
|
|
"");
|
|
|
|
I_Method0(unsigned int, getNumParticleSystems,
|
|
|
|
__unsigned_int__getNumParticleSystems,
|
|
|
|
"Return the number of particle systems on the list. ",
|
|
|
|
"");
|
|
|
|
I_Method1(osgParticle::ParticleSystem *, getParticleSystem, IN, unsigned int, i,
|
|
|
|
__ParticleSystem_P1__getParticleSystem__unsigned_int,
|
|
|
|
"Get a particle system from the list. ",
|
|
|
|
"");
|
|
|
|
I_Method1(const osgParticle::ParticleSystem *, getParticleSystem, IN, unsigned int, i,
|
|
|
|
__C5_ParticleSystem_P1__getParticleSystem__unsigned_int,
|
|
|
|
"Get a particle system from the list. ",
|
|
|
|
"");
|
|
|
|
I_Method1(bool, containsParticleSystem, IN, const osgParticle::ParticleSystem *, ps,
|
|
|
|
__bool__containsParticleSystem__C5_ParticleSystem_P1,
|
|
|
|
"return true if ParticleSystem is contained within ParticlsSystemUpdater. ",
|
|
|
|
"");
|
|
|
|
I_Method1(unsigned int, getParticleSystemIndex, IN, const osgParticle::ParticleSystem *, ps,
|
|
|
|
__unsigned_int__getParticleSystemIndex__C5_ParticleSystem_P1,
|
|
|
|
"get index number of ParticleSystem. ",
|
|
|
|
"");
|
|
|
|
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
|
|
|
__void__traverse__osg_NodeVisitor_R1,
|
|
|
|
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
|
|
|
"");
|
|
|
|
I_Method0(osg::BoundingSphere, computeBound,
|
|
|
|
__osg_BoundingSphere__computeBound,
|
|
|
|
"Compute the bounding sphere around Node's geometry or children. ",
|
|
|
|
"This method is automatically called by getBound() when the bounding sphere has been marked dirty via dirtyBound(). ");
|
|
|
|
I_ArrayProperty(osgParticle::ParticleSystem *, ParticleSystem,
|
|
|
|
__ParticleSystem_P1__getParticleSystem__unsigned_int,
|
|
|
|
__bool__setParticleSystem__unsigned_int__ParticleSystem_P1,
|
|
|
|
__unsigned_int__getNumParticleSystems,
|
|
|
|
__bool__addParticleSystem__ParticleSystem_P1,
|
|
|
|
0,
|
|
|
|
__bool__removeParticleSystem__unsigned_int__unsigned_int);
|
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.
2005-05-09 18:17:56 +08:00
|
|
|
END_REFLECTOR
|
|
|
|
|