Fixed genwrapper so that it handles .svn directories, updated wrappers
This commit is contained in:
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgParticle/AccelOperator>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/Program>
|
||||
@@ -26,7 +26,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::AccelOperator)
|
||||
I_BaseType(osgParticle::Operator);
|
||||
I_BaseType(osgParticle::Operator);
|
||||
I_Constructor0(____AccelOperator,
|
||||
"",
|
||||
@@ -38,13 +37,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::AccelOperator)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -53,13 +52,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::AccelOperator)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method0(const osg::Vec3 &, getAcceleration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAcceleration,
|
||||
@@ -76,194 +75,12 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::AccelOperator)
|
||||
"Quickly set the acceleration vector to the gravity on earth (0, 0, -9.81). ",
|
||||
"The acceleration will be multiplied by the scale parameter.");
|
||||
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__operate__Particle_P1__double,
|
||||
"Apply the acceleration to a particle. Do not call this method manually. ",
|
||||
"");
|
||||
I_Method1(void, beginOperate, IN, osgParticle::Program *, prg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__beginOperate__Program_P1,
|
||||
"Perform some initializations. Do not call this method manually. ",
|
||||
"");
|
||||
I_Constructor0(____AccelOperator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::AccelOperator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____AccelOperator__C5_AccelOperator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAcceleration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAcceleration,
|
||||
"Get the acceleration vector. ",
|
||||
"");
|
||||
I_Method1(void, setAcceleration, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAcceleration__C5_osg_Vec3_R1,
|
||||
"Set the acceleration vector. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setToGravity, IN, float, scale, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setToGravity__float,
|
||||
"Quickly set the acceleration vector to the gravity on earth (0, 0, -9.81). ",
|
||||
"The acceleration will be multiplied by the scale parameter.");
|
||||
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__operate__Particle_P1__double,
|
||||
"Apply the acceleration to a particle. Do not call this method manually. ",
|
||||
"");
|
||||
I_Method1(void, beginOperate, IN, osgParticle::Program *, prg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__beginOperate__Program_P1,
|
||||
"Perform some initializations. Do not call this method manually. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec3 &, Acceleration,
|
||||
__C5_osg_Vec3_R1__getAcceleration,
|
||||
__void__setAcceleration__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(float, ToGravity,
|
||||
0,
|
||||
__void__setToGravity__float);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::AccelOperator)
|
||||
I_BaseType(osgParticle::Operator);
|
||||
I_BaseType(osgParticle::Operator);
|
||||
I_Constructor0(____AccelOperator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::AccelOperator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____AccelOperator__C5_AccelOperator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAcceleration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAcceleration,
|
||||
"Get the acceleration vector. ",
|
||||
"");
|
||||
I_Method1(void, setAcceleration, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAcceleration__C5_osg_Vec3_R1,
|
||||
"Set the acceleration vector. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setToGravity, IN, float, scale, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setToGravity__float,
|
||||
"Quickly set the acceleration vector to the gravity on earth (0, 0, -9.81). ",
|
||||
"The acceleration will be multiplied by the scale parameter.");
|
||||
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__operate__Particle_P1__double,
|
||||
"Apply the acceleration to a particle. Do not call this method manually. ",
|
||||
"");
|
||||
I_Method1(void, beginOperate, IN, osgParticle::Program *, prg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__beginOperate__Program_P1,
|
||||
"Perform some initializations. Do not call this method manually. ",
|
||||
"");
|
||||
I_Constructor0(____AccelOperator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::AccelOperator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____AccelOperator__C5_AccelOperator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAcceleration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAcceleration,
|
||||
"Get the acceleration vector. ",
|
||||
"");
|
||||
I_Method1(void, setAcceleration, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAcceleration__C5_osg_Vec3_R1,
|
||||
"Set the acceleration vector. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setToGravity, IN, float, scale, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setToGravity__float,
|
||||
"Quickly set the acceleration vector to the gravity on earth (0, 0, -9.81). ",
|
||||
"The acceleration will be multiplied by the scale parameter.");
|
||||
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__operate__Particle_P1__double,
|
||||
"Apply the acceleration to a particle. Do not call this method manually. ",
|
||||
"");
|
||||
I_Method1(void, beginOperate, IN, osgParticle::Program *, prg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__beginOperate__Program_P1,
|
||||
"Perform some initializations. Do not call this method manually. ",
|
||||
"");
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgParticle/AngularAccelOperator>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/Program>
|
||||
@@ -26,7 +26,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::AngularAccelOperator)
|
||||
I_BaseType(osgParticle::Operator);
|
||||
I_BaseType(osgParticle::Operator);
|
||||
I_Constructor0(____AngularAccelOperator,
|
||||
"",
|
||||
@@ -38,13 +37,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::AngularAccelOperator)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -53,13 +52,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::AngularAccelOperator)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method0(const osg::Vec3 &, getAngularAcceleration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAngularAcceleration,
|
||||
@@ -71,176 +70,12 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::AngularAccelOperator)
|
||||
"Set the angular acceleration vector. ",
|
||||
"");
|
||||
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__operate__Particle_P1__double,
|
||||
"Apply the angular acceleration to a particle. Do not call this method manually. ",
|
||||
"");
|
||||
I_Method1(void, beginOperate, IN, osgParticle::Program *, prg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__beginOperate__Program_P1,
|
||||
"Perform some initializations. Do not call this method manually. ",
|
||||
"");
|
||||
I_Constructor0(____AngularAccelOperator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::AngularAccelOperator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____AngularAccelOperator__C5_AngularAccelOperator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAngularAcceleration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAngularAcceleration,
|
||||
"Get the angular acceleration vector. ",
|
||||
"");
|
||||
I_Method1(void, setAngularAcceleration, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAngularAcceleration__C5_osg_Vec3_R1,
|
||||
"Set the angular acceleration vector. ",
|
||||
"");
|
||||
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__operate__Particle_P1__double,
|
||||
"Apply the angular acceleration to a particle. Do not call this method manually. ",
|
||||
"");
|
||||
I_Method1(void, beginOperate, IN, osgParticle::Program *, prg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__beginOperate__Program_P1,
|
||||
"Perform some initializations. Do not call this method manually. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec3 &, AngularAcceleration,
|
||||
__C5_osg_Vec3_R1__getAngularAcceleration,
|
||||
__void__setAngularAcceleration__C5_osg_Vec3_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::AngularAccelOperator)
|
||||
I_BaseType(osgParticle::Operator);
|
||||
I_BaseType(osgParticle::Operator);
|
||||
I_Constructor0(____AngularAccelOperator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::AngularAccelOperator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____AngularAccelOperator__C5_AngularAccelOperator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAngularAcceleration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAngularAcceleration,
|
||||
"Get the angular acceleration vector. ",
|
||||
"");
|
||||
I_Method1(void, setAngularAcceleration, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAngularAcceleration__C5_osg_Vec3_R1,
|
||||
"Set the angular acceleration vector. ",
|
||||
"");
|
||||
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__operate__Particle_P1__double,
|
||||
"Apply the angular acceleration to a particle. Do not call this method manually. ",
|
||||
"");
|
||||
I_Method1(void, beginOperate, IN, osgParticle::Program *, prg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__beginOperate__Program_P1,
|
||||
"Perform some initializations. Do not call this method manually. ",
|
||||
"");
|
||||
I_Constructor0(____AngularAccelOperator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::AngularAccelOperator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____AngularAccelOperator__C5_AngularAccelOperator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAngularAcceleration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAngularAcceleration,
|
||||
"Get the angular acceleration vector. ",
|
||||
"");
|
||||
I_Method1(void, setAngularAcceleration, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAngularAcceleration__C5_osg_Vec3_R1,
|
||||
"Set the angular acceleration vector. ",
|
||||
"");
|
||||
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__operate__Particle_P1__double,
|
||||
"Apply the angular acceleration to a particle. Do not call this method manually. ",
|
||||
"");
|
||||
I_Method1(void, beginOperate, IN, osgParticle::Program *, prg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__beginOperate__Program_P1,
|
||||
"Perform some initializations. Do not call this method manually. ",
|
||||
"");
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osgParticle/.svn/text-base/range.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgParticle/BoxPlacer>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/range>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -26,7 +26,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::BoxPlacer)
|
||||
I_BaseType(osgParticle::CenteredPlacer);
|
||||
I_BaseType(osgParticle::CenteredPlacer);
|
||||
I_Constructor0(____BoxPlacer,
|
||||
"",
|
||||
@@ -83,13 +82,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::BoxPlacer)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -98,298 +97,20 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::BoxPlacer)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. Do not call it manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
I_Constructor0(____BoxPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::BoxPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____BoxPlacer__C5_BoxPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getXRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getXRange,
|
||||
"Get the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method1(void, setXRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setXRange__C5_rangef_R1,
|
||||
"Set the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method2(void, setXRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setXRange__float__float,
|
||||
"Set the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getYRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getYRange,
|
||||
"Get the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method1(void, setYRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setYRange__C5_rangef_R1,
|
||||
"Set the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method2(void, setYRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setYRange__float__float,
|
||||
"Set the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getZRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getZRange,
|
||||
"Get the range of possible values for the height. ",
|
||||
"");
|
||||
I_Method1(void, setZRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setZRange__C5_rangef_R1,
|
||||
"Set the range of possible values for the height. ",
|
||||
"");
|
||||
I_Method2(void, setZRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setZRange__float__float,
|
||||
"Set the range of possible values for the height. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. Do not call it manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
I_SimpleProperty(osg::Vec3, ControlPosition,
|
||||
__osg_Vec3__getControlPosition,
|
||||
0);
|
||||
I_SimpleProperty(const osgParticle::rangef &, XRange,
|
||||
__C5_rangef_R1__getXRange,
|
||||
__void__setXRange__C5_rangef_R1);
|
||||
I_SimpleProperty(const osgParticle::rangef &, YRange,
|
||||
__C5_rangef_R1__getYRange,
|
||||
__void__setYRange__C5_rangef_R1);
|
||||
I_SimpleProperty(const osgParticle::rangef &, ZRange,
|
||||
__C5_rangef_R1__getZRange,
|
||||
__void__setZRange__C5_rangef_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::BoxPlacer)
|
||||
I_BaseType(osgParticle::CenteredPlacer);
|
||||
I_BaseType(osgParticle::CenteredPlacer);
|
||||
I_Constructor0(____BoxPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::BoxPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____BoxPlacer__C5_BoxPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getXRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getXRange,
|
||||
"Get the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method1(void, setXRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setXRange__C5_rangef_R1,
|
||||
"Set the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method2(void, setXRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setXRange__float__float,
|
||||
"Set the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getYRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getYRange,
|
||||
"Get the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method1(void, setYRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setYRange__C5_rangef_R1,
|
||||
"Set the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method2(void, setYRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setYRange__float__float,
|
||||
"Set the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getZRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getZRange,
|
||||
"Get the range of possible values for the height. ",
|
||||
"");
|
||||
I_Method1(void, setZRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setZRange__C5_rangef_R1,
|
||||
"Set the range of possible values for the height. ",
|
||||
"");
|
||||
I_Method2(void, setZRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setZRange__float__float,
|
||||
"Set the range of possible values for the height. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. Do not call it manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
I_Constructor0(____BoxPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::BoxPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____BoxPlacer__C5_BoxPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getXRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getXRange,
|
||||
"Get the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method1(void, setXRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setXRange__C5_rangef_R1,
|
||||
"Set the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method2(void, setXRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setXRange__float__float,
|
||||
"Set the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getYRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getYRange,
|
||||
"Get the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method1(void, setYRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setYRange__C5_rangef_R1,
|
||||
"Set the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method2(void, setYRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setYRange__float__float,
|
||||
"Set the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getZRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getZRange,
|
||||
"Get the range of possible values for the height. ",
|
||||
"");
|
||||
I_Method1(void, setZRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setZRange__C5_rangef_R1,
|
||||
"Set the range of possible values for the height. ",
|
||||
"");
|
||||
I_Method2(void, setZRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setZRange__float__float,
|
||||
"Set the range of possible values for the height. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. Do not call it manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgParticle/CenteredPlacer>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -24,7 +24,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::CenteredPlacer)
|
||||
I_BaseType(osgParticle::Placer);
|
||||
I_BaseType(osgParticle::Placer);
|
||||
I_Constructor0(____CenteredPlacer,
|
||||
"",
|
||||
@@ -36,132 +35,13 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::CenteredPlacer)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getCenter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getCenter,
|
||||
"Get the center point. ",
|
||||
"");
|
||||
I_Method1(void, setCenter, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCenter__C5_osg_Vec3_R1,
|
||||
"Set the center point. ",
|
||||
"");
|
||||
I_Method3(void, setCenter, IN, float, x, IN, float, y, IN, float, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCenter__float__float__float,
|
||||
"Set the center point. ",
|
||||
"");
|
||||
I_Constructor0(____CenteredPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::CenteredPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____CenteredPlacer__C5_CenteredPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getCenter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getCenter,
|
||||
"Get the center point. ",
|
||||
"");
|
||||
I_Method1(void, setCenter, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCenter__C5_osg_Vec3_R1,
|
||||
"Set the center point. ",
|
||||
"");
|
||||
I_Method3(void, setCenter, IN, float, x, IN, float, y, IN, float, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCenter__float__float__float,
|
||||
"Set the center point. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec3 &, Center,
|
||||
__C5_osg_Vec3_R1__getCenter,
|
||||
__void__setCenter__C5_osg_Vec3_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::CenteredPlacer)
|
||||
I_BaseType(osgParticle::Placer);
|
||||
I_BaseType(osgParticle::Placer);
|
||||
I_Constructor0(____CenteredPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::CenteredPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____CenteredPlacer__C5_CenteredPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getCenter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getCenter,
|
||||
"Get the center point. ",
|
||||
"");
|
||||
I_Method1(void, setCenter, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCenter__C5_osg_Vec3_R1,
|
||||
"Set the center point. ",
|
||||
"");
|
||||
I_Method3(void, setCenter, IN, float, x, IN, float, y, IN, float, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCenter__float__float__float,
|
||||
"Set the center point. ",
|
||||
"");
|
||||
I_Constructor0(____CenteredPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::CenteredPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____CenteredPlacer__C5_CenteredPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osgParticle/ConnectedParticleSystem>
|
||||
#include <osgParticle/Particle>
|
||||
@@ -25,7 +25,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::ConnectedParticleSystem)
|
||||
I_BaseType(osgParticle::ParticleSystem);
|
||||
I_BaseType(osgParticle::ParticleSystem);
|
||||
I_Constructor0(____ConnectedParticleSystem,
|
||||
"",
|
||||
@@ -37,13 +36,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::ConnectedParticleSystem)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -52,225 +51,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::ConnectedParticleSystem)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgParticle::Particle *, createParticle, IN, const osgParticle::Particle *, ptemplate,
|
||||
Properties::VIRTUAL,
|
||||
__Particle_P1__createParticle__C5_Particle_P1,
|
||||
"Create a new particle from the specified template (or the default one if ptemplate is null). ",
|
||||
"");
|
||||
I_Method1(void, reuseParticle, IN, int, i,
|
||||
Properties::VIRTUAL,
|
||||
__void__reuseParticle__int,
|
||||
"Reuse the i-th particle. ",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__osg_State_R1,
|
||||
"Draw the connected particles as either a line or a quad strip, depending upon viewing distance. . ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Particle *, getStartParticle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgParticle_Particle_P1__getStartParticle,
|
||||
"Get the (const) particle from where the line or quadstrip starts to be drawn. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Particle *, getStartParticle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgParticle_Particle_P1__getStartParticle,
|
||||
"Get the particle from where the line or quadstrip starts to be drawn. ",
|
||||
"");
|
||||
I_Method1(void, setMaxNumberOfParticlesToSkip, IN, unsigned int, maxNumberofParticlesToSkip,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxNumberOfParticlesToSkip__unsigned_int,
|
||||
"Set the maximum numbers of particles to be skipped during the predraw filtering. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getMaxNumberOfParticlesToSkip,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getMaxNumberOfParticlesToSkip,
|
||||
"Get the maximum numbers of particles to be skipped during the predraw filtering. ",
|
||||
"");
|
||||
I_Constructor0(____ConnectedParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ConnectedParticleSystem &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ConnectedParticleSystem__C5_ConnectedParticleSystem_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgParticle::Particle *, createParticle, IN, const osgParticle::Particle *, ptemplate,
|
||||
Properties::VIRTUAL,
|
||||
__Particle_P1__createParticle__C5_Particle_P1,
|
||||
"Create a new particle from the specified template (or the default one if ptemplate is null). ",
|
||||
"");
|
||||
I_Method1(void, reuseParticle, IN, int, i,
|
||||
Properties::VIRTUAL,
|
||||
__void__reuseParticle__int,
|
||||
"Reuse the i-th particle. ",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__osg_State_R1,
|
||||
"Draw the connected particles as either a line or a quad strip, depending upon viewing distance. . ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Particle *, getStartParticle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgParticle_Particle_P1__getStartParticle,
|
||||
"Get the (const) particle from where the line or quadstrip starts to be drawn. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Particle *, getStartParticle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgParticle_Particle_P1__getStartParticle,
|
||||
"Get the particle from where the line or quadstrip starts to be drawn. ",
|
||||
"");
|
||||
I_Method1(void, setMaxNumberOfParticlesToSkip, IN, unsigned int, maxNumberofParticlesToSkip,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxNumberOfParticlesToSkip__unsigned_int,
|
||||
"Set the maximum numbers of particles to be skipped during the predraw filtering. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getMaxNumberOfParticlesToSkip,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getMaxNumberOfParticlesToSkip,
|
||||
"Get the maximum numbers of particles to be skipped during the predraw filtering. ",
|
||||
"");
|
||||
I_SimpleProperty(unsigned int, MaxNumberOfParticlesToSkip,
|
||||
__unsigned_int__getMaxNumberOfParticlesToSkip,
|
||||
__void__setMaxNumberOfParticlesToSkip__unsigned_int);
|
||||
I_SimpleProperty(osgParticle::Particle *, StartParticle,
|
||||
__osgParticle_Particle_P1__getStartParticle,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::ConnectedParticleSystem)
|
||||
I_BaseType(osgParticle::ParticleSystem);
|
||||
I_BaseType(osgParticle::ParticleSystem);
|
||||
I_Constructor0(____ConnectedParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ConnectedParticleSystem &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ConnectedParticleSystem__C5_ConnectedParticleSystem_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgParticle::Particle *, createParticle, IN, const osgParticle::Particle *, ptemplate,
|
||||
Properties::VIRTUAL,
|
||||
__Particle_P1__createParticle__C5_Particle_P1,
|
||||
"Create a new particle from the specified template (or the default one if ptemplate is null). ",
|
||||
"");
|
||||
I_Method1(void, reuseParticle, IN, int, i,
|
||||
Properties::VIRTUAL,
|
||||
__void__reuseParticle__int,
|
||||
"Reuse the i-th particle. ",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__osg_State_R1,
|
||||
"Draw the connected particles as either a line or a quad strip, depending upon viewing distance. . ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Particle *, getStartParticle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgParticle_Particle_P1__getStartParticle,
|
||||
"Get the (const) particle from where the line or quadstrip starts to be drawn. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Particle *, getStartParticle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgParticle_Particle_P1__getStartParticle,
|
||||
"Get the particle from where the line or quadstrip starts to be drawn. ",
|
||||
"");
|
||||
I_Method1(void, setMaxNumberOfParticlesToSkip, IN, unsigned int, maxNumberofParticlesToSkip,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxNumberOfParticlesToSkip__unsigned_int,
|
||||
"Set the maximum numbers of particles to be skipped during the predraw filtering. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getMaxNumberOfParticlesToSkip,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getMaxNumberOfParticlesToSkip,
|
||||
"Get the maximum numbers of particles to be skipped during the predraw filtering. ",
|
||||
"");
|
||||
I_Constructor0(____ConnectedParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ConnectedParticleSystem &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ConnectedParticleSystem__C5_ConnectedParticleSystem_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osgParticle::Particle *, createParticle, IN, const osgParticle::Particle *, ptemplate,
|
||||
Properties::VIRTUAL,
|
||||
__Particle_P1__createParticle__C5_Particle_P1,
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osgParticle/ConstantRateCounter>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -23,7 +23,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::ConstantRateCounter)
|
||||
I_BaseType(osgParticle::Counter);
|
||||
I_BaseType(osgParticle::Counter);
|
||||
I_Constructor0(____ConstantRateCounter,
|
||||
"",
|
||||
@@ -35,13 +34,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::ConstantRateCounter)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -50,195 +49,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::ConstantRateCounter)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinimumNumberOfParticlesToCreate, IN, int, minNumToCreate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinimumNumberOfParticlesToCreate__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getMinimumNumberOfParticlesToCreate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getMinimumNumberOfParticlesToCreate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumberOfParticlesPerSecondToCreate, IN, double, numPerSecond,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumberOfParticlesPerSecondToCreate__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getNumberOfParticlesPerSecondToCreate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getNumberOfParticlesPerSecondToCreate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, numParticlesToCreate, IN, double, dt,
|
||||
Properties::VIRTUAL,
|
||||
__int__numParticlesToCreate__double,
|
||||
"Return the number of particles to be created in this frame. ",
|
||||
"");
|
||||
I_Constructor0(____ConstantRateCounter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ConstantRateCounter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ConstantRateCounter__C5_ConstantRateCounter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinimumNumberOfParticlesToCreate, IN, int, minNumToCreate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinimumNumberOfParticlesToCreate__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getMinimumNumberOfParticlesToCreate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getMinimumNumberOfParticlesToCreate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumberOfParticlesPerSecondToCreate, IN, double, numPerSecond,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumberOfParticlesPerSecondToCreate__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getNumberOfParticlesPerSecondToCreate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getNumberOfParticlesPerSecondToCreate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, numParticlesToCreate, IN, double, dt,
|
||||
Properties::VIRTUAL,
|
||||
__int__numParticlesToCreate__double,
|
||||
"Return the number of particles to be created in this frame. ",
|
||||
"");
|
||||
I_SimpleProperty(int, MinimumNumberOfParticlesToCreate,
|
||||
__int__getMinimumNumberOfParticlesToCreate,
|
||||
__void__setMinimumNumberOfParticlesToCreate__int);
|
||||
I_SimpleProperty(double, NumberOfParticlesPerSecondToCreate,
|
||||
__double__getNumberOfParticlesPerSecondToCreate,
|
||||
__void__setNumberOfParticlesPerSecondToCreate__double);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::ConstantRateCounter)
|
||||
I_BaseType(osgParticle::Counter);
|
||||
I_BaseType(osgParticle::Counter);
|
||||
I_Constructor0(____ConstantRateCounter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ConstantRateCounter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ConstantRateCounter__C5_ConstantRateCounter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinimumNumberOfParticlesToCreate, IN, int, minNumToCreate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinimumNumberOfParticlesToCreate__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getMinimumNumberOfParticlesToCreate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getMinimumNumberOfParticlesToCreate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumberOfParticlesPerSecondToCreate, IN, double, numPerSecond,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumberOfParticlesPerSecondToCreate__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getNumberOfParticlesPerSecondToCreate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getNumberOfParticlesPerSecondToCreate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, numParticlesToCreate, IN, double, dt,
|
||||
Properties::VIRTUAL,
|
||||
__int__numParticlesToCreate__double,
|
||||
"Return the number of particles to be created in this frame. ",
|
||||
"");
|
||||
I_Constructor0(____ConstantRateCounter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ConstantRateCounter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ConstantRateCounter__C5_ConstantRateCounter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setMinimumNumberOfParticlesToCreate, IN, int, minNumToCreate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinimumNumberOfParticlesToCreate__int,
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osgParticle/Counter>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -23,7 +23,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Counter)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____Counter,
|
||||
"",
|
||||
@@ -35,99 +34,13 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Counter)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, numParticlesToCreate, IN, double, dt,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__int__numParticlesToCreate__double,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Counter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Counter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Counter__C5_Counter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, numParticlesToCreate, IN, double, dt,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__int__numParticlesToCreate__double,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Counter)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____Counter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Counter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Counter__C5_Counter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, numParticlesToCreate, IN, double, dt,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__int__numParticlesToCreate__double,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Counter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Counter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Counter__C5_Counter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osgParticle/Emitter>
|
||||
#include <osgParticle/Particle>
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Emitter)
|
||||
I_BaseType(osgParticle::ParticleProcessor);
|
||||
I_BaseType(osgParticle::ParticleProcessor);
|
||||
I_Constructor0(____Emitter,
|
||||
"",
|
||||
@@ -37,174 +36,22 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Emitter)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Particle &, getParticleTemplate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Particle_R1__getParticleTemplate,
|
||||
"Get the particle template. ",
|
||||
"");
|
||||
I_Method1(void, setParticleTemplate, IN, const osgParticle::Particle &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleTemplate__C5_Particle_R1,
|
||||
"Set the particle template (particle is copied). ",
|
||||
"");
|
||||
I_Method0(bool, getUseDefaultTemplate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getUseDefaultTemplate,
|
||||
"Return whether the particle system's default template should be used. ",
|
||||
"");
|
||||
I_Method1(void, setUseDefaultTemplate, IN, bool, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUseDefaultTemplate__bool,
|
||||
"Set whether the default particle template should be used. ",
|
||||
"When this flag is true, the particle template is ignored, and the particle system's default template is used instead.");
|
||||
I_Constructor0(____Emitter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Emitter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Emitter__C5_Emitter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Particle &, getParticleTemplate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Particle_R1__getParticleTemplate,
|
||||
"Get the particle template. ",
|
||||
"");
|
||||
I_Method1(void, setParticleTemplate, IN, const osgParticle::Particle &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleTemplate__C5_Particle_R1,
|
||||
"Set the particle template (particle is copied). ",
|
||||
"");
|
||||
I_Method0(bool, getUseDefaultTemplate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getUseDefaultTemplate,
|
||||
"Return whether the particle system's default template should be used. ",
|
||||
"");
|
||||
I_Method1(void, setUseDefaultTemplate, IN, bool, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUseDefaultTemplate__bool,
|
||||
"Set whether the default particle template should be used. ",
|
||||
"When this flag is true, the particle template is ignored, and the particle system's default template is used instead.");
|
||||
I_SimpleProperty(const osgParticle::Particle &, ParticleTemplate,
|
||||
__C5_Particle_R1__getParticleTemplate,
|
||||
__void__setParticleTemplate__C5_Particle_R1);
|
||||
I_SimpleProperty(bool, UseDefaultTemplate,
|
||||
__bool__getUseDefaultTemplate,
|
||||
__void__setUseDefaultTemplate__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Emitter)
|
||||
I_BaseType(osgParticle::ParticleProcessor);
|
||||
I_BaseType(osgParticle::ParticleProcessor);
|
||||
I_Constructor0(____Emitter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Emitter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Emitter__C5_Emitter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Particle &, getParticleTemplate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Particle_R1__getParticleTemplate,
|
||||
"Get the particle template. ",
|
||||
"");
|
||||
I_Method1(void, setParticleTemplate, IN, const osgParticle::Particle &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleTemplate__C5_Particle_R1,
|
||||
"Set the particle template (particle is copied). ",
|
||||
"");
|
||||
I_Method0(bool, getUseDefaultTemplate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getUseDefaultTemplate,
|
||||
"Return whether the particle system's default template should be used. ",
|
||||
"");
|
||||
I_Method1(void, setUseDefaultTemplate, IN, bool, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUseDefaultTemplate__bool,
|
||||
"Set whether the default particle template should be used. ",
|
||||
"When this flag is true, the particle template is ignored, and the particle system's default template is used instead.");
|
||||
I_Constructor0(____Emitter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Emitter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Emitter__C5_Emitter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Particle &, getParticleTemplate,
|
||||
Properties::NON_VIRTUAL,
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgParticle/Emitter>
|
||||
#include <osgParticle/ExplosionDebrisEffect>
|
||||
#include <osgParticle/Program>
|
||||
@@ -27,7 +27,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::ExplosionDebrisEffect)
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
@@ -45,262 +44,32 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::ExplosionDebrisEffect)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__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,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____ExplosionDebrisEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f,
|
||||
____ExplosionDebrisEffect__C5_osg_Vec3_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ExplosionDebrisEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ExplosionDebrisEffect__C5_ExplosionDebrisEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgParticle::Emitter *, Emitter,
|
||||
__Emitter_P1__getEmitter,
|
||||
0);
|
||||
I_SimpleProperty(osgParticle::Program *, Program,
|
||||
__Program_P1__getProgram,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::ExplosionDebrisEffect)
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____ExplosionDebrisEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f,
|
||||
____ExplosionDebrisEffect__C5_osg_Vec3_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ExplosionDebrisEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ExplosionDebrisEffect__C5_ExplosionDebrisEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____ExplosionDebrisEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f,
|
||||
____ExplosionDebrisEffect__C5_osg_Vec3_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ExplosionDebrisEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ExplosionDebrisEffect__C5_ExplosionDebrisEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgParticle/Emitter>
|
||||
#include <osgParticle/ExplosionEffect>
|
||||
#include <osgParticle/Program>
|
||||
@@ -27,7 +27,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::ExplosionEffect)
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
@@ -45,262 +44,32 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::ExplosionEffect)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__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,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____ExplosionEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f,
|
||||
____ExplosionEffect__C5_osg_Vec3_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ExplosionEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ExplosionEffect__C5_ExplosionEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgParticle::Emitter *, Emitter,
|
||||
__Emitter_P1__getEmitter,
|
||||
0);
|
||||
I_SimpleProperty(osgParticle::Program *, Program,
|
||||
__Program_P1__getProgram,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::ExplosionEffect)
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____ExplosionEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f,
|
||||
____ExplosionEffect__C5_osg_Vec3_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ExplosionEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ExplosionEffect__C5_ExplosionEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____ExplosionEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f,
|
||||
____ExplosionEffect__C5_osg_Vec3_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ExplosionEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ExplosionEffect__C5_ExplosionEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgParticle/Emitter>
|
||||
#include <osgParticle/FireEffect>
|
||||
#include <osgParticle/Program>
|
||||
@@ -27,7 +27,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::FireEffect)
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
@@ -45,262 +44,32 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::FireEffect)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__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,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____FireEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f,
|
||||
____FireEffect__C5_osg_Vec3_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::FireEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FireEffect__C5_FireEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgParticle::Emitter *, Emitter,
|
||||
__Emitter_P1__getEmitter,
|
||||
0);
|
||||
I_SimpleProperty(osgParticle::Program *, Program,
|
||||
__Program_P1__getProgram,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::FireEffect)
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____FireEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f,
|
||||
____FireEffect__C5_osg_Vec3_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::FireEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FireEffect__C5_FireEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____FireEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f,
|
||||
____FireEffect__C5_osg_Vec3_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::FireEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FireEffect__C5_FireEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgParticle/FluidFrictionOperator>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/Program>
|
||||
@@ -26,7 +26,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::FluidFrictionOperator)
|
||||
I_BaseType(osgParticle::Operator);
|
||||
I_BaseType(osgParticle::Operator);
|
||||
I_Constructor0(____FluidFrictionOperator,
|
||||
"",
|
||||
@@ -38,13 +37,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::FluidFrictionOperator)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -53,13 +52,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::FluidFrictionOperator)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setFluidDensity, IN, float, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidDensity__float,
|
||||
@@ -111,305 +110,12 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::FluidFrictionOperator)
|
||||
"Set the fluid parameters as for pure water (20°C temperature). ",
|
||||
"");
|
||||
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__operate__Particle_P1__double,
|
||||
"Apply the friction forces to a particle. Do not call this method manually. ",
|
||||
"");
|
||||
I_Method1(void, beginOperate, IN, osgParticle::Program *, prg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__beginOperate__Program_P1,
|
||||
"Perform some initializations. Do not call this method manually. ",
|
||||
"");
|
||||
I_Constructor0(____FluidFrictionOperator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::FluidFrictionOperator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FluidFrictionOperator__C5_FluidFrictionOperator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFluidDensity, IN, float, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidDensity__float,
|
||||
"Set the density of the fluid. ",
|
||||
"");
|
||||
I_Method0(float, getFluidDensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFluidDensity,
|
||||
"Get the density of the fluid. ",
|
||||
"");
|
||||
I_Method1(void, setFluidViscosity, IN, float, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidViscosity__float,
|
||||
"Set the viscosity of the fluid. ",
|
||||
"");
|
||||
I_Method0(float, getFluidViscosity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFluidViscosity,
|
||||
"Get the viscosity of the fluid. ",
|
||||
"");
|
||||
I_Method1(void, setWind, IN, const osg::Vec3 &, wind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWind__C5_osg_Vec3_R1,
|
||||
"Set the wind vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getWind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getWind,
|
||||
"Get the wind vector. ",
|
||||
"");
|
||||
I_Method1(void, setOverrideRadius, IN, float, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOverrideRadius__float,
|
||||
"Set the overriden radius value (pass 0 if you want to use particle's radius). ",
|
||||
"");
|
||||
I_Method0(float, getOverrideRadius,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getOverrideRadius,
|
||||
"Get the overriden radius value. ",
|
||||
"");
|
||||
I_Method0(void, setFluidToAir,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidToAir,
|
||||
"Set the fluid parameters as for air (20°C temperature). ",
|
||||
"");
|
||||
I_Method0(void, setFluidToWater,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidToWater,
|
||||
"Set the fluid parameters as for pure water (20°C temperature). ",
|
||||
"");
|
||||
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__operate__Particle_P1__double,
|
||||
"Apply the friction forces to a particle. Do not call this method manually. ",
|
||||
"");
|
||||
I_Method1(void, beginOperate, IN, osgParticle::Program *, prg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__beginOperate__Program_P1,
|
||||
"Perform some initializations. Do not call this method manually. ",
|
||||
"");
|
||||
I_SimpleProperty(float, FluidDensity,
|
||||
__float__getFluidDensity,
|
||||
__void__setFluidDensity__float);
|
||||
I_SimpleProperty(float, FluidViscosity,
|
||||
__float__getFluidViscosity,
|
||||
__void__setFluidViscosity__float);
|
||||
I_SimpleProperty(float, OverrideRadius,
|
||||
__float__getOverrideRadius,
|
||||
__void__setOverrideRadius__float);
|
||||
I_SimpleProperty(const osg::Vec3 &, Wind,
|
||||
__C5_osg_Vec3_R1__getWind,
|
||||
__void__setWind__C5_osg_Vec3_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::FluidFrictionOperator)
|
||||
I_BaseType(osgParticle::Operator);
|
||||
I_BaseType(osgParticle::Operator);
|
||||
I_Constructor0(____FluidFrictionOperator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::FluidFrictionOperator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FluidFrictionOperator__C5_FluidFrictionOperator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFluidDensity, IN, float, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidDensity__float,
|
||||
"Set the density of the fluid. ",
|
||||
"");
|
||||
I_Method0(float, getFluidDensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFluidDensity,
|
||||
"Get the density of the fluid. ",
|
||||
"");
|
||||
I_Method1(void, setFluidViscosity, IN, float, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidViscosity__float,
|
||||
"Set the viscosity of the fluid. ",
|
||||
"");
|
||||
I_Method0(float, getFluidViscosity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFluidViscosity,
|
||||
"Get the viscosity of the fluid. ",
|
||||
"");
|
||||
I_Method1(void, setWind, IN, const osg::Vec3 &, wind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWind__C5_osg_Vec3_R1,
|
||||
"Set the wind vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getWind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getWind,
|
||||
"Get the wind vector. ",
|
||||
"");
|
||||
I_Method1(void, setOverrideRadius, IN, float, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOverrideRadius__float,
|
||||
"Set the overriden radius value (pass 0 if you want to use particle's radius). ",
|
||||
"");
|
||||
I_Method0(float, getOverrideRadius,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getOverrideRadius,
|
||||
"Get the overriden radius value. ",
|
||||
"");
|
||||
I_Method0(void, setFluidToAir,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidToAir,
|
||||
"Set the fluid parameters as for air (20°C temperature). ",
|
||||
"");
|
||||
I_Method0(void, setFluidToWater,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidToWater,
|
||||
"Set the fluid parameters as for pure water (20°C temperature). ",
|
||||
"");
|
||||
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__operate__Particle_P1__double,
|
||||
"Apply the friction forces to a particle. Do not call this method manually. ",
|
||||
"");
|
||||
I_Method1(void, beginOperate, IN, osgParticle::Program *, prg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__beginOperate__Program_P1,
|
||||
"Perform some initializations. Do not call this method manually. ",
|
||||
"");
|
||||
I_Constructor0(____FluidFrictionOperator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::FluidFrictionOperator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FluidFrictionOperator__C5_FluidFrictionOperator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFluidDensity, IN, float, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidDensity__float,
|
||||
"Set the density of the fluid. ",
|
||||
"");
|
||||
I_Method0(float, getFluidDensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFluidDensity,
|
||||
"Get the density of the fluid. ",
|
||||
"");
|
||||
I_Method1(void, setFluidViscosity, IN, float, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidViscosity__float,
|
||||
"Set the viscosity of the fluid. ",
|
||||
"");
|
||||
I_Method0(float, getFluidViscosity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFluidViscosity,
|
||||
"Get the viscosity of the fluid. ",
|
||||
"");
|
||||
I_Method1(void, setWind, IN, const osg::Vec3 &, wind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWind__C5_osg_Vec3_R1,
|
||||
"Set the wind vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getWind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getWind,
|
||||
"Get the wind vector. ",
|
||||
"");
|
||||
I_Method1(void, setOverrideRadius, IN, float, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOverrideRadius__float,
|
||||
"Set the overriden radius value (pass 0 if you want to use particle's radius). ",
|
||||
"");
|
||||
I_Method0(float, getOverrideRadius,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getOverrideRadius,
|
||||
"Get the overriden radius value. ",
|
||||
"");
|
||||
I_Method0(void, setFluidToAir,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidToAir,
|
||||
"Set the fluid parameters as for air (20°C temperature). ",
|
||||
"");
|
||||
I_Method0(void, setFluidToWater,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidToWater,
|
||||
"Set the fluid parameters as for pure water (20°C temperature). ",
|
||||
"");
|
||||
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__operate__Particle_P1__double,
|
||||
"Apply the friction forces to a particle. Do not call this method manually. ",
|
||||
"");
|
||||
I_Method1(void, beginOperate, IN, osgParticle::Program *, prg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__beginOperate__Program_P1,
|
||||
"Perform some initializations. Do not call this method manually. ",
|
||||
"");
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgParticle/FluidProgram>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -25,7 +25,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::FluidProgram)
|
||||
I_BaseType(osgParticle::Program);
|
||||
I_BaseType(osgParticle::Program);
|
||||
I_Constructor0(____FluidProgram,
|
||||
"",
|
||||
@@ -37,328 +36,32 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::FluidProgram)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__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,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFluidViscosity, IN, float, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidViscosity__float,
|
||||
"Set the viscosity of the fluid. ",
|
||||
"");
|
||||
I_Method0(float, getFluidViscosity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFluidViscosity,
|
||||
"Get the viscosity of the fluid. ",
|
||||
"");
|
||||
I_Method1(void, setFluidDensity, IN, float, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidDensity__float,
|
||||
"Set the density of the fluid. ",
|
||||
"");
|
||||
I_Method0(float, getFluidDensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFluidDensity,
|
||||
"Get the density of the fluid. ",
|
||||
"");
|
||||
I_Method1(void, setWind, IN, const osg::Vec3 &, wind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWind__C5_osg_Vec3_R1,
|
||||
"Set the wind vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getWind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getWind,
|
||||
"Get the wind vector. ",
|
||||
"");
|
||||
I_Method1(void, setAcceleration, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAcceleration__C5_osg_Vec3_R1,
|
||||
"Set the acceleration vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAcceleration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAcceleration,
|
||||
"Get the acceleration vector. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setToGravity, IN, float, scale, 1.0f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setToGravity__float,
|
||||
"Set the acceleration vector to the gravity on earth (0, 0, -9.81). ",
|
||||
"The acceleration will be multiplied by the scale parameter.");
|
||||
I_Method0(void, setFluidToAir,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidToAir,
|
||||
"Set the fluid parameters as for air (20°C temperature). ",
|
||||
"");
|
||||
I_Method0(void, setFluidToWater,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidToWater,
|
||||
"Set the fluid parameters as for pure water (20°C temperature). ",
|
||||
"");
|
||||
I_Constructor0(____FluidProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::FluidProgram &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FluidProgram__C5_FluidProgram_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFluidViscosity, IN, float, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidViscosity__float,
|
||||
"Set the viscosity of the fluid. ",
|
||||
"");
|
||||
I_Method0(float, getFluidViscosity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFluidViscosity,
|
||||
"Get the viscosity of the fluid. ",
|
||||
"");
|
||||
I_Method1(void, setFluidDensity, IN, float, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidDensity__float,
|
||||
"Set the density of the fluid. ",
|
||||
"");
|
||||
I_Method0(float, getFluidDensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFluidDensity,
|
||||
"Get the density of the fluid. ",
|
||||
"");
|
||||
I_Method1(void, setWind, IN, const osg::Vec3 &, wind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWind__C5_osg_Vec3_R1,
|
||||
"Set the wind vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getWind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getWind,
|
||||
"Get the wind vector. ",
|
||||
"");
|
||||
I_Method1(void, setAcceleration, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAcceleration__C5_osg_Vec3_R1,
|
||||
"Set the acceleration vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAcceleration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAcceleration,
|
||||
"Get the acceleration vector. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setToGravity, IN, float, scale, 1.0f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setToGravity__float,
|
||||
"Set the acceleration vector to the gravity on earth (0, 0, -9.81). ",
|
||||
"The acceleration will be multiplied by the scale parameter.");
|
||||
I_Method0(void, setFluidToAir,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidToAir,
|
||||
"Set the fluid parameters as for air (20°C temperature). ",
|
||||
"");
|
||||
I_Method0(void, setFluidToWater,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidToWater,
|
||||
"Set the fluid parameters as for pure water (20°C temperature). ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec3 &, Acceleration,
|
||||
__C5_osg_Vec3_R1__getAcceleration,
|
||||
__void__setAcceleration__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(float, FluidDensity,
|
||||
__float__getFluidDensity,
|
||||
__void__setFluidDensity__float);
|
||||
I_SimpleProperty(float, FluidViscosity,
|
||||
__float__getFluidViscosity,
|
||||
__void__setFluidViscosity__float);
|
||||
I_SimpleProperty(float, ToGravity,
|
||||
0,
|
||||
__void__setToGravity__float);
|
||||
I_SimpleProperty(const osg::Vec3 &, Wind,
|
||||
__C5_osg_Vec3_R1__getWind,
|
||||
__void__setWind__C5_osg_Vec3_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::FluidProgram)
|
||||
I_BaseType(osgParticle::Program);
|
||||
I_BaseType(osgParticle::Program);
|
||||
I_Constructor0(____FluidProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::FluidProgram &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FluidProgram__C5_FluidProgram_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFluidViscosity, IN, float, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidViscosity__float,
|
||||
"Set the viscosity of the fluid. ",
|
||||
"");
|
||||
I_Method0(float, getFluidViscosity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFluidViscosity,
|
||||
"Get the viscosity of the fluid. ",
|
||||
"");
|
||||
I_Method1(void, setFluidDensity, IN, float, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidDensity__float,
|
||||
"Set the density of the fluid. ",
|
||||
"");
|
||||
I_Method0(float, getFluidDensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFluidDensity,
|
||||
"Get the density of the fluid. ",
|
||||
"");
|
||||
I_Method1(void, setWind, IN, const osg::Vec3 &, wind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWind__C5_osg_Vec3_R1,
|
||||
"Set the wind vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getWind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getWind,
|
||||
"Get the wind vector. ",
|
||||
"");
|
||||
I_Method1(void, setAcceleration, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAcceleration__C5_osg_Vec3_R1,
|
||||
"Set the acceleration vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAcceleration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAcceleration,
|
||||
"Get the acceleration vector. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setToGravity, IN, float, scale, 1.0f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setToGravity__float,
|
||||
"Set the acceleration vector to the gravity on earth (0, 0, -9.81). ",
|
||||
"The acceleration will be multiplied by the scale parameter.");
|
||||
I_Method0(void, setFluidToAir,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidToAir,
|
||||
"Set the fluid parameters as for air (20°C temperature). ",
|
||||
"");
|
||||
I_Method0(void, setFluidToWater,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFluidToWater,
|
||||
"Set the fluid parameters as for pure water (20°C temperature). ",
|
||||
"");
|
||||
I_Constructor0(____FluidProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::FluidProgram &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FluidProgram__C5_FluidProgram_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, setFluidViscosity, IN, float, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgParticle/ForceOperator>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/Program>
|
||||
@@ -26,7 +26,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::ForceOperator)
|
||||
I_BaseType(osgParticle::Operator);
|
||||
I_BaseType(osgParticle::Operator);
|
||||
I_Constructor0(____ForceOperator,
|
||||
"",
|
||||
@@ -38,13 +37,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::ForceOperator)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -53,13 +52,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::ForceOperator)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method0(const osg::Vec3 &, getForce,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getForce,
|
||||
@@ -71,176 +70,12 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::ForceOperator)
|
||||
"Set the force vector. ",
|
||||
"");
|
||||
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__operate__Particle_P1__double,
|
||||
"Apply the force to a particle. Do not call this method manually. ",
|
||||
"");
|
||||
I_Method1(void, beginOperate, IN, osgParticle::Program *, prg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__beginOperate__Program_P1,
|
||||
"Perform some initialization. Do not call this method manually. ",
|
||||
"");
|
||||
I_Constructor0(____ForceOperator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ForceOperator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ForceOperator__C5_ForceOperator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getForce,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getForce,
|
||||
"Get the force vector. ",
|
||||
"");
|
||||
I_Method1(void, setForce, IN, const osg::Vec3 &, f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setForce__C5_osg_Vec3_R1,
|
||||
"Set the force vector. ",
|
||||
"");
|
||||
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__operate__Particle_P1__double,
|
||||
"Apply the force to a particle. Do not call this method manually. ",
|
||||
"");
|
||||
I_Method1(void, beginOperate, IN, osgParticle::Program *, prg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__beginOperate__Program_P1,
|
||||
"Perform some initialization. Do not call this method manually. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec3 &, Force,
|
||||
__C5_osg_Vec3_R1__getForce,
|
||||
__void__setForce__C5_osg_Vec3_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::ForceOperator)
|
||||
I_BaseType(osgParticle::Operator);
|
||||
I_BaseType(osgParticle::Operator);
|
||||
I_Constructor0(____ForceOperator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ForceOperator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ForceOperator__C5_ForceOperator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getForce,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getForce,
|
||||
"Get the force vector. ",
|
||||
"");
|
||||
I_Method1(void, setForce, IN, const osg::Vec3 &, f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setForce__C5_osg_Vec3_R1,
|
||||
"Set the force vector. ",
|
||||
"");
|
||||
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__operate__Particle_P1__double,
|
||||
"Apply the force to a particle. Do not call this method manually. ",
|
||||
"");
|
||||
I_Method1(void, beginOperate, IN, osgParticle::Program *, prg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__beginOperate__Program_P1,
|
||||
"Perform some initialization. Do not call this method manually. ",
|
||||
"");
|
||||
I_Constructor0(____ForceOperator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ForceOperator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ForceOperator__C5_ForceOperator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getForce,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getForce,
|
||||
"Get the force vector. ",
|
||||
"");
|
||||
I_Method1(void, setForce, IN, const osg::Vec3 &, f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setForce__C5_osg_Vec3_R1,
|
||||
"Set the force vector. ",
|
||||
"");
|
||||
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__operate__Particle_P1__double,
|
||||
"Apply the force to a particle. Do not call this method manually. ",
|
||||
"");
|
||||
I_Method1(void, beginOperate, IN, osgParticle::Program *, prg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__beginOperate__Program_P1,
|
||||
"Perform some initialization. Do not call this method manually. ",
|
||||
"");
|
||||
|
||||
@@ -24,15 +24,22 @@ CXXFILES =\
|
||||
Operator.cpp\
|
||||
Particle.cpp\
|
||||
ParticleEffect.cpp\
|
||||
ParticleProcessor.cpp\
|
||||
ParticleSystem.cpp\
|
||||
ParticleSystemUpdater.cpp\
|
||||
Placer.cpp\
|
||||
PointPlacer.cpp\
|
||||
PrecipitationEffect.cpp\
|
||||
Program.cpp\
|
||||
RadialShooter.cpp\
|
||||
RandomRateCounter.cpp\
|
||||
SectorPlacer.cpp\
|
||||
SegmentPlacer.cpp\
|
||||
Shooter.cpp\
|
||||
SmokeEffect.cpp\
|
||||
SmokeTrailEffect.cpp\
|
||||
VariableRateCounter.cpp\
|
||||
range.cpp\
|
||||
|
||||
LIBS += -losgParticle -losg -losgIntrospection -losgUtil -losgDB $(GL_LIBS) $(OTHER_LIBS)
|
||||
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec2.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec2>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Vec4>
|
||||
#include <osgParticle/Interpolator>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -26,7 +26,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Interpolator)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____Interpolator,
|
||||
"",
|
||||
@@ -38,144 +37,13 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Interpolator)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(float, interpolate, IN, float, t, IN, float, y1, IN, float, y2,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__float__interpolate__float__float__float,
|
||||
"Interpolate between floats. Must be overriden in descendant classes. ",
|
||||
"");
|
||||
I_Method3(osg::Vec2, interpolate, IN, float, t, IN, const osg::Vec2 &, y1, IN, const osg::Vec2 &, y2,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Vec2__interpolate__float__C5_osg_Vec2_R1__C5_osg_Vec2_R1,
|
||||
"Interpolate between 2-dimensional vectors. Default behavior is to interpolate each component separately. ",
|
||||
"");
|
||||
I_Method3(osg::Vec3, interpolate, IN, float, t, IN, const osg::Vec3 &, y1, IN, const osg::Vec3 &, y2,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Vec3__interpolate__float__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"Interpolate between 3-dimensional vectors. Default behavior is to interpolate each component separately. ",
|
||||
"");
|
||||
I_Method3(osg::Vec4, interpolate, IN, float, t, IN, const osg::Vec4 &, y1, IN, const osg::Vec4 &, y2,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Vec4__interpolate__float__C5_osg_Vec4_R1__C5_osg_Vec4_R1,
|
||||
"Interpolate between 4-dimensional vectors. Default behavior is to interpolate each component separately. ",
|
||||
"");
|
||||
I_Constructor0(____Interpolator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Interpolator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Interpolator__C5_Interpolator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(float, interpolate, IN, float, t, IN, float, y1, IN, float, y2,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__float__interpolate__float__float__float,
|
||||
"Interpolate between floats. Must be overriden in descendant classes. ",
|
||||
"");
|
||||
I_Method3(osg::Vec2, interpolate, IN, float, t, IN, const osg::Vec2 &, y1, IN, const osg::Vec2 &, y2,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Vec2__interpolate__float__C5_osg_Vec2_R1__C5_osg_Vec2_R1,
|
||||
"Interpolate between 2-dimensional vectors. Default behavior is to interpolate each component separately. ",
|
||||
"");
|
||||
I_Method3(osg::Vec3, interpolate, IN, float, t, IN, const osg::Vec3 &, y1, IN, const osg::Vec3 &, y2,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Vec3__interpolate__float__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"Interpolate between 3-dimensional vectors. Default behavior is to interpolate each component separately. ",
|
||||
"");
|
||||
I_Method3(osg::Vec4, interpolate, IN, float, t, IN, const osg::Vec4 &, y1, IN, const osg::Vec4 &, y2,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Vec4__interpolate__float__C5_osg_Vec4_R1__C5_osg_Vec4_R1,
|
||||
"Interpolate between 4-dimensional vectors. Default behavior is to interpolate each component separately. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Interpolator)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____Interpolator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Interpolator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Interpolator__C5_Interpolator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(float, interpolate, IN, float, t, IN, float, y1, IN, float, y2,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__float__interpolate__float__float__float,
|
||||
"Interpolate between floats. Must be overriden in descendant classes. ",
|
||||
"");
|
||||
I_Method3(osg::Vec2, interpolate, IN, float, t, IN, const osg::Vec2 &, y1, IN, const osg::Vec2 &, y2,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Vec2__interpolate__float__C5_osg_Vec2_R1__C5_osg_Vec2_R1,
|
||||
"Interpolate between 2-dimensional vectors. Default behavior is to interpolate each component separately. ",
|
||||
"");
|
||||
I_Method3(osg::Vec3, interpolate, IN, float, t, IN, const osg::Vec3 &, y1, IN, const osg::Vec3 &, y2,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Vec3__interpolate__float__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"Interpolate between 3-dimensional vectors. Default behavior is to interpolate each component separately. ",
|
||||
"");
|
||||
I_Method3(osg::Vec4, interpolate, IN, float, t, IN, const osg::Vec4 &, y1, IN, const osg::Vec4 &, y2,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Vec4__interpolate__float__C5_osg_Vec4_R1__C5_osg_Vec4_R1,
|
||||
"Interpolate between 4-dimensional vectors. Default behavior is to interpolate each component separately. ",
|
||||
"");
|
||||
I_Constructor0(____Interpolator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Interpolator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Interpolator__C5_Interpolator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osgParticle/LinearInterpolator>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -23,7 +23,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::LinearInterpolator)
|
||||
I_BaseType(osgParticle::Interpolator);
|
||||
I_BaseType(osgParticle::Interpolator);
|
||||
I_Constructor0(____LinearInterpolator,
|
||||
"",
|
||||
@@ -35,13 +34,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::LinearInterpolator)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -50,133 +49,17 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::LinearInterpolator)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method3(float, interpolate, IN, float, t, IN, float, y1, IN, float, y2,
|
||||
Properties::VIRTUAL,
|
||||
__float__interpolate__float__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____LinearInterpolator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::LinearInterpolator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____LinearInterpolator__C5_LinearInterpolator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method3(float, interpolate, IN, float, t, IN, float, y1, IN, float, y2,
|
||||
Properties::VIRTUAL,
|
||||
__float__interpolate__float__float__float,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::LinearInterpolator)
|
||||
I_BaseType(osgParticle::Interpolator);
|
||||
I_BaseType(osgParticle::Interpolator);
|
||||
I_Constructor0(____LinearInterpolator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::LinearInterpolator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____LinearInterpolator__C5_LinearInterpolator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method3(float, interpolate, IN, float, t, IN, float, y1, IN, float, y2,
|
||||
Properties::VIRTUAL,
|
||||
__float__interpolate__float__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____LinearInterpolator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::LinearInterpolator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____LinearInterpolator__C5_LinearInterpolator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method3(float, interpolate, IN, float, t, IN, float, y1, IN, float, y2,
|
||||
Properties::VIRTUAL,
|
||||
__float__interpolate__float__float__float,
|
||||
"",
|
||||
"Interpolate between floats. Must be overriden in descendant classes. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osgParticle/Counter>
|
||||
#include <osgParticle/ModularEmitter>
|
||||
#include <osgParticle/Placer>
|
||||
@@ -27,7 +27,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::ModularEmitter)
|
||||
I_BaseType(osgParticle::Emitter);
|
||||
I_BaseType(osgParticle::Emitter);
|
||||
I_Constructor0(____ModularEmitter,
|
||||
"",
|
||||
@@ -39,325 +38,32 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::ModularEmitter)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__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,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Counter *, getCounter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Counter_P1__getCounter,
|
||||
"Get the counter object. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Counter *, getCounter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Counter_P1__getCounter,
|
||||
"Get the const Counter object. ",
|
||||
"");
|
||||
I_Method1(void, setCounter, IN, osgParticle::Counter *, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCounter__Counter_P1,
|
||||
"Set the Counter object. ",
|
||||
"");
|
||||
I_Method0(float, getNumParticlesToCreateMovementCompenstationRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getNumParticlesToCreateMovementCompenstationRatio,
|
||||
"Get the ratio between number of particle to create in compenstation for movement of the emitter. ",
|
||||
"");
|
||||
I_Method1(void, setNumParticlesToCreateMovementCompenstationRatio, IN, float, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumParticlesToCreateMovementCompenstationRatio__float,
|
||||
"Set the ratio between number of particle to create in compenstation for movement of the emitter. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Placer *, getPlacer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Placer_P1__getPlacer,
|
||||
"Get the Placer object. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Placer *, getPlacer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Placer_P1__getPlacer,
|
||||
"Get the const Placer object. ",
|
||||
"");
|
||||
I_Method1(void, setPlacer, IN, osgParticle::Placer *, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPlacer__Placer_P1,
|
||||
"Set the Placer object. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Shooter *, getShooter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Shooter_P1__getShooter,
|
||||
"Get the Shooter object. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Shooter *, getShooter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Shooter_P1__getShooter,
|
||||
"Get the const Shooter object. ",
|
||||
"");
|
||||
I_Method1(void, setShooter, IN, osgParticle::Shooter *, s,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setShooter__Shooter_P1,
|
||||
"Set the Shooter object. ",
|
||||
"");
|
||||
I_Constructor0(____ModularEmitter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ModularEmitter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ModularEmitter__C5_ModularEmitter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Counter *, getCounter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Counter_P1__getCounter,
|
||||
"Get the counter object. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Counter *, getCounter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Counter_P1__getCounter,
|
||||
"Get the const Counter object. ",
|
||||
"");
|
||||
I_Method1(void, setCounter, IN, osgParticle::Counter *, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCounter__Counter_P1,
|
||||
"Set the Counter object. ",
|
||||
"");
|
||||
I_Method0(float, getNumParticlesToCreateMovementCompenstationRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getNumParticlesToCreateMovementCompenstationRatio,
|
||||
"Get the ratio between number of particle to create in compenstation for movement of the emitter. ",
|
||||
"");
|
||||
I_Method1(void, setNumParticlesToCreateMovementCompenstationRatio, IN, float, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumParticlesToCreateMovementCompenstationRatio__float,
|
||||
"Set the ratio between number of particle to create in compenstation for movement of the emitter. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Placer *, getPlacer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Placer_P1__getPlacer,
|
||||
"Get the Placer object. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Placer *, getPlacer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Placer_P1__getPlacer,
|
||||
"Get the const Placer object. ",
|
||||
"");
|
||||
I_Method1(void, setPlacer, IN, osgParticle::Placer *, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPlacer__Placer_P1,
|
||||
"Set the Placer object. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Shooter *, getShooter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Shooter_P1__getShooter,
|
||||
"Get the Shooter object. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Shooter *, getShooter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Shooter_P1__getShooter,
|
||||
"Get the const Shooter object. ",
|
||||
"");
|
||||
I_Method1(void, setShooter, IN, osgParticle::Shooter *, s,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setShooter__Shooter_P1,
|
||||
"Set the Shooter object. ",
|
||||
"");
|
||||
I_SimpleProperty(osgParticle::Counter *, Counter,
|
||||
__Counter_P1__getCounter,
|
||||
__void__setCounter__Counter_P1);
|
||||
I_SimpleProperty(float, NumParticlesToCreateMovementCompenstationRatio,
|
||||
0,
|
||||
__void__setNumParticlesToCreateMovementCompenstationRatio__float);
|
||||
I_SimpleProperty(osgParticle::Placer *, Placer,
|
||||
__Placer_P1__getPlacer,
|
||||
__void__setPlacer__Placer_P1);
|
||||
I_SimpleProperty(osgParticle::Shooter *, Shooter,
|
||||
__Shooter_P1__getShooter,
|
||||
__void__setShooter__Shooter_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::ModularEmitter)
|
||||
I_BaseType(osgParticle::Emitter);
|
||||
I_BaseType(osgParticle::Emitter);
|
||||
I_Constructor0(____ModularEmitter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ModularEmitter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ModularEmitter__C5_ModularEmitter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Counter *, getCounter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Counter_P1__getCounter,
|
||||
"Get the counter object. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Counter *, getCounter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Counter_P1__getCounter,
|
||||
"Get the const Counter object. ",
|
||||
"");
|
||||
I_Method1(void, setCounter, IN, osgParticle::Counter *, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCounter__Counter_P1,
|
||||
"Set the Counter object. ",
|
||||
"");
|
||||
I_Method0(float, getNumParticlesToCreateMovementCompenstationRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getNumParticlesToCreateMovementCompenstationRatio,
|
||||
"Get the ratio between number of particle to create in compenstation for movement of the emitter. ",
|
||||
"");
|
||||
I_Method1(void, setNumParticlesToCreateMovementCompenstationRatio, IN, float, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumParticlesToCreateMovementCompenstationRatio__float,
|
||||
"Set the ratio between number of particle to create in compenstation for movement of the emitter. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Placer *, getPlacer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Placer_P1__getPlacer,
|
||||
"Get the Placer object. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Placer *, getPlacer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Placer_P1__getPlacer,
|
||||
"Get the const Placer object. ",
|
||||
"");
|
||||
I_Method1(void, setPlacer, IN, osgParticle::Placer *, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPlacer__Placer_P1,
|
||||
"Set the Placer object. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Shooter *, getShooter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Shooter_P1__getShooter,
|
||||
"Get the Shooter object. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Shooter *, getShooter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Shooter_P1__getShooter,
|
||||
"Get the const Shooter object. ",
|
||||
"");
|
||||
I_Method1(void, setShooter, IN, osgParticle::Shooter *, s,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setShooter__Shooter_P1,
|
||||
"Set the Shooter object. ",
|
||||
"");
|
||||
I_Constructor0(____ModularEmitter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ModularEmitter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ModularEmitter__C5_ModularEmitter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Counter *, getCounter,
|
||||
Properties::NON_VIRTUAL,
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osgParticle/ModularProgram>
|
||||
#include <osgParticle/Operator>
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::ModularProgram)
|
||||
I_BaseType(osgParticle::Program);
|
||||
I_BaseType(osgParticle::Program);
|
||||
I_Constructor0(____ModularProgram,
|
||||
"",
|
||||
@@ -37,223 +36,32 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::ModularProgram)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__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,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, numOperators,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__numOperators,
|
||||
"Get the number of operators. ",
|
||||
"");
|
||||
I_Method1(void, addOperator, IN, osgParticle::Operator *, o,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addOperator__Operator_P1,
|
||||
"Add an operator to the list. ",
|
||||
"");
|
||||
I_Method1(osgParticle::Operator *, getOperator, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Operator_P1__getOperator__int,
|
||||
"Get a pointer to an operator in the list. ",
|
||||
"");
|
||||
I_Method1(const osgParticle::Operator *, getOperator, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Operator_P1__getOperator__int,
|
||||
"Get a const pointer to an operator in the list. ",
|
||||
"");
|
||||
I_Method1(void, removeOperator, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeOperator__int,
|
||||
"Remove an operator from the list. ",
|
||||
"");
|
||||
I_Constructor0(____ModularProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ModularProgram &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ModularProgram__C5_ModularProgram_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, numOperators,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__numOperators,
|
||||
"Get the number of operators. ",
|
||||
"");
|
||||
I_Method1(void, addOperator, IN, osgParticle::Operator *, o,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addOperator__Operator_P1,
|
||||
"Add an operator to the list. ",
|
||||
"");
|
||||
I_Method1(osgParticle::Operator *, getOperator, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Operator_P1__getOperator__int,
|
||||
"Get a pointer to an operator in the list. ",
|
||||
"");
|
||||
I_Method1(const osgParticle::Operator *, getOperator, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Operator_P1__getOperator__int,
|
||||
"Get a const pointer to an operator in the list. ",
|
||||
"");
|
||||
I_Method1(void, removeOperator, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeOperator__int,
|
||||
"Remove an operator from the list. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::ModularProgram)
|
||||
I_BaseType(osgParticle::Program);
|
||||
I_BaseType(osgParticle::Program);
|
||||
I_Constructor0(____ModularProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ModularProgram &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ModularProgram__C5_ModularProgram_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, numOperators,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__numOperators,
|
||||
"Get the number of operators. ",
|
||||
"");
|
||||
I_Method1(void, addOperator, IN, osgParticle::Operator *, o,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addOperator__Operator_P1,
|
||||
"Add an operator to the list. ",
|
||||
"");
|
||||
I_Method1(osgParticle::Operator *, getOperator, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Operator_P1__getOperator__int,
|
||||
"Get a pointer to an operator in the list. ",
|
||||
"");
|
||||
I_Method1(const osgParticle::Operator *, getOperator, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Operator_P1__getOperator__int,
|
||||
"Get a const pointer to an operator in the list. ",
|
||||
"");
|
||||
I_Method1(void, removeOperator, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeOperator__int,
|
||||
"Remove an operator from the list. ",
|
||||
"");
|
||||
I_Constructor0(____ModularProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ModularProgram &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ModularProgram__C5_ModularProgram_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method0(int, numOperators,
|
||||
Properties::NON_VIRTUAL,
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgParticle/MultiSegmentPlacer>
|
||||
#include <osgParticle/Particle>
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::MultiSegmentPlacer)
|
||||
I_BaseType(osgParticle::Placer);
|
||||
I_BaseType(osgParticle::Placer);
|
||||
I_Constructor0(____MultiSegmentPlacer,
|
||||
"",
|
||||
@@ -37,13 +36,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::MultiSegmentPlacer)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -52,13 +51,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::MultiSegmentPlacer)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method0(int, numVertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__numVertices,
|
||||
@@ -95,255 +94,12 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::MultiSegmentPlacer)
|
||||
"Remove a vertex. ",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a partice. Called automatically by ModularEmitter, do not call this method manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
I_Constructor0(____MultiSegmentPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::MultiSegmentPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____MultiSegmentPlacer__C5_MultiSegmentPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, numVertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__numVertices,
|
||||
"Get the number of vertices which define the segments. ",
|
||||
"");
|
||||
I_Method1(const osg::Vec3 &, getVertex, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getVertex__int,
|
||||
"Get a vertex. ",
|
||||
"");
|
||||
I_Method2(void, setVertex, IN, int, i, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertex__int__C5_osg_Vec3_R1,
|
||||
"Set a vertex. ",
|
||||
"");
|
||||
I_Method4(void, setVertex, IN, int, i, IN, float, x, IN, float, y, IN, float, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertex__int__float__float__float,
|
||||
"Set a vertex. ",
|
||||
"");
|
||||
I_Method1(void, addVertex, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addVertex__C5_osg_Vec3_R1,
|
||||
"Add a vertex. ",
|
||||
"");
|
||||
I_Method3(void, addVertex, IN, float, x, IN, float, y, IN, float, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addVertex__float__float__float,
|
||||
"Add a vertex. ",
|
||||
"");
|
||||
I_Method1(void, removeVertex, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeVertex__int,
|
||||
"Remove a vertex. ",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a partice. Called automatically by ModularEmitter, do not call this method manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
I_SimpleProperty(osg::Vec3, ControlPosition,
|
||||
__osg_Vec3__getControlPosition,
|
||||
0);
|
||||
I_IndexedProperty(const osg::Vec3 &, Vertex,
|
||||
__C5_osg_Vec3_R1__getVertex__int,
|
||||
__void__setVertex__int__C5_osg_Vec3_R1,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::MultiSegmentPlacer)
|
||||
I_BaseType(osgParticle::Placer);
|
||||
I_BaseType(osgParticle::Placer);
|
||||
I_Constructor0(____MultiSegmentPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::MultiSegmentPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____MultiSegmentPlacer__C5_MultiSegmentPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, numVertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__numVertices,
|
||||
"Get the number of vertices which define the segments. ",
|
||||
"");
|
||||
I_Method1(const osg::Vec3 &, getVertex, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getVertex__int,
|
||||
"Get a vertex. ",
|
||||
"");
|
||||
I_Method2(void, setVertex, IN, int, i, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertex__int__C5_osg_Vec3_R1,
|
||||
"Set a vertex. ",
|
||||
"");
|
||||
I_Method4(void, setVertex, IN, int, i, IN, float, x, IN, float, y, IN, float, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertex__int__float__float__float,
|
||||
"Set a vertex. ",
|
||||
"");
|
||||
I_Method1(void, addVertex, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addVertex__C5_osg_Vec3_R1,
|
||||
"Add a vertex. ",
|
||||
"");
|
||||
I_Method3(void, addVertex, IN, float, x, IN, float, y, IN, float, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addVertex__float__float__float,
|
||||
"Add a vertex. ",
|
||||
"");
|
||||
I_Method1(void, removeVertex, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeVertex__int,
|
||||
"Remove a vertex. ",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a partice. Called automatically by ModularEmitter, do not call this method manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
I_Constructor0(____MultiSegmentPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::MultiSegmentPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____MultiSegmentPlacer__C5_MultiSegmentPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, numVertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__numVertices,
|
||||
"Get the number of vertices which define the segments. ",
|
||||
"");
|
||||
I_Method1(const osg::Vec3 &, getVertex, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getVertex__int,
|
||||
"Get a vertex. ",
|
||||
"");
|
||||
I_Method2(void, setVertex, IN, int, i, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertex__int__C5_osg_Vec3_R1,
|
||||
"Set a vertex. ",
|
||||
"");
|
||||
I_Method4(void, setVertex, IN, int, i, IN, float, x, IN, float, y, IN, float, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertex__int__float__float__float,
|
||||
"Set a vertex. ",
|
||||
"");
|
||||
I_Method1(void, addVertex, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addVertex__C5_osg_Vec3_R1,
|
||||
"Add a vertex. ",
|
||||
"");
|
||||
I_Method3(void, addVertex, IN, float, x, IN, float, y, IN, float, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addVertex__float__float__float,
|
||||
"Add a vertex. ",
|
||||
"");
|
||||
I_Method1(void, removeVertex, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeVertex__int,
|
||||
"Remove a vertex. ",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a partice. Called automatically by ModularEmitter, do not call this method manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osgParticle/Operator>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/Program>
|
||||
@@ -25,7 +25,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Operator)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____Operator,
|
||||
"",
|
||||
@@ -37,162 +36,13 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Operator)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isEnabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isEnabled,
|
||||
"Get whether this operator is enabled. ",
|
||||
"");
|
||||
I_Method1(void, setEnabled, IN, bool, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEnabled__bool,
|
||||
"Enable or disable this operator. ",
|
||||
"");
|
||||
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__operate__Particle_P1__double,
|
||||
"Do something on a particle. ",
|
||||
"This method is called by ModularProgram objects to perform some operations on the particles. You must override it in descendant classes. Common operations consist of modifying the particle's velocity vector. The dt parameter is the time elapsed from last operation.");
|
||||
I_Method1(void, beginOperate, IN, osgParticle::Program *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__beginOperate__Program_P1,
|
||||
"Do something before processing particles via the operate() method. ",
|
||||
"Overriding this method could be necessary to query the calling Program object for the current reference frame. If the reference frame is RELATIVE_RF, then your class should prepare itself to do all operations in local coordinates.");
|
||||
I_Method0(void, endOperate,
|
||||
Properties::VIRTUAL,
|
||||
__void__endOperate,
|
||||
"Do something after all particles have been processed. ",
|
||||
"");
|
||||
I_Constructor0(____Operator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Operator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Operator__C5_Operator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isEnabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isEnabled,
|
||||
"Get whether this operator is enabled. ",
|
||||
"");
|
||||
I_Method1(void, setEnabled, IN, bool, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEnabled__bool,
|
||||
"Enable or disable this operator. ",
|
||||
"");
|
||||
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__operate__Particle_P1__double,
|
||||
"Do something on a particle. ",
|
||||
"This method is called by ModularProgram objects to perform some operations on the particles. You must override it in descendant classes. Common operations consist of modifying the particle's velocity vector. The dt parameter is the time elapsed from last operation.");
|
||||
I_Method1(void, beginOperate, IN, osgParticle::Program *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__beginOperate__Program_P1,
|
||||
"Do something before processing particles via the operate() method. ",
|
||||
"Overriding this method could be necessary to query the calling Program object for the current reference frame. If the reference frame is RELATIVE_RF, then your class should prepare itself to do all operations in local coordinates.");
|
||||
I_Method0(void, endOperate,
|
||||
Properties::VIRTUAL,
|
||||
__void__endOperate,
|
||||
"Do something after all particles have been processed. ",
|
||||
"");
|
||||
I_SimpleProperty(bool, Enabled,
|
||||
0,
|
||||
__void__setEnabled__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Operator)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____Operator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Operator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Operator__C5_Operator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isEnabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isEnabled,
|
||||
"Get whether this operator is enabled. ",
|
||||
"");
|
||||
I_Method1(void, setEnabled, IN, bool, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEnabled__bool,
|
||||
"Enable or disable this operator. ",
|
||||
"");
|
||||
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__operate__Particle_P1__double,
|
||||
"Do something on a particle. ",
|
||||
"This method is called by ModularProgram objects to perform some operations on the particles. You must override it in descendant classes. Common operations consist of modifying the particle's velocity vector. The dt parameter is the time elapsed from last operation.");
|
||||
I_Method1(void, beginOperate, IN, osgParticle::Program *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__beginOperate__Program_P1,
|
||||
"Do something before processing particles via the operate() method. ",
|
||||
"Overriding this method could be necessary to query the calling Program object for the current reference frame. If the reference frame is RELATIVE_RF, then your class should prepare itself to do all operations in local coordinates.");
|
||||
I_Method0(void, endOperate,
|
||||
Properties::VIRTUAL,
|
||||
__void__endOperate,
|
||||
"Do something after all particles have been processed. ",
|
||||
"");
|
||||
I_Constructor0(____Operator,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Operator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Operator__C5_Operator_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
|
||||
@@ -10,14 +10,13 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osgParticle/.svn/text-base/Particle.svn-base>
|
||||
#include <osgParticle/.svn/text-base/range.svn-base>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Vec4>
|
||||
#include <osgParticle/Interpolator>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/ParticleSystem>
|
||||
#include <osgParticle/range>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -324,965 +323,6 @@ BEGIN_VALUE_REFLECTOR(osgParticle::Particle)
|
||||
__void__setUpTexCoordsAsPartOfConnectedParticleSystem__ParticleSystem_P1,
|
||||
"Method for initializing a particles texture coords as part of a connected particle system. ",
|
||||
"");
|
||||
I_Constructor0(____Particle,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Particle::Shape, getShape,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Shape__getShape,
|
||||
"Get the shape of the particle. ",
|
||||
"");
|
||||
I_Method1(void, setShape, IN, osgParticle::Particle::Shape, s,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setShape__Shape,
|
||||
"Set the shape of the particle. ",
|
||||
"");
|
||||
I_Method0(bool, isAlive,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isAlive,
|
||||
"Get whether the particle is still alive. ",
|
||||
"");
|
||||
I_Method0(double, getLifeTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getLifeTime,
|
||||
"Get the life time of the particle (in seconds). ",
|
||||
"");
|
||||
I_Method0(double, getAge,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getAge,
|
||||
"Get the age of the particle (in seconds). ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getSizeRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getSizeRange,
|
||||
"Get the minimum and maximum values for polygon size. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getAlphaRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getAlphaRange,
|
||||
"Get the minimum and maximum values for alpha. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangev4 &, getColorRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangev4_R1__getColorRange,
|
||||
"Get the minimum and maximum values for color. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Interpolator *, getSizeInterpolator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Interpolator_P1__getSizeInterpolator,
|
||||
"Get the interpolator for computing the size of polygons. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Interpolator *, getAlphaInterpolator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Interpolator_P1__getAlphaInterpolator,
|
||||
"Get the interpolator for computing alpha values. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Interpolator *, getColorInterpolator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Interpolator_P1__getColorInterpolator,
|
||||
"Get the interpolator for computing color values. ",
|
||||
"");
|
||||
I_Method0(float, getRadius,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getRadius,
|
||||
"Get the physical radius of the particle. ",
|
||||
"For built-in operators to work correctly, lengths must be expressed in meters.");
|
||||
I_Method0(float, getMass,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMass,
|
||||
"Get the mass of the particle. ",
|
||||
"For built-in operators to work correctly, remember that the mass is expressed in kg.");
|
||||
I_Method0(float, getMassInv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMassInv,
|
||||
"Get 1 / getMass(). ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"Get the position vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getVelocity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getVelocity,
|
||||
"Get the velocity vector. ",
|
||||
"For built-in operators to work correctly, remember that velocity components are expressed in meters per second.");
|
||||
I_Method0(const osg::Vec3 &, getPreviousPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPreviousPosition,
|
||||
"Get the previous position (the position before last update). ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAngle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAngle,
|
||||
"Get the angle vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAngularVelocity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAngularVelocity,
|
||||
"Get the rotational velocity vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPreviousAngle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPreviousAngle,
|
||||
"Get the previous angle vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getCurrentColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4_R1__getCurrentColor,
|
||||
"Get the current color. ",
|
||||
"");
|
||||
I_Method0(float, getCurrentAlpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getCurrentAlpha,
|
||||
"Get the current alpha. ",
|
||||
"");
|
||||
I_Method0(const float, getSTexCoord,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_float__getSTexCoord,
|
||||
"Get the s texture coordinate of the bottom left of the particle. ",
|
||||
"");
|
||||
I_Method0(float, getTCoord,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getTCoord,
|
||||
"Get the t texture coordinate of the bottom left of the particle. ",
|
||||
"");
|
||||
I_Method0(int, getTileS,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getTileS,
|
||||
"Get width of texture tile. ",
|
||||
"");
|
||||
I_Method0(int, getTileT,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getTileT,
|
||||
"Get height of texture tile. ",
|
||||
"");
|
||||
I_Method0(int, getNumTiles,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumTiles,
|
||||
"Get number of texture tiles. ",
|
||||
"");
|
||||
I_Method0(void, kill,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__kill,
|
||||
"Kill the particle on next update NOTE: after calling this function, the isAlive() method will still return true until the particle is updated again. ",
|
||||
"");
|
||||
I_Method1(void, setLifeTime, IN, double, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLifeTime__double,
|
||||
"Set the life time of the particle. ",
|
||||
"");
|
||||
I_Method1(void, setSizeRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSizeRange__C5_rangef_R1,
|
||||
"Set the minimum and maximum values for polygon size. ",
|
||||
"");
|
||||
I_Method1(void, setAlphaRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAlphaRange__C5_rangef_R1,
|
||||
"Set the minimum and maximum values for alpha. ",
|
||||
"");
|
||||
I_Method1(void, setColorRange, IN, const osgParticle::rangev4 &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColorRange__C5_rangev4_R1,
|
||||
"Set the minimum and maximum values for color. ",
|
||||
"");
|
||||
I_Method1(void, setSizeInterpolator, IN, osgParticle::Interpolator *, ri,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSizeInterpolator__Interpolator_P1,
|
||||
"Set the interpolator for computing size values. ",
|
||||
"");
|
||||
I_Method1(void, setAlphaInterpolator, IN, osgParticle::Interpolator *, ai,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAlphaInterpolator__Interpolator_P1,
|
||||
"Set the interpolator for computing alpha values. ",
|
||||
"");
|
||||
I_Method1(void, setColorInterpolator, IN, osgParticle::Interpolator *, ci,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColorInterpolator__Interpolator_P1,
|
||||
"Set the interpolator for computing color values. ",
|
||||
"");
|
||||
I_Method1(void, setRadius, IN, float, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadius__float,
|
||||
"Set the physical radius of the particle. ",
|
||||
"For built-in operators to work correctly, lengths must be expressed in meters.");
|
||||
I_Method1(void, setMass, IN, float, m,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMass__float,
|
||||
"Set the mass of the particle. ",
|
||||
"For built-in operators to work correctly, remember that the mass is expressed in kg.");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"Set the position vector. ",
|
||||
"");
|
||||
I_Method1(void, setVelocity, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVelocity__C5_osg_Vec3_R1,
|
||||
"Set the velocity vector. ",
|
||||
"For built-in operators to work correctly, remember that velocity components are expressed in meters per second.");
|
||||
I_Method1(void, addVelocity, IN, const osg::Vec3 &, dv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addVelocity__C5_osg_Vec3_R1,
|
||||
"Add a vector to the velocity vector. ",
|
||||
"");
|
||||
I_Method1(void, transformPositionVelocity, IN, const osg::Matrix &, xform,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformPositionVelocity__C5_osg_Matrix_R1,
|
||||
"Transform position and velocity vectors by a matrix. ",
|
||||
"");
|
||||
I_Method3(void, transformPositionVelocity, IN, const osg::Matrix &, xform1, IN, const osg::Matrix &, xform2, IN, float, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformPositionVelocity__C5_osg_Matrix_R1__C5_osg_Matrix_R1__float,
|
||||
"Transform position and velocity vectors by a combination of two matrices. ",
|
||||
"");
|
||||
I_Method1(void, setAngle, IN, const osg::Vec3 &, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAngle__C5_osg_Vec3_R1,
|
||||
"Set the angle vector. ",
|
||||
"");
|
||||
I_Method1(void, setAngularVelocity, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAngularVelocity__C5_osg_Vec3_R1,
|
||||
"Set the angular velocity vector. ",
|
||||
"Components x, y and z are angles of rotation around the respective axis (in radians).");
|
||||
I_Method1(void, addAngularVelocity, IN, const osg::Vec3 &, dv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addAngularVelocity__C5_osg_Vec3_R1,
|
||||
"Add a vector to the angular velocity vector. ",
|
||||
"");
|
||||
I_Method1(void, transformAngleVelocity, IN, const osg::Matrix &, xform,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformAngleVelocity__C5_osg_Matrix_R1,
|
||||
"Transform angle and angularVelocity vectors by a matrix. ",
|
||||
"");
|
||||
I_Method1(bool, update, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__update__double,
|
||||
"Update the particle (don't call this method manually). ",
|
||||
"This method is called automatically by ParticleSystem::update(); it updates the graphical properties of the particle for the current time, checks whether the particle is still alive, and then updates its position by computing P = P + V * dt (where P is the position and V is the velocity).");
|
||||
I_Method0(void, beginRender,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__beginRender,
|
||||
"Perform some pre-rendering tasks. Called automatically by particle systems. ",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, render, IN, const osg::Vec3 &, xpos, , IN, const osg::Vec3 &, px, , IN, const osg::Vec3 &, py, , IN, float, scale, 1.0f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__render__C5_osg_Vec3_R1__C5_osg_Vec3_R1__C5_osg_Vec3_R1__float,
|
||||
"Render the particle. Called automatically by particle systems. ",
|
||||
"");
|
||||
I_Method0(void, endRender,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__endRender,
|
||||
"Perform some post-rendering tasks. Called automatically by particle systems. ",
|
||||
"");
|
||||
I_Method0(float, getCurrentSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getCurrentSize,
|
||||
"Get the current (interpolated) polygon size. Valid only after the first call to update(). ",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, setTextureTile, IN, int, sTile, , IN, int, tTile, , IN, int, numTiles, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureTile__int__int__int,
|
||||
"Specify how the particle texture is tiled. ",
|
||||
"");
|
||||
I_Method1(void, setPreviousParticle, IN, int, previous,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPreviousParticle__int,
|
||||
"Set the previous particle. ",
|
||||
"");
|
||||
I_Method0(int, getPreviousParticle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getPreviousParticle,
|
||||
"Get the previous particle. ",
|
||||
"");
|
||||
I_Method1(void, setNextParticle, IN, int, next,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNextParticle__int,
|
||||
"Set the next particle. ",
|
||||
"");
|
||||
I_Method0(int, getNextParticle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNextParticle,
|
||||
"Get the const next particle. ",
|
||||
"");
|
||||
I_Method1(void, setUpTexCoordsAsPartOfConnectedParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUpTexCoordsAsPartOfConnectedParticleSystem__ParticleSystem_P1,
|
||||
"Method for initializing a particles texture coords as part of a connected particle system. ",
|
||||
"");
|
||||
I_SimpleProperty(double, Age,
|
||||
__double__getAge,
|
||||
0);
|
||||
I_SimpleProperty(osgParticle::Interpolator *, AlphaInterpolator,
|
||||
0,
|
||||
__void__setAlphaInterpolator__Interpolator_P1);
|
||||
I_SimpleProperty(const osgParticle::rangef &, AlphaRange,
|
||||
__C5_rangef_R1__getAlphaRange,
|
||||
__void__setAlphaRange__C5_rangef_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, Angle,
|
||||
__C5_osg_Vec3_R1__getAngle,
|
||||
__void__setAngle__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, AngularVelocity,
|
||||
__C5_osg_Vec3_R1__getAngularVelocity,
|
||||
__void__setAngularVelocity__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(osgParticle::Interpolator *, ColorInterpolator,
|
||||
0,
|
||||
__void__setColorInterpolator__Interpolator_P1);
|
||||
I_SimpleProperty(const osgParticle::rangev4 &, ColorRange,
|
||||
__C5_rangev4_R1__getColorRange,
|
||||
__void__setColorRange__C5_rangev4_R1);
|
||||
I_SimpleProperty(float, CurrentAlpha,
|
||||
__float__getCurrentAlpha,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec4 &, CurrentColor,
|
||||
__C5_osg_Vec4_R1__getCurrentColor,
|
||||
0);
|
||||
I_SimpleProperty(float, CurrentSize,
|
||||
__float__getCurrentSize,
|
||||
0);
|
||||
I_SimpleProperty(double, LifeTime,
|
||||
__double__getLifeTime,
|
||||
__void__setLifeTime__double);
|
||||
I_SimpleProperty(float, Mass,
|
||||
__float__getMass,
|
||||
__void__setMass__float);
|
||||
I_SimpleProperty(float, MassInv,
|
||||
__float__getMassInv,
|
||||
0);
|
||||
I_SimpleProperty(int, NextParticle,
|
||||
__int__getNextParticle,
|
||||
__void__setNextParticle__int);
|
||||
I_SimpleProperty(const osg::Vec3 &, Position,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
__void__setPosition__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, PreviousAngle,
|
||||
__C5_osg_Vec3_R1__getPreviousAngle,
|
||||
0);
|
||||
I_SimpleProperty(int, PreviousParticle,
|
||||
__int__getPreviousParticle,
|
||||
__void__setPreviousParticle__int);
|
||||
I_SimpleProperty(const osg::Vec3 &, PreviousPosition,
|
||||
__C5_osg_Vec3_R1__getPreviousPosition,
|
||||
0);
|
||||
I_SimpleProperty(float, Radius,
|
||||
__float__getRadius,
|
||||
__void__setRadius__float);
|
||||
I_SimpleProperty(const float, STexCoord,
|
||||
__C5_float__getSTexCoord,
|
||||
0);
|
||||
I_SimpleProperty(osgParticle::Particle::Shape, Shape,
|
||||
__Shape__getShape,
|
||||
__void__setShape__Shape);
|
||||
I_SimpleProperty(osgParticle::Interpolator *, SizeInterpolator,
|
||||
0,
|
||||
__void__setSizeInterpolator__Interpolator_P1);
|
||||
I_SimpleProperty(const osgParticle::rangef &, SizeRange,
|
||||
__C5_rangef_R1__getSizeRange,
|
||||
__void__setSizeRange__C5_rangef_R1);
|
||||
I_SimpleProperty(float, TCoord,
|
||||
__float__getTCoord,
|
||||
0);
|
||||
I_SimpleProperty(int, TileS,
|
||||
__int__getTileS,
|
||||
0);
|
||||
I_SimpleProperty(int, TileT,
|
||||
__int__getTileT,
|
||||
0);
|
||||
I_SimpleProperty(osgParticle::ParticleSystem *, UpTexCoordsAsPartOfConnectedParticleSystem,
|
||||
0,
|
||||
__void__setUpTexCoordsAsPartOfConnectedParticleSystem__ParticleSystem_P1);
|
||||
I_SimpleProperty(const osg::Vec3 &, Velocity,
|
||||
__C5_osg_Vec3_R1__getVelocity,
|
||||
__void__setVelocity__C5_osg_Vec3_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgParticle::Particle::Shape)
|
||||
I_EnumLabel(osgParticle::Particle::POINT);
|
||||
I_EnumLabel(osgParticle::Particle::QUAD);
|
||||
I_EnumLabel(osgParticle::Particle::QUAD_TRIANGLESTRIP);
|
||||
I_EnumLabel(osgParticle::Particle::HEXAGON);
|
||||
I_EnumLabel(osgParticle::Particle::LINE);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgParticle::Particle)
|
||||
I_Constructor0(____Particle,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Particle::Shape, getShape,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Shape__getShape,
|
||||
"Get the shape of the particle. ",
|
||||
"");
|
||||
I_Method1(void, setShape, IN, osgParticle::Particle::Shape, s,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setShape__Shape,
|
||||
"Set the shape of the particle. ",
|
||||
"");
|
||||
I_Method0(bool, isAlive,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isAlive,
|
||||
"Get whether the particle is still alive. ",
|
||||
"");
|
||||
I_Method0(double, getLifeTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getLifeTime,
|
||||
"Get the life time of the particle (in seconds). ",
|
||||
"");
|
||||
I_Method0(double, getAge,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getAge,
|
||||
"Get the age of the particle (in seconds). ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getSizeRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getSizeRange,
|
||||
"Get the minimum and maximum values for polygon size. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getAlphaRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getAlphaRange,
|
||||
"Get the minimum and maximum values for alpha. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangev4 &, getColorRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangev4_R1__getColorRange,
|
||||
"Get the minimum and maximum values for color. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Interpolator *, getSizeInterpolator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Interpolator_P1__getSizeInterpolator,
|
||||
"Get the interpolator for computing the size of polygons. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Interpolator *, getAlphaInterpolator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Interpolator_P1__getAlphaInterpolator,
|
||||
"Get the interpolator for computing alpha values. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Interpolator *, getColorInterpolator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Interpolator_P1__getColorInterpolator,
|
||||
"Get the interpolator for computing color values. ",
|
||||
"");
|
||||
I_Method0(float, getRadius,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getRadius,
|
||||
"Get the physical radius of the particle. ",
|
||||
"For built-in operators to work correctly, lengths must be expressed in meters.");
|
||||
I_Method0(float, getMass,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMass,
|
||||
"Get the mass of the particle. ",
|
||||
"For built-in operators to work correctly, remember that the mass is expressed in kg.");
|
||||
I_Method0(float, getMassInv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMassInv,
|
||||
"Get 1 / getMass(). ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"Get the position vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getVelocity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getVelocity,
|
||||
"Get the velocity vector. ",
|
||||
"For built-in operators to work correctly, remember that velocity components are expressed in meters per second.");
|
||||
I_Method0(const osg::Vec3 &, getPreviousPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPreviousPosition,
|
||||
"Get the previous position (the position before last update). ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAngle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAngle,
|
||||
"Get the angle vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAngularVelocity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAngularVelocity,
|
||||
"Get the rotational velocity vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPreviousAngle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPreviousAngle,
|
||||
"Get the previous angle vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getCurrentColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4_R1__getCurrentColor,
|
||||
"Get the current color. ",
|
||||
"");
|
||||
I_Method0(float, getCurrentAlpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getCurrentAlpha,
|
||||
"Get the current alpha. ",
|
||||
"");
|
||||
I_Method0(const float, getSTexCoord,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_float__getSTexCoord,
|
||||
"Get the s texture coordinate of the bottom left of the particle. ",
|
||||
"");
|
||||
I_Method0(float, getTCoord,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getTCoord,
|
||||
"Get the t texture coordinate of the bottom left of the particle. ",
|
||||
"");
|
||||
I_Method0(int, getTileS,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getTileS,
|
||||
"Get width of texture tile. ",
|
||||
"");
|
||||
I_Method0(int, getTileT,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getTileT,
|
||||
"Get height of texture tile. ",
|
||||
"");
|
||||
I_Method0(int, getNumTiles,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumTiles,
|
||||
"Get number of texture tiles. ",
|
||||
"");
|
||||
I_Method0(void, kill,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__kill,
|
||||
"Kill the particle on next update NOTE: after calling this function, the isAlive() method will still return true until the particle is updated again. ",
|
||||
"");
|
||||
I_Method1(void, setLifeTime, IN, double, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLifeTime__double,
|
||||
"Set the life time of the particle. ",
|
||||
"");
|
||||
I_Method1(void, setSizeRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSizeRange__C5_rangef_R1,
|
||||
"Set the minimum and maximum values for polygon size. ",
|
||||
"");
|
||||
I_Method1(void, setAlphaRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAlphaRange__C5_rangef_R1,
|
||||
"Set the minimum and maximum values for alpha. ",
|
||||
"");
|
||||
I_Method1(void, setColorRange, IN, const osgParticle::rangev4 &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColorRange__C5_rangev4_R1,
|
||||
"Set the minimum and maximum values for color. ",
|
||||
"");
|
||||
I_Method1(void, setSizeInterpolator, IN, osgParticle::Interpolator *, ri,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSizeInterpolator__Interpolator_P1,
|
||||
"Set the interpolator for computing size values. ",
|
||||
"");
|
||||
I_Method1(void, setAlphaInterpolator, IN, osgParticle::Interpolator *, ai,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAlphaInterpolator__Interpolator_P1,
|
||||
"Set the interpolator for computing alpha values. ",
|
||||
"");
|
||||
I_Method1(void, setColorInterpolator, IN, osgParticle::Interpolator *, ci,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColorInterpolator__Interpolator_P1,
|
||||
"Set the interpolator for computing color values. ",
|
||||
"");
|
||||
I_Method1(void, setRadius, IN, float, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadius__float,
|
||||
"Set the physical radius of the particle. ",
|
||||
"For built-in operators to work correctly, lengths must be expressed in meters.");
|
||||
I_Method1(void, setMass, IN, float, m,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMass__float,
|
||||
"Set the mass of the particle. ",
|
||||
"For built-in operators to work correctly, remember that the mass is expressed in kg.");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"Set the position vector. ",
|
||||
"");
|
||||
I_Method1(void, setVelocity, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVelocity__C5_osg_Vec3_R1,
|
||||
"Set the velocity vector. ",
|
||||
"For built-in operators to work correctly, remember that velocity components are expressed in meters per second.");
|
||||
I_Method1(void, addVelocity, IN, const osg::Vec3 &, dv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addVelocity__C5_osg_Vec3_R1,
|
||||
"Add a vector to the velocity vector. ",
|
||||
"");
|
||||
I_Method1(void, transformPositionVelocity, IN, const osg::Matrix &, xform,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformPositionVelocity__C5_osg_Matrix_R1,
|
||||
"Transform position and velocity vectors by a matrix. ",
|
||||
"");
|
||||
I_Method3(void, transformPositionVelocity, IN, const osg::Matrix &, xform1, IN, const osg::Matrix &, xform2, IN, float, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformPositionVelocity__C5_osg_Matrix_R1__C5_osg_Matrix_R1__float,
|
||||
"Transform position and velocity vectors by a combination of two matrices. ",
|
||||
"");
|
||||
I_Method1(void, setAngle, IN, const osg::Vec3 &, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAngle__C5_osg_Vec3_R1,
|
||||
"Set the angle vector. ",
|
||||
"");
|
||||
I_Method1(void, setAngularVelocity, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAngularVelocity__C5_osg_Vec3_R1,
|
||||
"Set the angular velocity vector. ",
|
||||
"Components x, y and z are angles of rotation around the respective axis (in radians).");
|
||||
I_Method1(void, addAngularVelocity, IN, const osg::Vec3 &, dv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addAngularVelocity__C5_osg_Vec3_R1,
|
||||
"Add a vector to the angular velocity vector. ",
|
||||
"");
|
||||
I_Method1(void, transformAngleVelocity, IN, const osg::Matrix &, xform,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformAngleVelocity__C5_osg_Matrix_R1,
|
||||
"Transform angle and angularVelocity vectors by a matrix. ",
|
||||
"");
|
||||
I_Method1(bool, update, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__update__double,
|
||||
"Update the particle (don't call this method manually). ",
|
||||
"This method is called automatically by ParticleSystem::update(); it updates the graphical properties of the particle for the current time, checks whether the particle is still alive, and then updates its position by computing P = P + V * dt (where P is the position and V is the velocity).");
|
||||
I_Method0(void, beginRender,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__beginRender,
|
||||
"Perform some pre-rendering tasks. Called automatically by particle systems. ",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, render, IN, const osg::Vec3 &, xpos, , IN, const osg::Vec3 &, px, , IN, const osg::Vec3 &, py, , IN, float, scale, 1.0f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__render__C5_osg_Vec3_R1__C5_osg_Vec3_R1__C5_osg_Vec3_R1__float,
|
||||
"Render the particle. Called automatically by particle systems. ",
|
||||
"");
|
||||
I_Method0(void, endRender,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__endRender,
|
||||
"Perform some post-rendering tasks. Called automatically by particle systems. ",
|
||||
"");
|
||||
I_Method0(float, getCurrentSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getCurrentSize,
|
||||
"Get the current (interpolated) polygon size. Valid only after the first call to update(). ",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, setTextureTile, IN, int, sTile, , IN, int, tTile, , IN, int, numTiles, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureTile__int__int__int,
|
||||
"Specify how the particle texture is tiled. ",
|
||||
"");
|
||||
I_Method1(void, setPreviousParticle, IN, int, previous,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPreviousParticle__int,
|
||||
"Set the previous particle. ",
|
||||
"");
|
||||
I_Method0(int, getPreviousParticle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getPreviousParticle,
|
||||
"Get the previous particle. ",
|
||||
"");
|
||||
I_Method1(void, setNextParticle, IN, int, next,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNextParticle__int,
|
||||
"Set the next particle. ",
|
||||
"");
|
||||
I_Method0(int, getNextParticle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNextParticle,
|
||||
"Get the const next particle. ",
|
||||
"");
|
||||
I_Method1(void, setUpTexCoordsAsPartOfConnectedParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUpTexCoordsAsPartOfConnectedParticleSystem__ParticleSystem_P1,
|
||||
"Method for initializing a particles texture coords as part of a connected particle system. ",
|
||||
"");
|
||||
I_Constructor0(____Particle,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Particle::Shape, getShape,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Shape__getShape,
|
||||
"Get the shape of the particle. ",
|
||||
"");
|
||||
I_Method1(void, setShape, IN, osgParticle::Particle::Shape, s,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setShape__Shape,
|
||||
"Set the shape of the particle. ",
|
||||
"");
|
||||
I_Method0(bool, isAlive,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isAlive,
|
||||
"Get whether the particle is still alive. ",
|
||||
"");
|
||||
I_Method0(double, getLifeTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getLifeTime,
|
||||
"Get the life time of the particle (in seconds). ",
|
||||
"");
|
||||
I_Method0(double, getAge,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getAge,
|
||||
"Get the age of the particle (in seconds). ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getSizeRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getSizeRange,
|
||||
"Get the minimum and maximum values for polygon size. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getAlphaRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getAlphaRange,
|
||||
"Get the minimum and maximum values for alpha. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangev4 &, getColorRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangev4_R1__getColorRange,
|
||||
"Get the minimum and maximum values for color. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Interpolator *, getSizeInterpolator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Interpolator_P1__getSizeInterpolator,
|
||||
"Get the interpolator for computing the size of polygons. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Interpolator *, getAlphaInterpolator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Interpolator_P1__getAlphaInterpolator,
|
||||
"Get the interpolator for computing alpha values. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Interpolator *, getColorInterpolator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Interpolator_P1__getColorInterpolator,
|
||||
"Get the interpolator for computing color values. ",
|
||||
"");
|
||||
I_Method0(float, getRadius,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getRadius,
|
||||
"Get the physical radius of the particle. ",
|
||||
"For built-in operators to work correctly, lengths must be expressed in meters.");
|
||||
I_Method0(float, getMass,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMass,
|
||||
"Get the mass of the particle. ",
|
||||
"For built-in operators to work correctly, remember that the mass is expressed in kg.");
|
||||
I_Method0(float, getMassInv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMassInv,
|
||||
"Get 1 / getMass(). ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"Get the position vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getVelocity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getVelocity,
|
||||
"Get the velocity vector. ",
|
||||
"For built-in operators to work correctly, remember that velocity components are expressed in meters per second.");
|
||||
I_Method0(const osg::Vec3 &, getPreviousPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPreviousPosition,
|
||||
"Get the previous position (the position before last update). ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAngle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAngle,
|
||||
"Get the angle vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAngularVelocity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAngularVelocity,
|
||||
"Get the rotational velocity vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPreviousAngle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPreviousAngle,
|
||||
"Get the previous angle vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getCurrentColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4_R1__getCurrentColor,
|
||||
"Get the current color. ",
|
||||
"");
|
||||
I_Method0(float, getCurrentAlpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getCurrentAlpha,
|
||||
"Get the current alpha. ",
|
||||
"");
|
||||
I_Method0(const float, getSTexCoord,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_float__getSTexCoord,
|
||||
"Get the s texture coordinate of the bottom left of the particle. ",
|
||||
"");
|
||||
I_Method0(float, getTCoord,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getTCoord,
|
||||
"Get the t texture coordinate of the bottom left of the particle. ",
|
||||
"");
|
||||
I_Method0(int, getTileS,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getTileS,
|
||||
"Get width of texture tile. ",
|
||||
"");
|
||||
I_Method0(int, getTileT,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getTileT,
|
||||
"Get height of texture tile. ",
|
||||
"");
|
||||
I_Method0(int, getNumTiles,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumTiles,
|
||||
"Get number of texture tiles. ",
|
||||
"");
|
||||
I_Method0(void, kill,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__kill,
|
||||
"Kill the particle on next update NOTE: after calling this function, the isAlive() method will still return true until the particle is updated again. ",
|
||||
"");
|
||||
I_Method1(void, setLifeTime, IN, double, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLifeTime__double,
|
||||
"Set the life time of the particle. ",
|
||||
"");
|
||||
I_Method1(void, setSizeRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSizeRange__C5_rangef_R1,
|
||||
"Set the minimum and maximum values for polygon size. ",
|
||||
"");
|
||||
I_Method1(void, setAlphaRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAlphaRange__C5_rangef_R1,
|
||||
"Set the minimum and maximum values for alpha. ",
|
||||
"");
|
||||
I_Method1(void, setColorRange, IN, const osgParticle::rangev4 &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColorRange__C5_rangev4_R1,
|
||||
"Set the minimum and maximum values for color. ",
|
||||
"");
|
||||
I_Method1(void, setSizeInterpolator, IN, osgParticle::Interpolator *, ri,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSizeInterpolator__Interpolator_P1,
|
||||
"Set the interpolator for computing size values. ",
|
||||
"");
|
||||
I_Method1(void, setAlphaInterpolator, IN, osgParticle::Interpolator *, ai,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAlphaInterpolator__Interpolator_P1,
|
||||
"Set the interpolator for computing alpha values. ",
|
||||
"");
|
||||
I_Method1(void, setColorInterpolator, IN, osgParticle::Interpolator *, ci,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColorInterpolator__Interpolator_P1,
|
||||
"Set the interpolator for computing color values. ",
|
||||
"");
|
||||
I_Method1(void, setRadius, IN, float, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadius__float,
|
||||
"Set the physical radius of the particle. ",
|
||||
"For built-in operators to work correctly, lengths must be expressed in meters.");
|
||||
I_Method1(void, setMass, IN, float, m,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMass__float,
|
||||
"Set the mass of the particle. ",
|
||||
"For built-in operators to work correctly, remember that the mass is expressed in kg.");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"Set the position vector. ",
|
||||
"");
|
||||
I_Method1(void, setVelocity, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVelocity__C5_osg_Vec3_R1,
|
||||
"Set the velocity vector. ",
|
||||
"For built-in operators to work correctly, remember that velocity components are expressed in meters per second.");
|
||||
I_Method1(void, addVelocity, IN, const osg::Vec3 &, dv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addVelocity__C5_osg_Vec3_R1,
|
||||
"Add a vector to the velocity vector. ",
|
||||
"");
|
||||
I_Method1(void, transformPositionVelocity, IN, const osg::Matrix &, xform,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformPositionVelocity__C5_osg_Matrix_R1,
|
||||
"Transform position and velocity vectors by a matrix. ",
|
||||
"");
|
||||
I_Method3(void, transformPositionVelocity, IN, const osg::Matrix &, xform1, IN, const osg::Matrix &, xform2, IN, float, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformPositionVelocity__C5_osg_Matrix_R1__C5_osg_Matrix_R1__float,
|
||||
"Transform position and velocity vectors by a combination of two matrices. ",
|
||||
"");
|
||||
I_Method1(void, setAngle, IN, const osg::Vec3 &, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAngle__C5_osg_Vec3_R1,
|
||||
"Set the angle vector. ",
|
||||
"");
|
||||
I_Method1(void, setAngularVelocity, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAngularVelocity__C5_osg_Vec3_R1,
|
||||
"Set the angular velocity vector. ",
|
||||
"Components x, y and z are angles of rotation around the respective axis (in radians).");
|
||||
I_Method1(void, addAngularVelocity, IN, const osg::Vec3 &, dv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addAngularVelocity__C5_osg_Vec3_R1,
|
||||
"Add a vector to the angular velocity vector. ",
|
||||
"");
|
||||
I_Method1(void, transformAngleVelocity, IN, const osg::Matrix &, xform,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformAngleVelocity__C5_osg_Matrix_R1,
|
||||
"Transform angle and angularVelocity vectors by a matrix. ",
|
||||
"");
|
||||
I_Method1(bool, update, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__update__double,
|
||||
"Update the particle (don't call this method manually). ",
|
||||
"This method is called automatically by ParticleSystem::update(); it updates the graphical properties of the particle for the current time, checks whether the particle is still alive, and then updates its position by computing P = P + V * dt (where P is the position and V is the velocity).");
|
||||
I_Method0(void, beginRender,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__beginRender,
|
||||
"Perform some pre-rendering tasks. Called automatically by particle systems. ",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, render, IN, const osg::Vec3 &, xpos, , IN, const osg::Vec3 &, px, , IN, const osg::Vec3 &, py, , IN, float, scale, 1.0f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__render__C5_osg_Vec3_R1__C5_osg_Vec3_R1__C5_osg_Vec3_R1__float,
|
||||
"Render the particle. Called automatically by particle systems. ",
|
||||
"");
|
||||
I_Method0(void, endRender,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__endRender,
|
||||
"Perform some post-rendering tasks. Called automatically by particle systems. ",
|
||||
"");
|
||||
I_Method0(float, getCurrentSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getCurrentSize,
|
||||
"Get the current (interpolated) polygon size. Valid only after the first call to update(). ",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, setTextureTile, IN, int, sTile, , IN, int, tTile, , IN, int, numTiles, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureTile__int__int__int,
|
||||
"Specify how the particle texture is tiled. ",
|
||||
"");
|
||||
I_Method1(void, setPreviousParticle, IN, int, previous,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPreviousParticle__int,
|
||||
"Set the previous particle. ",
|
||||
"");
|
||||
I_Method0(int, getPreviousParticle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getPreviousParticle,
|
||||
"Get the previous particle. ",
|
||||
"");
|
||||
I_Method1(void, setNextParticle, IN, int, next,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNextParticle__int,
|
||||
"Set the next particle. ",
|
||||
"");
|
||||
I_Method0(int, getNextParticle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNextParticle,
|
||||
"Get the const next particle. ",
|
||||
"");
|
||||
I_Method1(void, setUpTexCoordsAsPartOfConnectedParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUpTexCoordsAsPartOfConnectedParticleSystem__ParticleSystem_P1,
|
||||
"Method for initializing a particles texture coords as part of a connected particle system. ",
|
||||
"");
|
||||
I_SimpleProperty(double, Age,
|
||||
__double__getAge,
|
||||
0);
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgParticle/Emitter>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/ParticleEffect>
|
||||
@@ -29,7 +29,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::ParticleEffect)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
@@ -43,651 +42,22 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::ParticleEffect)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAutomaticSetup, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAutomaticSetup__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getAutomaticSetup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAutomaticSetup,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setUseLocalParticleSystem, IN, bool, local,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUseLocalParticleSystem__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getUseLocalParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getUseLocalParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureFileName, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureFileName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getTextureFileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getTextureFileName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDefaultParticleTemplate, IN, const osgParticle::Particle &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultParticleTemplate__C5_Particle_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Particle &, getDefaultParticleTemplate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Particle_R1__getDefaultParticleTemplate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, position,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale, IN, float, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIntensity, IN, float, intensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIntensity__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getIntensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getIntensity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStartTime, IN, double, startTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getStartTime,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEmitterDuration, IN, double, duration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEmitterDuration__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getEmitterDuration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getEmitterDuration,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setParticleDuration, IN, double, duration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleDuration__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getParticleDuration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getParticleDuration,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWind, IN, const osg::Vec3 &, wind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWind__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getWind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getWind,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, areAllParticlesDead,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__areAllParticlesDead,
|
||||
"Get whether all particles are dead. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleSystem__ParticleSystem_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::ParticleSystem *, getParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ParticleSystem_P1__getParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::ParticleSystem *, getParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ParticleSystem_P1__getParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, buildEffect,
|
||||
Properties::VIRTUAL,
|
||||
__void__buildEffect,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____ParticleEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ParticleEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ParticleEffect__C5_ParticleEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAutomaticSetup, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAutomaticSetup__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getAutomaticSetup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAutomaticSetup,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setUseLocalParticleSystem, IN, bool, local,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUseLocalParticleSystem__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getUseLocalParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getUseLocalParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureFileName, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureFileName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getTextureFileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getTextureFileName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDefaultParticleTemplate, IN, const osgParticle::Particle &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultParticleTemplate__C5_Particle_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Particle &, getDefaultParticleTemplate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Particle_R1__getDefaultParticleTemplate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, position,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale, IN, float, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIntensity, IN, float, intensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIntensity__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getIntensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getIntensity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStartTime, IN, double, startTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getStartTime,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEmitterDuration, IN, double, duration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEmitterDuration__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getEmitterDuration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getEmitterDuration,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setParticleDuration, IN, double, duration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleDuration__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getParticleDuration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getParticleDuration,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWind, IN, const osg::Vec3 &, wind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWind__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getWind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getWind,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, areAllParticlesDead,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__areAllParticlesDead,
|
||||
"Get whether all particles are dead. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleSystem__ParticleSystem_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::ParticleSystem *, getParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ParticleSystem_P1__getParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::ParticleSystem *, getParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ParticleSystem_P1__getParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, buildEffect,
|
||||
Properties::VIRTUAL,
|
||||
__void__buildEffect,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, AutomaticSetup,
|
||||
__bool__getAutomaticSetup,
|
||||
__void__setAutomaticSetup__bool);
|
||||
I_SimpleProperty(const osgParticle::Particle &, DefaultParticleTemplate,
|
||||
__C5_Particle_R1__getDefaultParticleTemplate,
|
||||
__void__setDefaultParticleTemplate__C5_Particle_R1);
|
||||
I_SimpleProperty(osgParticle::Emitter *, Emitter,
|
||||
__Emitter_P1__getEmitter,
|
||||
0);
|
||||
I_SimpleProperty(double, EmitterDuration,
|
||||
__double__getEmitterDuration,
|
||||
__void__setEmitterDuration__double);
|
||||
I_SimpleProperty(float, Intensity,
|
||||
__float__getIntensity,
|
||||
__void__setIntensity__float);
|
||||
I_SimpleProperty(double, ParticleDuration,
|
||||
__double__getParticleDuration,
|
||||
__void__setParticleDuration__double);
|
||||
I_SimpleProperty(osgParticle::ParticleSystem *, ParticleSystem,
|
||||
__ParticleSystem_P1__getParticleSystem,
|
||||
__void__setParticleSystem__ParticleSystem_P1);
|
||||
I_SimpleProperty(const osg::Vec3 &, Position,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
__void__setPosition__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(osgParticle::Program *, Program,
|
||||
__Program_P1__getProgram,
|
||||
0);
|
||||
I_SimpleProperty(float, Scale,
|
||||
__float__getScale,
|
||||
__void__setScale__float);
|
||||
I_SimpleProperty(double, StartTime,
|
||||
__double__getStartTime,
|
||||
__void__setStartTime__double);
|
||||
I_SimpleProperty(const std::string &, TextureFileName,
|
||||
__C5_std_string_R1__getTextureFileName,
|
||||
__void__setTextureFileName__C5_std_string_R1);
|
||||
I_SimpleProperty(bool, UseLocalParticleSystem,
|
||||
__bool__getUseLocalParticleSystem,
|
||||
__void__setUseLocalParticleSystem__bool);
|
||||
I_SimpleProperty(const osg::Vec3 &, Wind,
|
||||
__C5_osg_Vec3_R1__getWind,
|
||||
__void__setWind__C5_osg_Vec3_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::ParticleEffect)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____ParticleEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ParticleEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ParticleEffect__C5_ParticleEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAutomaticSetup, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAutomaticSetup__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getAutomaticSetup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAutomaticSetup,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setUseLocalParticleSystem, IN, bool, local,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUseLocalParticleSystem__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getUseLocalParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getUseLocalParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureFileName, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureFileName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getTextureFileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getTextureFileName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDefaultParticleTemplate, IN, const osgParticle::Particle &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultParticleTemplate__C5_Particle_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Particle &, getDefaultParticleTemplate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Particle_R1__getDefaultParticleTemplate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, position,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale, IN, float, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIntensity, IN, float, intensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIntensity__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getIntensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getIntensity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStartTime, IN, double, startTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getStartTime,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEmitterDuration, IN, double, duration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEmitterDuration__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getEmitterDuration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getEmitterDuration,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setParticleDuration, IN, double, duration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleDuration__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getParticleDuration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getParticleDuration,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWind, IN, const osg::Vec3 &, wind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWind__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getWind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getWind,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, areAllParticlesDead,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__areAllParticlesDead,
|
||||
"Get whether all particles are dead. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleSystem__ParticleSystem_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::ParticleSystem *, getParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ParticleSystem_P1__getParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::ParticleSystem *, getParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ParticleSystem_P1__getParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, buildEffect,
|
||||
Properties::VIRTUAL,
|
||||
__void__buildEffect,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____ParticleEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ParticleEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ParticleEffect__C5_ParticleEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, setAutomaticSetup, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
|
||||
@@ -10,13 +10,12 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/BoundingSphere.svn-base>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osgParticle/.svn/text-base/ParticleProcessor.svn-base>
|
||||
#include <osg/BoundingSphere>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgParticle/ParticleProcessor>
|
||||
#include <osgParticle/ParticleSystem>
|
||||
|
||||
@@ -34,7 +33,6 @@ BEGIN_ENUM_REFLECTOR(osgParticle::ParticleProcessor::ReferenceFrame)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::ParticleProcessor)
|
||||
I_BaseType(osg::Node);
|
||||
I_BaseType(osg::Node);
|
||||
I_Constructor0(____ParticleProcessor,
|
||||
"",
|
||||
@@ -46,22 +44,22 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::ParticleProcessor)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method0(osgParticle::ParticleProcessor::ReferenceFrame, getReferenceFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
@@ -154,9 +152,9 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::ParticleProcessor)
|
||||
"Check whether the processor is alive with respect to start time and life duration. ",
|
||||
"Note that this method may return true even if the processor has been disabled by calling setEnabled(false). To test whether the processor is actually processing particles or not, you should evaluate (isEnabled() && isAlive()).");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getLocalToWorldMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
@@ -201,555 +199,8 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::ParticleProcessor)
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ParticleProcessor,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ParticleProcessor &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ParticleProcessor__C5_ParticleProcessor_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::ParticleProcessor::ReferenceFrame, getReferenceFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
"Get the reference frame. ",
|
||||
"");
|
||||
I_Method1(void, setReferenceFrame, IN, osgParticle::ParticleProcessor::ReferenceFrame, rf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceFrame__ReferenceFrame,
|
||||
"Set the reference frame. ",
|
||||
"");
|
||||
I_Method0(bool, isEnabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isEnabled,
|
||||
"Get whether this processor is enabled or not. ",
|
||||
"");
|
||||
I_Method1(void, setEnabled, IN, bool, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEnabled__bool,
|
||||
"Set whether this processor is enabled or not. ",
|
||||
"");
|
||||
I_Method0(osgParticle::ParticleSystem *, getParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ParticleSystem_P1__getParticleSystem,
|
||||
"Get a pointer to the destination particle system. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::ParticleSystem *, getParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ParticleSystem_P1__getParticleSystem,
|
||||
"Get a const pointer to the destination particle system. ",
|
||||
"");
|
||||
I_Method1(void, setParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleSystem__ParticleSystem_P1,
|
||||
"Set the destination particle system. ",
|
||||
"");
|
||||
I_Method1(void, setEndless, IN, bool, type,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEndless__bool,
|
||||
"Set the endless flag of this processor. ",
|
||||
"");
|
||||
I_Method0(bool, isEndless,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isEndless,
|
||||
"Check whether this processor is endless. ",
|
||||
"");
|
||||
I_Method1(void, setLifeTime, IN, double, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLifeTime__double,
|
||||
"Set the lifetime of this processor. ",
|
||||
"");
|
||||
I_Method0(double, getLifeTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getLifeTime,
|
||||
"Get the lifetime of this processor. ",
|
||||
"");
|
||||
I_Method1(void, setStartTime, IN, double, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartTime__double,
|
||||
"Set the start time of this processor. ",
|
||||
"");
|
||||
I_Method0(double, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getStartTime,
|
||||
"Get the start time of this processor. ",
|
||||
"");
|
||||
I_Method1(void, setCurrentTime, IN, double, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCurrentTime__double,
|
||||
"Set the current time of this processor. ",
|
||||
"");
|
||||
I_Method0(double, getCurrentTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getCurrentTime,
|
||||
"Get the current time of this processor. ",
|
||||
"");
|
||||
I_Method1(void, setResetTime, IN, double, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setResetTime__double,
|
||||
"Set the reset time of this processor. A value of 0 disables reset. ",
|
||||
"");
|
||||
I_Method0(double, getResetTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getResetTime,
|
||||
"Get the reset time of this processor. ",
|
||||
"");
|
||||
I_Method0(bool, isAlive,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isAlive,
|
||||
"Check whether the processor is alive with respect to start time and life duration. ",
|
||||
"Note that this method may return true even if the processor has been disabled by calling setEnabled(false). To test whether the processor is actually processing particles or not, you should evaluate (isEnabled() && isAlive()).");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getLocalToWorldMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getLocalToWorldMatrix,
|
||||
"Get the current local-to-world transformation matrix (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getWorldToLocalMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getWorldToLocalMatrix,
|
||||
"Get the current world-to-local transformation matrix (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getPreviousLocalToWorldMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getPreviousLocalToWorldMatrix,
|
||||
"Get the previous local-to-world transformation matrix (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getPreviousWorldToLocalMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getPreviousWorldToLocalMatrix,
|
||||
"Get the previous world-to-local transformation matrix (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method1(osg::Vec3, transformLocalToWorld, IN, const osg::Vec3 &, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__transformLocalToWorld__C5_osg_Vec3_R1,
|
||||
"Transform a point from local to world coordinates (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method1(osg::Vec3, rotateLocalToWorld, IN, const osg::Vec3 &, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__rotateLocalToWorld__C5_osg_Vec3_R1,
|
||||
"Transform a vector from local to world coordinates, discarding translation (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method1(osg::Vec3, transformWorldToLocal, IN, const osg::Vec3 &, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__transformWorldToLocal__C5_osg_Vec3_R1,
|
||||
"Transform a point from world to local coordinates (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method1(osg::Vec3, rotateWorldToLocal, IN, const osg::Vec3 &, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__rotateWorldToLocal__C5_osg_Vec3_R1,
|
||||
"Transform a vector from world to local coordinates, discarding translation (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(double, CurrentTime,
|
||||
__double__getCurrentTime,
|
||||
__void__setCurrentTime__double);
|
||||
I_SimpleProperty(bool, Enabled,
|
||||
0,
|
||||
__void__setEnabled__bool);
|
||||
I_SimpleProperty(bool, Endless,
|
||||
0,
|
||||
__void__setEndless__bool);
|
||||
I_SimpleProperty(double, LifeTime,
|
||||
__double__getLifeTime,
|
||||
__void__setLifeTime__double);
|
||||
I_SimpleProperty(const osg::Matrix &, LocalToWorldMatrix,
|
||||
__C5_osg_Matrix_R1__getLocalToWorldMatrix,
|
||||
0);
|
||||
I_SimpleProperty(osgParticle::ParticleSystem *, ParticleSystem,
|
||||
__ParticleSystem_P1__getParticleSystem,
|
||||
__void__setParticleSystem__ParticleSystem_P1);
|
||||
I_SimpleProperty(const osg::Matrix &, PreviousLocalToWorldMatrix,
|
||||
__C5_osg_Matrix_R1__getPreviousLocalToWorldMatrix,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Matrix &, PreviousWorldToLocalMatrix,
|
||||
__C5_osg_Matrix_R1__getPreviousWorldToLocalMatrix,
|
||||
0);
|
||||
I_SimpleProperty(osgParticle::ParticleProcessor::ReferenceFrame, ReferenceFrame,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
__void__setReferenceFrame__ReferenceFrame);
|
||||
I_SimpleProperty(double, ResetTime,
|
||||
__double__getResetTime,
|
||||
__void__setResetTime__double);
|
||||
I_SimpleProperty(double, StartTime,
|
||||
__double__getStartTime,
|
||||
__void__setStartTime__double);
|
||||
I_SimpleProperty(const osg::Matrix &, WorldToLocalMatrix,
|
||||
__C5_osg_Matrix_R1__getWorldToLocalMatrix,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgParticle::ParticleProcessor::ReferenceFrame)
|
||||
I_EnumLabel(osgParticle::ParticleProcessor::RELATIVE_RF);
|
||||
I_EnumLabel(osgParticle::ParticleProcessor::ABSOLUTE_RF);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::ParticleProcessor)
|
||||
I_BaseType(osg::Node);
|
||||
I_BaseType(osg::Node);
|
||||
I_Constructor0(____ParticleProcessor,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ParticleProcessor &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ParticleProcessor__C5_ParticleProcessor_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::ParticleProcessor::ReferenceFrame, getReferenceFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
"Get the reference frame. ",
|
||||
"");
|
||||
I_Method1(void, setReferenceFrame, IN, osgParticle::ParticleProcessor::ReferenceFrame, rf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceFrame__ReferenceFrame,
|
||||
"Set the reference frame. ",
|
||||
"");
|
||||
I_Method0(bool, isEnabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isEnabled,
|
||||
"Get whether this processor is enabled or not. ",
|
||||
"");
|
||||
I_Method1(void, setEnabled, IN, bool, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEnabled__bool,
|
||||
"Set whether this processor is enabled or not. ",
|
||||
"");
|
||||
I_Method0(osgParticle::ParticleSystem *, getParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ParticleSystem_P1__getParticleSystem,
|
||||
"Get a pointer to the destination particle system. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::ParticleSystem *, getParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ParticleSystem_P1__getParticleSystem,
|
||||
"Get a const pointer to the destination particle system. ",
|
||||
"");
|
||||
I_Method1(void, setParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleSystem__ParticleSystem_P1,
|
||||
"Set the destination particle system. ",
|
||||
"");
|
||||
I_Method1(void, setEndless, IN, bool, type,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEndless__bool,
|
||||
"Set the endless flag of this processor. ",
|
||||
"");
|
||||
I_Method0(bool, isEndless,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isEndless,
|
||||
"Check whether this processor is endless. ",
|
||||
"");
|
||||
I_Method1(void, setLifeTime, IN, double, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLifeTime__double,
|
||||
"Set the lifetime of this processor. ",
|
||||
"");
|
||||
I_Method0(double, getLifeTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getLifeTime,
|
||||
"Get the lifetime of this processor. ",
|
||||
"");
|
||||
I_Method1(void, setStartTime, IN, double, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartTime__double,
|
||||
"Set the start time of this processor. ",
|
||||
"");
|
||||
I_Method0(double, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getStartTime,
|
||||
"Get the start time of this processor. ",
|
||||
"");
|
||||
I_Method1(void, setCurrentTime, IN, double, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCurrentTime__double,
|
||||
"Set the current time of this processor. ",
|
||||
"");
|
||||
I_Method0(double, getCurrentTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getCurrentTime,
|
||||
"Get the current time of this processor. ",
|
||||
"");
|
||||
I_Method1(void, setResetTime, IN, double, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setResetTime__double,
|
||||
"Set the reset time of this processor. A value of 0 disables reset. ",
|
||||
"");
|
||||
I_Method0(double, getResetTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getResetTime,
|
||||
"Get the reset time of this processor. ",
|
||||
"");
|
||||
I_Method0(bool, isAlive,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isAlive,
|
||||
"Check whether the processor is alive with respect to start time and life duration. ",
|
||||
"Note that this method may return true even if the processor has been disabled by calling setEnabled(false). To test whether the processor is actually processing particles or not, you should evaluate (isEnabled() && isAlive()).");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getLocalToWorldMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getLocalToWorldMatrix,
|
||||
"Get the current local-to-world transformation matrix (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getWorldToLocalMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getWorldToLocalMatrix,
|
||||
"Get the current world-to-local transformation matrix (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getPreviousLocalToWorldMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getPreviousLocalToWorldMatrix,
|
||||
"Get the previous local-to-world transformation matrix (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getPreviousWorldToLocalMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getPreviousWorldToLocalMatrix,
|
||||
"Get the previous world-to-local transformation matrix (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method1(osg::Vec3, transformLocalToWorld, IN, const osg::Vec3 &, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__transformLocalToWorld__C5_osg_Vec3_R1,
|
||||
"Transform a point from local to world coordinates (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method1(osg::Vec3, rotateLocalToWorld, IN, const osg::Vec3 &, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__rotateLocalToWorld__C5_osg_Vec3_R1,
|
||||
"Transform a vector from local to world coordinates, discarding translation (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method1(osg::Vec3, transformWorldToLocal, IN, const osg::Vec3 &, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__transformWorldToLocal__C5_osg_Vec3_R1,
|
||||
"Transform a point from world to local coordinates (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method1(osg::Vec3, rotateWorldToLocal, IN, const osg::Vec3 &, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__rotateWorldToLocal__C5_osg_Vec3_R1,
|
||||
"Transform a vector from world to local coordinates, discarding translation (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ParticleProcessor,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ParticleProcessor &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ParticleProcessor__C5_ParticleProcessor_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::ParticleProcessor::ReferenceFrame, getReferenceFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
"Get the reference frame. ",
|
||||
"");
|
||||
I_Method1(void, setReferenceFrame, IN, osgParticle::ParticleProcessor::ReferenceFrame, rf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceFrame__ReferenceFrame,
|
||||
"Set the reference frame. ",
|
||||
"");
|
||||
I_Method0(bool, isEnabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isEnabled,
|
||||
"Get whether this processor is enabled or not. ",
|
||||
"");
|
||||
I_Method1(void, setEnabled, IN, bool, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEnabled__bool,
|
||||
"Set whether this processor is enabled or not. ",
|
||||
"");
|
||||
I_Method0(osgParticle::ParticleSystem *, getParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ParticleSystem_P1__getParticleSystem,
|
||||
"Get a pointer to the destination particle system. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::ParticleSystem *, getParticleSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ParticleSystem_P1__getParticleSystem,
|
||||
"Get a const pointer to the destination particle system. ",
|
||||
"");
|
||||
I_Method1(void, setParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleSystem__ParticleSystem_P1,
|
||||
"Set the destination particle system. ",
|
||||
"");
|
||||
I_Method1(void, setEndless, IN, bool, type,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEndless__bool,
|
||||
"Set the endless flag of this processor. ",
|
||||
"");
|
||||
I_Method0(bool, isEndless,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isEndless,
|
||||
"Check whether this processor is endless. ",
|
||||
"");
|
||||
I_Method1(void, setLifeTime, IN, double, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLifeTime__double,
|
||||
"Set the lifetime of this processor. ",
|
||||
"");
|
||||
I_Method0(double, getLifeTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getLifeTime,
|
||||
"Get the lifetime of this processor. ",
|
||||
"");
|
||||
I_Method1(void, setStartTime, IN, double, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartTime__double,
|
||||
"Set the start time of this processor. ",
|
||||
"");
|
||||
I_Method0(double, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getStartTime,
|
||||
"Get the start time of this processor. ",
|
||||
"");
|
||||
I_Method1(void, setCurrentTime, IN, double, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCurrentTime__double,
|
||||
"Set the current time of this processor. ",
|
||||
"");
|
||||
I_Method0(double, getCurrentTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getCurrentTime,
|
||||
"Get the current time of this processor. ",
|
||||
"");
|
||||
I_Method1(void, setResetTime, IN, double, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setResetTime__double,
|
||||
"Set the reset time of this processor. A value of 0 disables reset. ",
|
||||
"");
|
||||
I_Method0(double, getResetTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getResetTime,
|
||||
"Get the reset time of this processor. ",
|
||||
"");
|
||||
I_Method0(bool, isAlive,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isAlive,
|
||||
"Check whether the processor is alive with respect to start time and life duration. ",
|
||||
"Note that this method may return true even if the processor has been disabled by calling setEnabled(false). To test whether the processor is actually processing particles or not, you should evaluate (isEnabled() && isAlive()).");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getLocalToWorldMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getLocalToWorldMatrix,
|
||||
"Get the current local-to-world transformation matrix (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getWorldToLocalMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getWorldToLocalMatrix,
|
||||
"Get the current world-to-local transformation matrix (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getPreviousLocalToWorldMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getPreviousLocalToWorldMatrix,
|
||||
"Get the previous local-to-world transformation matrix (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getPreviousWorldToLocalMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getPreviousWorldToLocalMatrix,
|
||||
"Get the previous world-to-local transformation matrix (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method1(osg::Vec3, transformLocalToWorld, IN, const osg::Vec3 &, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__transformLocalToWorld__C5_osg_Vec3_R1,
|
||||
"Transform a point from local to world coordinates (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method1(osg::Vec3, rotateLocalToWorld, IN, const osg::Vec3 &, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__rotateLocalToWorld__C5_osg_Vec3_R1,
|
||||
"Transform a vector from local to world coordinates, discarding translation (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method1(osg::Vec3, transformWorldToLocal, IN, const osg::Vec3 &, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__transformWorldToLocal__C5_osg_Vec3_R1,
|
||||
"Transform a point from world to local coordinates (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method1(osg::Vec3, rotateWorldToLocal, IN, const osg::Vec3 &, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__rotateWorldToLocal__C5_osg_Vec3_R1,
|
||||
"Transform a vector from world to local coordinates, discarding translation (valid only during cull traversal). ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__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_SimpleProperty(double, CurrentTime,
|
||||
__double__getCurrentTime,
|
||||
__void__setCurrentTime__double);
|
||||
|
||||
@@ -10,13 +10,12 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/BoundingBox.svn-base>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/BoundingBox>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/Vec3>
|
||||
#include <osgDB/ReentrantMutex>
|
||||
#include <osgParticle/.svn/text-base/ParticleSystem.svn-base>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/ParticleSystem>
|
||||
|
||||
@@ -34,7 +33,6 @@ BEGIN_ENUM_REFLECTOR(osgParticle::ParticleSystem::Alignment)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::ParticleSystem)
|
||||
I_BaseType(osg::Drawable);
|
||||
I_BaseType(osg::Drawable);
|
||||
I_Constructor0(____ParticleSystem,
|
||||
"",
|
||||
@@ -46,13 +44,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::ParticleSystem)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -61,13 +59,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::ParticleSystem)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method0(osgParticle::ParticleSystem::Alignment, getParticleAlignment,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Alignment__getParticleAlignment,
|
||||
@@ -226,661 +224,12 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::ParticleSystem)
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__osg_State_R1,
|
||||
"",
|
||||
"Deprecated. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingBox__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgDB::ReadWriteMutex *, getReadWriteMutex,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgDB_ReadWriteMutex_P1__getReadWriteMutex,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ParticleSystem &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ParticleSystem__C5_ParticleSystem_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::ParticleSystem::Alignment, getParticleAlignment,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Alignment__getParticleAlignment,
|
||||
"Get the alignment type of particles. ",
|
||||
"");
|
||||
I_Method1(void, setParticleAlignment, IN, osgParticle::ParticleSystem::Alignment, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleAlignment__Alignment,
|
||||
"Set the alignment type of particles. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAlignVectorX,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAlignVectorX,
|
||||
"Get the X-axis alignment vector. ",
|
||||
"");
|
||||
I_Method1(void, setAlignVectorX, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAlignVectorX__C5_osg_Vec3_R1,
|
||||
"Set the X-axis alignment vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAlignVectorY,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAlignVectorY,
|
||||
"Get the Y-axis alignment vector. ",
|
||||
"");
|
||||
I_Method1(void, setAlignVectorY, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAlignVectorY__C5_osg_Vec3_R1,
|
||||
"Set the Y-axis alignment vector. ",
|
||||
"");
|
||||
I_Method2(void, setAlignVectors, IN, const osg::Vec3 &, X, IN, const osg::Vec3 &, Y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAlignVectors__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"Set the alignment vectors. ",
|
||||
"");
|
||||
I_Method0(const osg::BoundingBox &, getDefaultBoundingBox,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_BoundingBox_R1__getDefaultBoundingBox,
|
||||
"Get the default bounding box. ",
|
||||
"");
|
||||
I_Method1(void, setDefaultBoundingBox, IN, const osg::BoundingBox &, bbox,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultBoundingBox__C5_osg_BoundingBox_R1,
|
||||
"Set the default bounding box. ",
|
||||
"The default bounding box is used when a real bounding box cannot be computed, for example because no particles has been updated yet.");
|
||||
I_Method0(bool, getDoublePassRendering,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getDoublePassRendering,
|
||||
"Get the double pass rendering flag. ",
|
||||
"");
|
||||
I_Method1(void, setDoublePassRendering, IN, bool, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDoublePassRendering__bool,
|
||||
"Set the double pass rendering flag. ",
|
||||
"Double pass rendering avoids overdraw problems between particle systems and other opaque objects. If you can render all the particle systems after the opaque objects, then double pass is not necessary and can be turned off (best choice). If you set the default attributes with setDefaultAttributes, then the particle system will fall into a transparent bin.");
|
||||
I_Method0(bool, isFrozen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isFrozen,
|
||||
"Return true if the particle system is frozen. ",
|
||||
"");
|
||||
I_Method1(void, setFrozen, IN, bool, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrozen__bool,
|
||||
"Set or reset the frozen state. ",
|
||||
"When the particle system is frozen, emitters and programs won't do anything on it.");
|
||||
I_Method0(int, numParticles,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__numParticles,
|
||||
"Get the number of allocated particles (alive + dead). ",
|
||||
"");
|
||||
I_Method0(int, numDeadParticles,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__numDeadParticles,
|
||||
"Get the number of dead particles. ",
|
||||
"");
|
||||
I_Method0(bool, areAllParticlesDead,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__areAllParticlesDead,
|
||||
"Get whether all particles are dead. ",
|
||||
"");
|
||||
I_Method1(osgParticle::Particle *, getParticle, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Particle_P1__getParticle__int,
|
||||
"Get a pointer to the i-th particle. ",
|
||||
"");
|
||||
I_Method1(const osgParticle::Particle *, getParticle, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Particle_P1__getParticle__int,
|
||||
"Get a const pointer to the i-th particle. ",
|
||||
"");
|
||||
I_Method1(osgParticle::Particle *, createParticle, IN, const osgParticle::Particle *, ptemplate,
|
||||
Properties::VIRTUAL,
|
||||
__Particle_P1__createParticle__C5_Particle_P1,
|
||||
"Create a new particle from the specified template (or the default one if ptemplate is null). ",
|
||||
"");
|
||||
I_Method1(void, destroyParticle, IN, int, i,
|
||||
Properties::VIRTUAL,
|
||||
__void__destroyParticle__int,
|
||||
"Destroy the i-th particle. ",
|
||||
"");
|
||||
I_Method1(void, reuseParticle, IN, int, i,
|
||||
Properties::VIRTUAL,
|
||||
__void__reuseParticle__int,
|
||||
"Reuse the i-th particle. ",
|
||||
"");
|
||||
I_Method0(int, getLastFrameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getLastFrameNumber,
|
||||
"Get the last frame number. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Particle &, getDefaultParticleTemplate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Particle_R1__getDefaultParticleTemplate,
|
||||
"Get a reference to the default particle template. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Particle &, getDefaultParticleTemplate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Particle_R1__getDefaultParticleTemplate,
|
||||
"Get a const reference to the default particle template. ",
|
||||
"");
|
||||
I_Method1(void, setDefaultParticleTemplate, IN, const osgParticle::Particle &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultParticleTemplate__C5_Particle_R1,
|
||||
"Set the default particle template (particle is copied). ",
|
||||
"");
|
||||
I_Method0(bool, getFreezeOnCull,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getFreezeOnCull,
|
||||
"Get whether the particle system can freeze when culled. ",
|
||||
"");
|
||||
I_Method1(void, setFreezeOnCull, IN, bool, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFreezeOnCull__bool,
|
||||
"Set whether the particle system can freeze when culled (default is true). ",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, setDefaultAttributes, IN, const std::string &, texturefile, "", IN, bool, emissive_particles, true, IN, bool, lighting, false, IN, int, texture_unit, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultAttributes__C5_std_string_R1__bool__bool__int,
|
||||
"A useful method to set the most common StateAttribute's in one call. ",
|
||||
"If texturefile is empty, then texturing is turned off.");
|
||||
I_Method0(int, getLevelOfDetail,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getLevelOfDetail,
|
||||
"(EXPERIMENTAL) Get the level of detail. ",
|
||||
"");
|
||||
I_Method1(void, setLevelOfDetail, IN, int, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLevelOfDetail__int,
|
||||
"(EXPERIMENTAL) Set the level of detail. ",
|
||||
"The total number of particles is divided by the detail value to get the actual number of particles to be drawn. This value must be greater than zero.");
|
||||
I_Method1(void, update, IN, double, dt,
|
||||
Properties::VIRTUAL,
|
||||
__void__update__double,
|
||||
"Update the particles. Don't call this directly, use a ParticleSystemUpdater instead. ",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__osg_State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingBox__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgDB::ReadWriteMutex *, getReadWriteMutex,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgDB_ReadWriteMutex_P1__getReadWriteMutex,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec3 &, AlignVectorX,
|
||||
__C5_osg_Vec3_R1__getAlignVectorX,
|
||||
__void__setAlignVectorX__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, AlignVectorY,
|
||||
__C5_osg_Vec3_R1__getAlignVectorY,
|
||||
__void__setAlignVectorY__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::BoundingBox &, DefaultBoundingBox,
|
||||
__C5_osg_BoundingBox_R1__getDefaultBoundingBox,
|
||||
__void__setDefaultBoundingBox__C5_osg_BoundingBox_R1);
|
||||
I_SimpleProperty(const osgParticle::Particle &, DefaultParticleTemplate,
|
||||
__C5_Particle_R1__getDefaultParticleTemplate,
|
||||
__void__setDefaultParticleTemplate__C5_Particle_R1);
|
||||
I_SimpleProperty(bool, DoublePassRendering,
|
||||
__bool__getDoublePassRendering,
|
||||
__void__setDoublePassRendering__bool);
|
||||
I_SimpleProperty(bool, FreezeOnCull,
|
||||
__bool__getFreezeOnCull,
|
||||
__void__setFreezeOnCull__bool);
|
||||
I_SimpleProperty(bool, Frozen,
|
||||
0,
|
||||
__void__setFrozen__bool);
|
||||
I_SimpleProperty(int, LastFrameNumber,
|
||||
__int__getLastFrameNumber,
|
||||
0);
|
||||
I_SimpleProperty(int, LevelOfDetail,
|
||||
__int__getLevelOfDetail,
|
||||
__void__setLevelOfDetail__int);
|
||||
I_SimpleProperty(osgParticle::ParticleSystem::Alignment, ParticleAlignment,
|
||||
__Alignment__getParticleAlignment,
|
||||
__void__setParticleAlignment__Alignment);
|
||||
I_SimpleProperty(osgDB::ReadWriteMutex *, ReadWriteMutex,
|
||||
__osgDB_ReadWriteMutex_P1__getReadWriteMutex,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgParticle::ParticleSystem::Alignment)
|
||||
I_EnumLabel(osgParticle::ParticleSystem::BILLBOARD);
|
||||
I_EnumLabel(osgParticle::ParticleSystem::FIXED);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::ParticleSystem)
|
||||
I_BaseType(osg::Drawable);
|
||||
I_BaseType(osg::Drawable);
|
||||
I_Constructor0(____ParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ParticleSystem &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ParticleSystem__C5_ParticleSystem_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::ParticleSystem::Alignment, getParticleAlignment,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Alignment__getParticleAlignment,
|
||||
"Get the alignment type of particles. ",
|
||||
"");
|
||||
I_Method1(void, setParticleAlignment, IN, osgParticle::ParticleSystem::Alignment, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleAlignment__Alignment,
|
||||
"Set the alignment type of particles. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAlignVectorX,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAlignVectorX,
|
||||
"Get the X-axis alignment vector. ",
|
||||
"");
|
||||
I_Method1(void, setAlignVectorX, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAlignVectorX__C5_osg_Vec3_R1,
|
||||
"Set the X-axis alignment vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAlignVectorY,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAlignVectorY,
|
||||
"Get the Y-axis alignment vector. ",
|
||||
"");
|
||||
I_Method1(void, setAlignVectorY, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAlignVectorY__C5_osg_Vec3_R1,
|
||||
"Set the Y-axis alignment vector. ",
|
||||
"");
|
||||
I_Method2(void, setAlignVectors, IN, const osg::Vec3 &, X, IN, const osg::Vec3 &, Y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAlignVectors__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"Set the alignment vectors. ",
|
||||
"");
|
||||
I_Method0(const osg::BoundingBox &, getDefaultBoundingBox,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_BoundingBox_R1__getDefaultBoundingBox,
|
||||
"Get the default bounding box. ",
|
||||
"");
|
||||
I_Method1(void, setDefaultBoundingBox, IN, const osg::BoundingBox &, bbox,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultBoundingBox__C5_osg_BoundingBox_R1,
|
||||
"Set the default bounding box. ",
|
||||
"The default bounding box is used when a real bounding box cannot be computed, for example because no particles has been updated yet.");
|
||||
I_Method0(bool, getDoublePassRendering,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getDoublePassRendering,
|
||||
"Get the double pass rendering flag. ",
|
||||
"");
|
||||
I_Method1(void, setDoublePassRendering, IN, bool, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDoublePassRendering__bool,
|
||||
"Set the double pass rendering flag. ",
|
||||
"Double pass rendering avoids overdraw problems between particle systems and other opaque objects. If you can render all the particle systems after the opaque objects, then double pass is not necessary and can be turned off (best choice). If you set the default attributes with setDefaultAttributes, then the particle system will fall into a transparent bin.");
|
||||
I_Method0(bool, isFrozen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isFrozen,
|
||||
"Return true if the particle system is frozen. ",
|
||||
"");
|
||||
I_Method1(void, setFrozen, IN, bool, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrozen__bool,
|
||||
"Set or reset the frozen state. ",
|
||||
"When the particle system is frozen, emitters and programs won't do anything on it.");
|
||||
I_Method0(int, numParticles,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__numParticles,
|
||||
"Get the number of allocated particles (alive + dead). ",
|
||||
"");
|
||||
I_Method0(int, numDeadParticles,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__numDeadParticles,
|
||||
"Get the number of dead particles. ",
|
||||
"");
|
||||
I_Method0(bool, areAllParticlesDead,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__areAllParticlesDead,
|
||||
"Get whether all particles are dead. ",
|
||||
"");
|
||||
I_Method1(osgParticle::Particle *, getParticle, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Particle_P1__getParticle__int,
|
||||
"Get a pointer to the i-th particle. ",
|
||||
"");
|
||||
I_Method1(const osgParticle::Particle *, getParticle, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Particle_P1__getParticle__int,
|
||||
"Get a const pointer to the i-th particle. ",
|
||||
"");
|
||||
I_Method1(osgParticle::Particle *, createParticle, IN, const osgParticle::Particle *, ptemplate,
|
||||
Properties::VIRTUAL,
|
||||
__Particle_P1__createParticle__C5_Particle_P1,
|
||||
"Create a new particle from the specified template (or the default one if ptemplate is null). ",
|
||||
"");
|
||||
I_Method1(void, destroyParticle, IN, int, i,
|
||||
Properties::VIRTUAL,
|
||||
__void__destroyParticle__int,
|
||||
"Destroy the i-th particle. ",
|
||||
"");
|
||||
I_Method1(void, reuseParticle, IN, int, i,
|
||||
Properties::VIRTUAL,
|
||||
__void__reuseParticle__int,
|
||||
"Reuse the i-th particle. ",
|
||||
"");
|
||||
I_Method0(int, getLastFrameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getLastFrameNumber,
|
||||
"Get the last frame number. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Particle &, getDefaultParticleTemplate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Particle_R1__getDefaultParticleTemplate,
|
||||
"Get a reference to the default particle template. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Particle &, getDefaultParticleTemplate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Particle_R1__getDefaultParticleTemplate,
|
||||
"Get a const reference to the default particle template. ",
|
||||
"");
|
||||
I_Method1(void, setDefaultParticleTemplate, IN, const osgParticle::Particle &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultParticleTemplate__C5_Particle_R1,
|
||||
"Set the default particle template (particle is copied). ",
|
||||
"");
|
||||
I_Method0(bool, getFreezeOnCull,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getFreezeOnCull,
|
||||
"Get whether the particle system can freeze when culled. ",
|
||||
"");
|
||||
I_Method1(void, setFreezeOnCull, IN, bool, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFreezeOnCull__bool,
|
||||
"Set whether the particle system can freeze when culled (default is true). ",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, setDefaultAttributes, IN, const std::string &, texturefile, "", IN, bool, emissive_particles, true, IN, bool, lighting, false, IN, int, texture_unit, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultAttributes__C5_std_string_R1__bool__bool__int,
|
||||
"A useful method to set the most common StateAttribute's in one call. ",
|
||||
"If texturefile is empty, then texturing is turned off.");
|
||||
I_Method0(int, getLevelOfDetail,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getLevelOfDetail,
|
||||
"(EXPERIMENTAL) Get the level of detail. ",
|
||||
"");
|
||||
I_Method1(void, setLevelOfDetail, IN, int, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLevelOfDetail__int,
|
||||
"(EXPERIMENTAL) Set the level of detail. ",
|
||||
"The total number of particles is divided by the detail value to get the actual number of particles to be drawn. This value must be greater than zero.");
|
||||
I_Method1(void, update, IN, double, dt,
|
||||
Properties::VIRTUAL,
|
||||
__void__update__double,
|
||||
"Update the particles. Don't call this directly, use a ParticleSystemUpdater instead. ",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__osg_State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingBox__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgDB::ReadWriteMutex *, getReadWriteMutex,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgDB_ReadWriteMutex_P1__getReadWriteMutex,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ParticleSystem,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::ParticleSystem &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ParticleSystem__C5_ParticleSystem_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::ParticleSystem::Alignment, getParticleAlignment,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Alignment__getParticleAlignment,
|
||||
"Get the alignment type of particles. ",
|
||||
"");
|
||||
I_Method1(void, setParticleAlignment, IN, osgParticle::ParticleSystem::Alignment, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleAlignment__Alignment,
|
||||
"Set the alignment type of particles. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAlignVectorX,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAlignVectorX,
|
||||
"Get the X-axis alignment vector. ",
|
||||
"");
|
||||
I_Method1(void, setAlignVectorX, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAlignVectorX__C5_osg_Vec3_R1,
|
||||
"Set the X-axis alignment vector. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getAlignVectorY,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getAlignVectorY,
|
||||
"Get the Y-axis alignment vector. ",
|
||||
"");
|
||||
I_Method1(void, setAlignVectorY, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAlignVectorY__C5_osg_Vec3_R1,
|
||||
"Set the Y-axis alignment vector. ",
|
||||
"");
|
||||
I_Method2(void, setAlignVectors, IN, const osg::Vec3 &, X, IN, const osg::Vec3 &, Y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAlignVectors__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"Set the alignment vectors. ",
|
||||
"");
|
||||
I_Method0(const osg::BoundingBox &, getDefaultBoundingBox,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_BoundingBox_R1__getDefaultBoundingBox,
|
||||
"Get the default bounding box. ",
|
||||
"");
|
||||
I_Method1(void, setDefaultBoundingBox, IN, const osg::BoundingBox &, bbox,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultBoundingBox__C5_osg_BoundingBox_R1,
|
||||
"Set the default bounding box. ",
|
||||
"The default bounding box is used when a real bounding box cannot be computed, for example because no particles has been updated yet.");
|
||||
I_Method0(bool, getDoublePassRendering,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getDoublePassRendering,
|
||||
"Get the double pass rendering flag. ",
|
||||
"");
|
||||
I_Method1(void, setDoublePassRendering, IN, bool, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDoublePassRendering__bool,
|
||||
"Set the double pass rendering flag. ",
|
||||
"Double pass rendering avoids overdraw problems between particle systems and other opaque objects. If you can render all the particle systems after the opaque objects, then double pass is not necessary and can be turned off (best choice). If you set the default attributes with setDefaultAttributes, then the particle system will fall into a transparent bin.");
|
||||
I_Method0(bool, isFrozen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isFrozen,
|
||||
"Return true if the particle system is frozen. ",
|
||||
"");
|
||||
I_Method1(void, setFrozen, IN, bool, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrozen__bool,
|
||||
"Set or reset the frozen state. ",
|
||||
"When the particle system is frozen, emitters and programs won't do anything on it.");
|
||||
I_Method0(int, numParticles,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__numParticles,
|
||||
"Get the number of allocated particles (alive + dead). ",
|
||||
"");
|
||||
I_Method0(int, numDeadParticles,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__numDeadParticles,
|
||||
"Get the number of dead particles. ",
|
||||
"");
|
||||
I_Method0(bool, areAllParticlesDead,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__areAllParticlesDead,
|
||||
"Get whether all particles are dead. ",
|
||||
"");
|
||||
I_Method1(osgParticle::Particle *, getParticle, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Particle_P1__getParticle__int,
|
||||
"Get a pointer to the i-th particle. ",
|
||||
"");
|
||||
I_Method1(const osgParticle::Particle *, getParticle, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Particle_P1__getParticle__int,
|
||||
"Get a const pointer to the i-th particle. ",
|
||||
"");
|
||||
I_Method1(osgParticle::Particle *, createParticle, IN, const osgParticle::Particle *, ptemplate,
|
||||
Properties::VIRTUAL,
|
||||
__Particle_P1__createParticle__C5_Particle_P1,
|
||||
"Create a new particle from the specified template (or the default one if ptemplate is null). ",
|
||||
"");
|
||||
I_Method1(void, destroyParticle, IN, int, i,
|
||||
Properties::VIRTUAL,
|
||||
__void__destroyParticle__int,
|
||||
"Destroy the i-th particle. ",
|
||||
"");
|
||||
I_Method1(void, reuseParticle, IN, int, i,
|
||||
Properties::VIRTUAL,
|
||||
__void__reuseParticle__int,
|
||||
"Reuse the i-th particle. ",
|
||||
"");
|
||||
I_Method0(int, getLastFrameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getLastFrameNumber,
|
||||
"Get the last frame number. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Particle &, getDefaultParticleTemplate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Particle_R1__getDefaultParticleTemplate,
|
||||
"Get a reference to the default particle template. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::Particle &, getDefaultParticleTemplate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Particle_R1__getDefaultParticleTemplate,
|
||||
"Get a const reference to the default particle template. ",
|
||||
"");
|
||||
I_Method1(void, setDefaultParticleTemplate, IN, const osgParticle::Particle &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultParticleTemplate__C5_Particle_R1,
|
||||
"Set the default particle template (particle is copied). ",
|
||||
"");
|
||||
I_Method0(bool, getFreezeOnCull,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getFreezeOnCull,
|
||||
"Get whether the particle system can freeze when culled. ",
|
||||
"");
|
||||
I_Method1(void, setFreezeOnCull, IN, bool, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFreezeOnCull__bool,
|
||||
"Set whether the particle system can freeze when culled (default is true). ",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, setDefaultAttributes, IN, const std::string &, texturefile, "", IN, bool, emissive_particles, true, IN, bool, lighting, false, IN, int, texture_unit, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultAttributes__C5_std_string_R1__bool__bool__int,
|
||||
"A useful method to set the most common StateAttribute's in one call. ",
|
||||
"If texturefile is empty, then texturing is turned off.");
|
||||
I_Method0(int, getLevelOfDetail,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getLevelOfDetail,
|
||||
"(EXPERIMENTAL) Get the level of detail. ",
|
||||
"");
|
||||
I_Method1(void, setLevelOfDetail, IN, int, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLevelOfDetail__int,
|
||||
"(EXPERIMENTAL) Set the level of detail. ",
|
||||
"The total number of particles is divided by the detail value to get the actual number of particles to be drawn. This value must be greater than zero.");
|
||||
I_Method1(void, update, IN, double, dt,
|
||||
Properties::VIRTUAL,
|
||||
__void__update__double,
|
||||
"Update the particles. Don't call this directly, use a ParticleSystemUpdater instead. ",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__osg_State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingBox__computeBound,
|
||||
"",
|
||||
"Compute the bounding box around Drawables's geometry. ",
|
||||
"");
|
||||
I_Method0(osgDB::ReadWriteMutex *, getReadWriteMutex,
|
||||
Properties::NON_VIRTUAL,
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/BoundingSphere.svn-base>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/BoundingSphere>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osgParticle/ParticleSystem>
|
||||
#include <osgParticle/ParticleSystemUpdater>
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::ParticleSystemUpdater)
|
||||
I_BaseType(osg::Node);
|
||||
I_BaseType(osg::Node);
|
||||
I_Constructor0(____ParticleSystemUpdater,
|
||||
"",
|
||||
@@ -38,32 +37,32 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::ParticleSystemUpdater)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__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,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__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,
|
||||
Properties::NON_VIRTUAL,
|
||||
@@ -118,316 +117,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::ParticleSystemUpdater)
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
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,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__addParticleSystem__ParticleSystem_P1,
|
||||
"Add a particle system to the list. ",
|
||||
"");
|
||||
I_Method1(bool, removeParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__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,
|
||||
Properties::NON_VIRTUAL,
|
||||
__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,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__replaceParticleSystem__ParticleSystem_P1__ParticleSystem_P1,
|
||||
"Replace ParticleSystem with another ParticleSystem. ",
|
||||
"");
|
||||
I_Method2(bool, setParticleSystem, IN, unsigned int, i, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setParticleSystem__unsigned_int__ParticleSystem_P1,
|
||||
"set a particle system by index. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumParticleSystems,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumParticleSystems,
|
||||
"Return the number of particle systems on the list. ",
|
||||
"");
|
||||
I_Method1(osgParticle::ParticleSystem *, getParticleSystem, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ParticleSystem_P1__getParticleSystem__unsigned_int,
|
||||
"Get a particle system from the list. ",
|
||||
"");
|
||||
I_Method1(const osgParticle::ParticleSystem *, getParticleSystem, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ParticleSystem_P1__getParticleSystem__unsigned_int,
|
||||
"Get a particle system from the list. ",
|
||||
"");
|
||||
I_Method1(bool, containsParticleSystem, IN, const osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsParticleSystem__C5_ParticleSystem_P1,
|
||||
"return true if ParticleSystem is contained within ParticlsSystemUpdater. ",
|
||||
"");
|
||||
I_Method1(unsigned int, getParticleSystemIndex, IN, const osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getParticleSystemIndex__C5_ParticleSystem_P1,
|
||||
"get index number of ParticleSystem. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
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);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::ParticleSystemUpdater)
|
||||
I_BaseType(osg::Node);
|
||||
I_BaseType(osg::Node);
|
||||
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,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__addParticleSystem__ParticleSystem_P1,
|
||||
"Add a particle system to the list. ",
|
||||
"");
|
||||
I_Method1(bool, removeParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__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,
|
||||
Properties::NON_VIRTUAL,
|
||||
__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,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__replaceParticleSystem__ParticleSystem_P1__ParticleSystem_P1,
|
||||
"Replace ParticleSystem with another ParticleSystem. ",
|
||||
"");
|
||||
I_Method2(bool, setParticleSystem, IN, unsigned int, i, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setParticleSystem__unsigned_int__ParticleSystem_P1,
|
||||
"set a particle system by index. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumParticleSystems,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumParticleSystems,
|
||||
"Return the number of particle systems on the list. ",
|
||||
"");
|
||||
I_Method1(osgParticle::ParticleSystem *, getParticleSystem, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ParticleSystem_P1__getParticleSystem__unsigned_int,
|
||||
"Get a particle system from the list. ",
|
||||
"");
|
||||
I_Method1(const osgParticle::ParticleSystem *, getParticleSystem, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ParticleSystem_P1__getParticleSystem__unsigned_int,
|
||||
"Get a particle system from the list. ",
|
||||
"");
|
||||
I_Method1(bool, containsParticleSystem, IN, const osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsParticleSystem__C5_ParticleSystem_P1,
|
||||
"return true if ParticleSystem is contained within ParticlsSystemUpdater. ",
|
||||
"");
|
||||
I_Method1(unsigned int, getParticleSystemIndex, IN, const osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getParticleSystemIndex__C5_ParticleSystem_P1,
|
||||
"get index number of ParticleSystem. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
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,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__addParticleSystem__ParticleSystem_P1,
|
||||
"Add a particle system to the list. ",
|
||||
"");
|
||||
I_Method1(bool, removeParticleSystem, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__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,
|
||||
Properties::NON_VIRTUAL,
|
||||
__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,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__replaceParticleSystem__ParticleSystem_P1__ParticleSystem_P1,
|
||||
"Replace ParticleSystem with another ParticleSystem. ",
|
||||
"");
|
||||
I_Method2(bool, setParticleSystem, IN, unsigned int, i, IN, osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setParticleSystem__unsigned_int__ParticleSystem_P1,
|
||||
"set a particle system by index. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumParticleSystems,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumParticleSystems,
|
||||
"Return the number of particle systems on the list. ",
|
||||
"");
|
||||
I_Method1(osgParticle::ParticleSystem *, getParticleSystem, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ParticleSystem_P1__getParticleSystem__unsigned_int,
|
||||
"Get a particle system from the list. ",
|
||||
"");
|
||||
I_Method1(const osgParticle::ParticleSystem *, getParticleSystem, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ParticleSystem_P1__getParticleSystem__unsigned_int,
|
||||
"Get a particle system from the list. ",
|
||||
"");
|
||||
I_Method1(bool, containsParticleSystem, IN, const osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsParticleSystem__C5_ParticleSystem_P1,
|
||||
"return true if ParticleSystem is contained within ParticlsSystemUpdater. ",
|
||||
"");
|
||||
I_Method1(unsigned int, getParticleSystemIndex, IN, const osgParticle::ParticleSystem *, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getParticleSystemIndex__C5_ParticleSystem_P1,
|
||||
"get index number of ParticleSystem. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__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,
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/Placer>
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Placer)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____Placer,
|
||||
"",
|
||||
@@ -37,117 +36,13 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Placer)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. Must be implemented in descendant classes. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"Return the control position of particles that placer will generate. Must be implemented in descendant classes. ",
|
||||
"");
|
||||
I_Constructor0(____Placer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Placer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Placer__C5_Placer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. Must be implemented in descendant classes. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"Return the control position of particles that placer will generate. Must be implemented in descendant classes. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::Vec3, ControlPosition,
|
||||
__osg_Vec3__getControlPosition,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Placer)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____Placer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Placer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Placer__C5_Placer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. Must be implemented in descendant classes. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"Return the control position of particles that placer will generate. Must be implemented in descendant classes. ",
|
||||
"");
|
||||
I_Constructor0(____Placer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Placer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Placer__C5_Placer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/PointPlacer>
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::PointPlacer)
|
||||
I_BaseType(osgParticle::CenteredPlacer);
|
||||
I_BaseType(osgParticle::CenteredPlacer);
|
||||
I_Constructor0(____PointPlacer,
|
||||
"",
|
||||
@@ -37,13 +36,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::PointPlacer)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -52,154 +51,20 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::PointPlacer)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. ",
|
||||
"This method is called automatically by ModularEmitter and should not be called manually.");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
I_Constructor0(____PointPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::PointPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PointPlacer__C5_PointPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. ",
|
||||
"This method is called automatically by ModularEmitter and should not be called manually.");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
I_SimpleProperty(osg::Vec3, ControlPosition,
|
||||
__osg_Vec3__getControlPosition,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::PointPlacer)
|
||||
I_BaseType(osgParticle::CenteredPlacer);
|
||||
I_BaseType(osgParticle::CenteredPlacer);
|
||||
I_Constructor0(____PointPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::PointPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PointPlacer__C5_PointPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. ",
|
||||
"This method is called automatically by ModularEmitter and should not be called manually.");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
I_Constructor0(____PointPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::PointPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PointPlacer__C5_PointPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. ",
|
||||
"This method is called automatically by ModularEmitter and should not be called manually.");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
|
||||
@@ -10,6 +10,16 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Fog>
|
||||
#include <osg/Geometry>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/PrimitiveSet>
|
||||
#include <osg/RenderInfo>
|
||||
#include <osg/StateSet>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Vec4>
|
||||
#include <osgParticle/PrecipitationEffect>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -20,11 +30,390 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgParticle::PrecipitationEffect::PrecipitationDrawable::Cell)
|
||||
I_Constructor3(IN, int, in_i, IN, int, in_j, IN, int, in_k,
|
||||
____Cell__int__int__int,
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::PrecipitationEffect)
|
||||
I_BaseType(osg::Node);
|
||||
I_Constructor0(____PrecipitationEffect,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::PrecipitationEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PrecipitationEffect__C5_PrecipitationEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method1(void, rain, IN, float, intensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__rain__float,
|
||||
"Set all the parameters to create an rain effect of specified intensity. ",
|
||||
"");
|
||||
I_Method1(void, snow, IN, float, intensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__snow__float,
|
||||
"Set all the parameters to create an snow effect of specified intensity. ",
|
||||
"");
|
||||
I_Method1(void, setMaximumParticleDensity, IN, float, density,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaximumParticleDensity__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, setMaximumParticleDensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__setMaximumParticleDensity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWind, IN, const osg::Vec3 &, wind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWind__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getWind,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getWind,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, position,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCellSize, IN, const osg::Vec3 &, cellSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCellSize__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getCellSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getCellSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setParticleSpeed, IN, float, particleSpeed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleSpeed__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getParticleSpeed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getParticleSpeed,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setParticleSize, IN, float, particleSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getParticleSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getParticleSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setParticleColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParticleColor__C5_osg_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getParticleColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4_R1__getParticleColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNearTransition, IN, float, nearTransition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNearTransition__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getNearTransition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getNearTransition,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFarTransition, IN, float, farTransition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFarTransition__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getFarTransition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFarTransition,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setUseFarLineSegments, IN, bool, useFarLineSegments,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUseFarLineSegments__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getUseFarLineSegments,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getUseFarLineSegments,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFog, IN, osg::Fog *, fog,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFog__osg_Fog_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Fog *, getFog,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Fog_P1__getFog,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Fog *, getFog,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Fog_P1__getFog,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Geometry *, getQuadGeometry,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Geometry_P1__getQuadGeometry,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::StateSet *, getQuadStateSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_StateSet_P1__getQuadStateSet,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Geometry *, getLineGeometry,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Geometry_P1__getLineGeometry,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::StateSet *, getLineStateSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_StateSet_P1__getLineStateSet,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Geometry *, getPointGeometry,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Geometry_P1__getPointGeometry,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::StateSet *, getPointStateSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_StateSet_P1__getPointStateSet,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec3 &, CellSize,
|
||||
__C5_osg_Vec3_R1__getCellSize,
|
||||
__void__setCellSize__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(float, FarTransition,
|
||||
__float__getFarTransition,
|
||||
__void__setFarTransition__float);
|
||||
I_SimpleProperty(osg::Fog *, Fog,
|
||||
__osg_Fog_P1__getFog,
|
||||
__void__setFog__osg_Fog_P1);
|
||||
I_SimpleProperty(osg::Geometry *, LineGeometry,
|
||||
__osg_Geometry_P1__getLineGeometry,
|
||||
0);
|
||||
I_SimpleProperty(osg::StateSet *, LineStateSet,
|
||||
__osg_StateSet_P1__getLineStateSet,
|
||||
0);
|
||||
I_SimpleProperty(float, MaximumParticleDensity,
|
||||
0,
|
||||
__void__setMaximumParticleDensity__float);
|
||||
I_SimpleProperty(float, NearTransition,
|
||||
__float__getNearTransition,
|
||||
__void__setNearTransition__float);
|
||||
I_SimpleProperty(const osg::Vec4 &, ParticleColor,
|
||||
__C5_osg_Vec4_R1__getParticleColor,
|
||||
__void__setParticleColor__C5_osg_Vec4_R1);
|
||||
I_SimpleProperty(float, ParticleSize,
|
||||
__float__getParticleSize,
|
||||
__void__setParticleSize__float);
|
||||
I_SimpleProperty(float, ParticleSpeed,
|
||||
__float__getParticleSpeed,
|
||||
__void__setParticleSpeed__float);
|
||||
I_SimpleProperty(osg::Geometry *, PointGeometry,
|
||||
__osg_Geometry_P1__getPointGeometry,
|
||||
0);
|
||||
I_SimpleProperty(osg::StateSet *, PointStateSet,
|
||||
__osg_StateSet_P1__getPointStateSet,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec3 &, Position,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
__void__setPosition__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(osg::Geometry *, QuadGeometry,
|
||||
__osg_Geometry_P1__getQuadGeometry,
|
||||
0);
|
||||
I_SimpleProperty(osg::StateSet *, QuadStateSet,
|
||||
__osg_StateSet_P1__getQuadStateSet,
|
||||
0);
|
||||
I_SimpleProperty(bool, UseFarLineSegments,
|
||||
__bool__getUseFarLineSegments,
|
||||
__void__setUseFarLineSegments__bool);
|
||||
I_SimpleProperty(const osg::Vec3 &, Wind,
|
||||
__C5_osg_Vec3_R1__getWind,
|
||||
__void__setWind__C5_osg_Vec3_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< osgParticle::PrecipitationEffect::PrecipitationDrawable::Cell COMMA osgParticle::PrecipitationEffect::PrecipitationDrawable::DepthMatrixStartTime >, osgParticle::PrecipitationEffect::PrecipitationDrawable::CellMatrixMap);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::PrecipitationEffect::PrecipitationDrawable)
|
||||
I_BaseType(osg::Drawable);
|
||||
I_Constructor0(____PrecipitationDrawable,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::PrecipitationEffect::PrecipitationDrawable &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PrecipitationDrawable__C5_PrecipitationDrawable_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_osg_PrimitiveFunctor_R1,
|
||||
"Return true if the Drawable subclass supports accept(PrimitiveFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_PrimitiveFunctor_R1,
|
||||
"Accept a PrimitiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. ",
|
||||
"return true if functor handled by drawable, return false on failure of drawable to generate functor calls. Note, PrimtiveFunctor only provides const access of the primitives, as primitives may be procedurally generated so one cannot modify it. ");
|
||||
I_Method1(bool, supports, IN, const osg::PrimitiveIndexFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_osg_PrimitiveIndexFunctor_R1,
|
||||
"Return true if the Drawable subclass supports accept(PrimitiveIndexFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_PrimitiveIndexFunctor_R1,
|
||||
"Accept a PrimitiveIndexFunctor and call its methods to tell it about the internal primitives that this Drawable has. ",
|
||||
"return true if functor handled by drawable, return false on failure of drawable to generate functor calls. Note, PrimtiveIndexFunctor only provide const access of the primitives, as primitives may be procedurally generated so one cannot modify it. ");
|
||||
I_Method1(void, setRequiresPreviousMatrix, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRequiresPreviousMatrix__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getRequiresPreviousMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getRequiresPreviousMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setGeometry, IN, osg::Geometry *, geom,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setGeometry__osg_Geometry_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Geometry *, getGeometry,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Geometry_P1__getGeometry,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Geometry *, getGeometry,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Geometry_P1__getGeometry,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDrawType, IN, GLenum, type,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDrawType__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getDrawType,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLenum__getDrawType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumberOfVertices, IN, unsigned int, numVertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumberOfVertices__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumberOfVertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumberOfVertices,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__osg_RenderInfo_R1,
|
||||
"drawImplementation(State&) is a pure virtual method for the actual implementation of OpenGL drawing calls, such as vertex arrays and primitives, that must be implemented in concrete subclasses of the Drawable base class, examples include osg::Geometry and osg::ShapeDrawable. ",
|
||||
" param state The osg::State object that encapulates the current OpenGL state for the current graphics context. ");
|
||||
I_Method0(osgParticle::PrecipitationEffect::PrecipitationDrawable::CellMatrixMap &, getCurrentCellMatrixMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__CellMatrixMap_R1__getCurrentCellMatrixMap,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::PrecipitationEffect::PrecipitationDrawable::CellMatrixMap &, getPreviousCellMatrixMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__CellMatrixMap_R1__getPreviousCellMatrixMap,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, newFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__newFrame,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgParticle::PrecipitationEffect::PrecipitationDrawable::CellMatrixMap &, CurrentCellMatrixMap,
|
||||
__CellMatrixMap_R1__getCurrentCellMatrixMap,
|
||||
0);
|
||||
I_SimpleProperty(GLenum, DrawType,
|
||||
__GLenum__getDrawType,
|
||||
__void__setDrawType__GLenum);
|
||||
I_SimpleProperty(osg::Geometry *, Geometry,
|
||||
__osg_Geometry_P1__getGeometry,
|
||||
__void__setGeometry__osg_Geometry_P1);
|
||||
I_SimpleProperty(unsigned int, NumberOfVertices,
|
||||
__unsigned_int__getNumberOfVertices,
|
||||
__void__setNumberOfVertices__unsigned_int);
|
||||
I_SimpleProperty(osgParticle::PrecipitationEffect::PrecipitationDrawable::CellMatrixMap &, PreviousCellMatrixMap,
|
||||
__CellMatrixMap_R1__getPreviousCellMatrixMap,
|
||||
0);
|
||||
I_SimpleProperty(bool, RequiresPreviousMatrix,
|
||||
__bool__getRequiresPreviousMatrix,
|
||||
__void__setRequiresPreviousMatrix__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgParticle::PrecipitationEffect::PrecipitationDrawable::Cell)
|
||||
I_Constructor3(IN, int, in_i, IN, int, in_j, IN, int, in_k,
|
||||
____Cell__int__int__int,
|
||||
"",
|
||||
@@ -34,18 +423,13 @@ BEGIN_VALUE_REFLECTOR(osgParticle::PrecipitationEffect::PrecipitationDrawable::C
|
||||
I_PublicMemberProperty(int, k);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgParticle::PrecipitationEffect::PrecipitationDrawable::Cell)
|
||||
I_Constructor3(IN, int, in_i, IN, int, in_j, IN, int, in_k,
|
||||
____Cell__int__int__int,
|
||||
BEGIN_VALUE_REFLECTOR(osgParticle::PrecipitationEffect::PrecipitationDrawable::DepthMatrixStartTime)
|
||||
I_Constructor0(____DepthMatrixStartTime,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, int, in_i, IN, int, in_j, IN, int, in_k,
|
||||
____Cell__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(int, i);
|
||||
I_PublicMemberProperty(int, j);
|
||||
I_PublicMemberProperty(int, k);
|
||||
I_PublicMemberProperty(float, depth);
|
||||
I_PublicMemberProperty(float, startTime);
|
||||
I_PublicMemberProperty(osg::Matrix, modelview);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgParticle::PrecipitationEffect::PrecipitationDrawable::LessFunctor)
|
||||
@@ -54,9 +438,5 @@ BEGIN_VALUE_REFLECTOR(osgParticle::PrecipitationEffect::PrecipitationDrawable::L
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgParticle::PrecipitationEffect::PrecipitationDrawable::LessFunctor)
|
||||
I_Constructor0(____LessFunctor,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
STD_MAP_REFLECTOR(std::map< osgParticle::PrecipitationEffect::PrecipitationDrawable::Cell COMMA osgParticle::PrecipitationEffect::PrecipitationDrawable::DepthMatrixStartTime >);
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osgParticle/Program>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -24,7 +24,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Program)
|
||||
I_BaseType(osgParticle::ParticleProcessor);
|
||||
I_BaseType(osgParticle::ParticleProcessor);
|
||||
I_Constructor0(____Program,
|
||||
"",
|
||||
@@ -36,108 +35,22 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Program)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Program,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Program &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Program__C5_Program_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Program)
|
||||
I_BaseType(osgParticle::ParticleProcessor);
|
||||
I_BaseType(osgParticle::ParticleProcessor);
|
||||
I_Constructor0(____Program,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Program &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Program__C5_Program_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Program,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Program &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Program__C5_Program_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osgParticle/.svn/text-base/range.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/RadialShooter>
|
||||
#include <osgParticle/range>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -26,7 +26,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::RadialShooter)
|
||||
I_BaseType(osgParticle::Shooter);
|
||||
I_BaseType(osgParticle::Shooter);
|
||||
I_Constructor0(____RadialShooter,
|
||||
"",
|
||||
@@ -38,13 +37,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::RadialShooter)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -53,13 +52,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::RadialShooter)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method0(const osgParticle::rangef &, getThetaRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getThetaRange,
|
||||
@@ -121,315 +120,7 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::RadialShooter)
|
||||
"Set the range of possible values for initial rotational speed of particles. ",
|
||||
"");
|
||||
I_Method1(void, shoot, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__shoot__Particle_P1,
|
||||
"Shoot a particle. Do not call this method manually. ",
|
||||
"");
|
||||
I_Constructor0(____RadialShooter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::RadialShooter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____RadialShooter__C5_RadialShooter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getThetaRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getThetaRange,
|
||||
"Get the range of possible values for theta angle. ",
|
||||
"");
|
||||
I_Method1(void, setThetaRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setThetaRange__C5_rangef_R1,
|
||||
"Set the range of possible values for theta angle. ",
|
||||
"");
|
||||
I_Method2(void, setThetaRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setThetaRange__float__float,
|
||||
"Set the range of possible values for theta angle. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getPhiRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getPhiRange,
|
||||
"Get the range of possible values for phi angle. ",
|
||||
"");
|
||||
I_Method1(void, setPhiRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhiRange__C5_rangef_R1,
|
||||
"Set the range of possible values for phi angle. ",
|
||||
"");
|
||||
I_Method2(void, setPhiRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhiRange__float__float,
|
||||
"Set the range of possible values for phi angle. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getInitialSpeedRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getInitialSpeedRange,
|
||||
"Get the range of possible values for initial speed of particles. ",
|
||||
"");
|
||||
I_Method1(void, setInitialSpeedRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInitialSpeedRange__C5_rangef_R1,
|
||||
"Set the range of possible values for initial speed of particles. ",
|
||||
"");
|
||||
I_Method2(void, setInitialSpeedRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInitialSpeedRange__float__float,
|
||||
"Set the range of possible values for initial speed of particles. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangev3 &, getInitialRotationalSpeedRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangev3_R1__getInitialRotationalSpeedRange,
|
||||
"Get the range of possible values for initial rotational speed of particles. ",
|
||||
"");
|
||||
I_Method1(void, setInitialRotationalSpeedRange, IN, const osgParticle::rangev3 &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInitialRotationalSpeedRange__C5_rangev3_R1,
|
||||
"Set the range of possible values for initial rotational speed of particles. ",
|
||||
"");
|
||||
I_Method2(void, setInitialRotationalSpeedRange, IN, const osg::Vec3 &, r1, IN, const osg::Vec3 &, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInitialRotationalSpeedRange__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"Set the range of possible values for initial rotational speed of particles. ",
|
||||
"");
|
||||
I_Method1(void, shoot, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__shoot__Particle_P1,
|
||||
"Shoot a particle. Do not call this method manually. ",
|
||||
"");
|
||||
I_SimpleProperty(const osgParticle::rangev3 &, InitialRotationalSpeedRange,
|
||||
__C5_rangev3_R1__getInitialRotationalSpeedRange,
|
||||
__void__setInitialRotationalSpeedRange__C5_rangev3_R1);
|
||||
I_SimpleProperty(const osgParticle::rangef &, InitialSpeedRange,
|
||||
__C5_rangef_R1__getInitialSpeedRange,
|
||||
__void__setInitialSpeedRange__C5_rangef_R1);
|
||||
I_SimpleProperty(const osgParticle::rangef &, PhiRange,
|
||||
__C5_rangef_R1__getPhiRange,
|
||||
__void__setPhiRange__C5_rangef_R1);
|
||||
I_SimpleProperty(const osgParticle::rangef &, ThetaRange,
|
||||
__C5_rangef_R1__getThetaRange,
|
||||
__void__setThetaRange__C5_rangef_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::RadialShooter)
|
||||
I_BaseType(osgParticle::Shooter);
|
||||
I_BaseType(osgParticle::Shooter);
|
||||
I_Constructor0(____RadialShooter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::RadialShooter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____RadialShooter__C5_RadialShooter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getThetaRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getThetaRange,
|
||||
"Get the range of possible values for theta angle. ",
|
||||
"");
|
||||
I_Method1(void, setThetaRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setThetaRange__C5_rangef_R1,
|
||||
"Set the range of possible values for theta angle. ",
|
||||
"");
|
||||
I_Method2(void, setThetaRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setThetaRange__float__float,
|
||||
"Set the range of possible values for theta angle. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getPhiRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getPhiRange,
|
||||
"Get the range of possible values for phi angle. ",
|
||||
"");
|
||||
I_Method1(void, setPhiRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhiRange__C5_rangef_R1,
|
||||
"Set the range of possible values for phi angle. ",
|
||||
"");
|
||||
I_Method2(void, setPhiRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhiRange__float__float,
|
||||
"Set the range of possible values for phi angle. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getInitialSpeedRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getInitialSpeedRange,
|
||||
"Get the range of possible values for initial speed of particles. ",
|
||||
"");
|
||||
I_Method1(void, setInitialSpeedRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInitialSpeedRange__C5_rangef_R1,
|
||||
"Set the range of possible values for initial speed of particles. ",
|
||||
"");
|
||||
I_Method2(void, setInitialSpeedRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInitialSpeedRange__float__float,
|
||||
"Set the range of possible values for initial speed of particles. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangev3 &, getInitialRotationalSpeedRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangev3_R1__getInitialRotationalSpeedRange,
|
||||
"Get the range of possible values for initial rotational speed of particles. ",
|
||||
"");
|
||||
I_Method1(void, setInitialRotationalSpeedRange, IN, const osgParticle::rangev3 &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInitialRotationalSpeedRange__C5_rangev3_R1,
|
||||
"Set the range of possible values for initial rotational speed of particles. ",
|
||||
"");
|
||||
I_Method2(void, setInitialRotationalSpeedRange, IN, const osg::Vec3 &, r1, IN, const osg::Vec3 &, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInitialRotationalSpeedRange__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"Set the range of possible values for initial rotational speed of particles. ",
|
||||
"");
|
||||
I_Method1(void, shoot, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__shoot__Particle_P1,
|
||||
"Shoot a particle. Do not call this method manually. ",
|
||||
"");
|
||||
I_Constructor0(____RadialShooter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::RadialShooter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____RadialShooter__C5_RadialShooter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getThetaRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getThetaRange,
|
||||
"Get the range of possible values for theta angle. ",
|
||||
"");
|
||||
I_Method1(void, setThetaRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setThetaRange__C5_rangef_R1,
|
||||
"Set the range of possible values for theta angle. ",
|
||||
"");
|
||||
I_Method2(void, setThetaRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setThetaRange__float__float,
|
||||
"Set the range of possible values for theta angle. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getPhiRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getPhiRange,
|
||||
"Get the range of possible values for phi angle. ",
|
||||
"");
|
||||
I_Method1(void, setPhiRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhiRange__C5_rangef_R1,
|
||||
"Set the range of possible values for phi angle. ",
|
||||
"");
|
||||
I_Method2(void, setPhiRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhiRange__float__float,
|
||||
"Set the range of possible values for phi angle. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getInitialSpeedRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getInitialSpeedRange,
|
||||
"Get the range of possible values for initial speed of particles. ",
|
||||
"");
|
||||
I_Method1(void, setInitialSpeedRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInitialSpeedRange__C5_rangef_R1,
|
||||
"Set the range of possible values for initial speed of particles. ",
|
||||
"");
|
||||
I_Method2(void, setInitialSpeedRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInitialSpeedRange__float__float,
|
||||
"Set the range of possible values for initial speed of particles. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangev3 &, getInitialRotationalSpeedRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangev3_R1__getInitialRotationalSpeedRange,
|
||||
"Get the range of possible values for initial rotational speed of particles. ",
|
||||
"");
|
||||
I_Method1(void, setInitialRotationalSpeedRange, IN, const osgParticle::rangev3 &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInitialRotationalSpeedRange__C5_rangev3_R1,
|
||||
"Set the range of possible values for initial rotational speed of particles. ",
|
||||
"");
|
||||
I_Method2(void, setInitialRotationalSpeedRange, IN, const osg::Vec3 &, r1, IN, const osg::Vec3 &, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInitialRotationalSpeedRange__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"Set the range of possible values for initial rotational speed of particles. ",
|
||||
"");
|
||||
I_Method1(void, shoot, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__shoot__Particle_P1,
|
||||
"Shoot a particle. Do not call this method manually. ",
|
||||
"");
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osgParticle/RandomRateCounter>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -23,7 +23,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::RandomRateCounter)
|
||||
I_BaseType(osgParticle::VariableRateCounter);
|
||||
I_BaseType(osgParticle::VariableRateCounter);
|
||||
I_Constructor0(____RandomRateCounter,
|
||||
"",
|
||||
@@ -35,13 +34,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::RandomRateCounter)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -50,131 +49,15 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::RandomRateCounter)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(int, numParticlesToCreate, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__numParticlesToCreate__double,
|
||||
"Return the number of particles to be created in this frame. ",
|
||||
"");
|
||||
I_Constructor0(____RandomRateCounter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::RandomRateCounter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____RandomRateCounter__C5_RandomRateCounter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, numParticlesToCreate, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__numParticlesToCreate__double,
|
||||
"Return the number of particles to be created in this frame. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::RandomRateCounter)
|
||||
I_BaseType(osgParticle::VariableRateCounter);
|
||||
I_BaseType(osgParticle::VariableRateCounter);
|
||||
I_Constructor0(____RandomRateCounter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::RandomRateCounter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____RandomRateCounter__C5_RandomRateCounter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, numParticlesToCreate, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__numParticlesToCreate__double,
|
||||
"Return the number of particles to be created in this frame. ",
|
||||
"");
|
||||
I_Constructor0(____RandomRateCounter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::RandomRateCounter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____RandomRateCounter__C5_RandomRateCounter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, numParticlesToCreate, IN, double, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__numParticlesToCreate__double,
|
||||
"Return the number of particles to be created in this frame. ",
|
||||
"");
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osgParticle/.svn/text-base/range.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/SectorPlacer>
|
||||
#include <osgParticle/range>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -26,7 +26,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::SectorPlacer)
|
||||
I_BaseType(osgParticle::CenteredPlacer);
|
||||
I_BaseType(osgParticle::CenteredPlacer);
|
||||
I_Constructor0(____SectorPlacer,
|
||||
"",
|
||||
@@ -68,13 +67,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::SectorPlacer)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -83,250 +82,20 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::SectorPlacer)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. Do not call it manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
I_Constructor0(____SectorPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::SectorPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SectorPlacer__C5_SectorPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getRadiusRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getRadiusRange,
|
||||
"Get the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method1(void, setRadiusRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadiusRange__C5_rangef_R1,
|
||||
"Set the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method2(void, setRadiusRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadiusRange__float__float,
|
||||
"Set the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getPhiRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getPhiRange,
|
||||
"Get the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method1(void, setPhiRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhiRange__C5_rangef_R1,
|
||||
"Set the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method2(void, setPhiRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhiRange__float__float,
|
||||
"Set the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. Do not call it manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
I_SimpleProperty(osg::Vec3, ControlPosition,
|
||||
__osg_Vec3__getControlPosition,
|
||||
0);
|
||||
I_SimpleProperty(const osgParticle::rangef &, PhiRange,
|
||||
__C5_rangef_R1__getPhiRange,
|
||||
__void__setPhiRange__C5_rangef_R1);
|
||||
I_SimpleProperty(const osgParticle::rangef &, RadiusRange,
|
||||
__C5_rangef_R1__getRadiusRange,
|
||||
__void__setRadiusRange__C5_rangef_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::SectorPlacer)
|
||||
I_BaseType(osgParticle::CenteredPlacer);
|
||||
I_BaseType(osgParticle::CenteredPlacer);
|
||||
I_Constructor0(____SectorPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::SectorPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SectorPlacer__C5_SectorPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getRadiusRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getRadiusRange,
|
||||
"Get the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method1(void, setRadiusRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadiusRange__C5_rangef_R1,
|
||||
"Set the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method2(void, setRadiusRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadiusRange__float__float,
|
||||
"Set the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getPhiRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getPhiRange,
|
||||
"Get the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method1(void, setPhiRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhiRange__C5_rangef_R1,
|
||||
"Set the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method2(void, setPhiRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhiRange__float__float,
|
||||
"Set the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. Do not call it manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
I_Constructor0(____SectorPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::SectorPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SectorPlacer__C5_SectorPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getRadiusRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getRadiusRange,
|
||||
"Get the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method1(void, setRadiusRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadiusRange__C5_rangef_R1,
|
||||
"Set the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method2(void, setRadiusRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadiusRange__float__float,
|
||||
"Set the range of possible values for radius. ",
|
||||
"");
|
||||
I_Method0(const osgParticle::rangef &, getPhiRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_rangef_R1__getPhiRange,
|
||||
"Get the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method1(void, setPhiRange, IN, const osgParticle::rangef &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhiRange__C5_rangef_R1,
|
||||
"Set the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method2(void, setPhiRange, IN, float, r1, IN, float, r2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhiRange__float__float,
|
||||
"Set the range of possible values for the central angle. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. Do not call it manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/SegmentPlacer>
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::SegmentPlacer)
|
||||
I_BaseType(osgParticle::Placer);
|
||||
I_BaseType(osgParticle::Placer);
|
||||
I_Constructor0(____SegmentPlacer,
|
||||
"",
|
||||
@@ -37,13 +36,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::SegmentPlacer)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -52,13 +51,13 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::SegmentPlacer)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method0(const osg::Vec3 &, getVertexA,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getVertexA,
|
||||
@@ -95,257 +94,12 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::SegmentPlacer)
|
||||
"Set both vertices. ",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. This method is called by ModularEmitter, do not call it manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
I_Constructor0(____SegmentPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::SegmentPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SegmentPlacer__C5_SegmentPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getVertexA,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getVertexA,
|
||||
"get vertex A. ",
|
||||
"");
|
||||
I_Method1(void, setVertexA, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexA__C5_osg_Vec3_R1,
|
||||
"Set vertex A of the segment as a vector. ",
|
||||
"");
|
||||
I_Method3(void, setVertexA, IN, float, x, IN, float, y, IN, float, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexA__float__float__float,
|
||||
"Set vertex A of the segment as three floats. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getVertexB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getVertexB,
|
||||
"get vertex B. ",
|
||||
"");
|
||||
I_Method1(void, setVertexB, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexB__C5_osg_Vec3_R1,
|
||||
"Set vertex B of the segment as a vector. ",
|
||||
"");
|
||||
I_Method3(void, setVertexB, IN, float, x, IN, float, y, IN, float, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexB__float__float__float,
|
||||
"Set vertex B of the segment as three floats. ",
|
||||
"");
|
||||
I_Method2(void, setSegment, IN, const osg::Vec3 &, A, IN, const osg::Vec3 &, B,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSegment__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"Set both vertices. ",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. This method is called by ModularEmitter, do not call it manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
I_SimpleProperty(osg::Vec3, ControlPosition,
|
||||
__osg_Vec3__getControlPosition,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec3 &, VertexA,
|
||||
__C5_osg_Vec3_R1__getVertexA,
|
||||
__void__setVertexA__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, VertexB,
|
||||
__C5_osg_Vec3_R1__getVertexB,
|
||||
__void__setVertexB__C5_osg_Vec3_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::SegmentPlacer)
|
||||
I_BaseType(osgParticle::Placer);
|
||||
I_BaseType(osgParticle::Placer);
|
||||
I_Constructor0(____SegmentPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::SegmentPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SegmentPlacer__C5_SegmentPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getVertexA,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getVertexA,
|
||||
"get vertex A. ",
|
||||
"");
|
||||
I_Method1(void, setVertexA, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexA__C5_osg_Vec3_R1,
|
||||
"Set vertex A of the segment as a vector. ",
|
||||
"");
|
||||
I_Method3(void, setVertexA, IN, float, x, IN, float, y, IN, float, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexA__float__float__float,
|
||||
"Set vertex A of the segment as three floats. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getVertexB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getVertexB,
|
||||
"get vertex B. ",
|
||||
"");
|
||||
I_Method1(void, setVertexB, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexB__C5_osg_Vec3_R1,
|
||||
"Set vertex B of the segment as a vector. ",
|
||||
"");
|
||||
I_Method3(void, setVertexB, IN, float, x, IN, float, y, IN, float, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexB__float__float__float,
|
||||
"Set vertex B of the segment as three floats. ",
|
||||
"");
|
||||
I_Method2(void, setSegment, IN, const osg::Vec3 &, A, IN, const osg::Vec3 &, B,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSegment__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"Set both vertices. ",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. This method is called by ModularEmitter, do not call it manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
I_Constructor0(____SegmentPlacer,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::SegmentPlacer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SegmentPlacer__C5_SegmentPlacer_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getVertexA,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getVertexA,
|
||||
"get vertex A. ",
|
||||
"");
|
||||
I_Method1(void, setVertexA, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexA__C5_osg_Vec3_R1,
|
||||
"Set vertex A of the segment as a vector. ",
|
||||
"");
|
||||
I_Method3(void, setVertexA, IN, float, x, IN, float, y, IN, float, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexA__float__float__float,
|
||||
"Set vertex A of the segment as three floats. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getVertexB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getVertexB,
|
||||
"get vertex B. ",
|
||||
"");
|
||||
I_Method1(void, setVertexB, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexB__C5_osg_Vec3_R1,
|
||||
"Set vertex B of the segment as a vector. ",
|
||||
"");
|
||||
I_Method3(void, setVertexB, IN, float, x, IN, float, y, IN, float, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexB__float__float__float,
|
||||
"Set vertex B of the segment as three floats. ",
|
||||
"");
|
||||
I_Method2(void, setSegment, IN, const osg::Vec3 &, A, IN, const osg::Vec3 &, B,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSegment__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"Set both vertices. ",
|
||||
"");
|
||||
I_Method1(void, place, IN, osgParticle::Particle *, P,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__place__Particle_P1,
|
||||
"Place a particle. This method is called by ModularEmitter, do not call it manually. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getControlPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3__getControlPosition,
|
||||
"return the control position ",
|
||||
"");
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osgParticle/Particle>
|
||||
#include <osgParticle/Shooter>
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Shooter)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____Shooter,
|
||||
"",
|
||||
@@ -36,99 +35,13 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Shooter)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, shoot, IN, osgParticle::Particle *, P,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__shoot__Particle_P1,
|
||||
"Shoot a particle. ",
|
||||
"Must be overriden by descendants. This method should only set the velocity vector of particle P, leaving other attributes unchanged.");
|
||||
I_Constructor0(____Shooter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Shooter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Shooter__C5_Shooter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, shoot, IN, osgParticle::Particle *, P,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__shoot__Particle_P1,
|
||||
"Shoot a particle. ",
|
||||
"Must be overriden by descendants. This method should only set the velocity vector of particle P, leaving other attributes unchanged.");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgParticle::Shooter)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____Shooter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Shooter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Shooter__C5_Shooter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, shoot, IN, osgParticle::Particle *, P,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__shoot__Particle_P1,
|
||||
"Shoot a particle. ",
|
||||
"Must be overriden by descendants. This method should only set the velocity vector of particle P, leaving other attributes unchanged.");
|
||||
I_Constructor0(____Shooter,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::Shooter &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Shooter__C5_Shooter_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgParticle/Emitter>
|
||||
#include <osgParticle/Program>
|
||||
#include <osgParticle/SmokeEffect>
|
||||
@@ -27,7 +27,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::SmokeEffect)
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
@@ -45,262 +44,32 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::SmokeEffect)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__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,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____SmokeEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f,
|
||||
____SmokeEffect__C5_osg_Vec3_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::SmokeEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SmokeEffect__C5_SmokeEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgParticle::Emitter *, Emitter,
|
||||
__Emitter_P1__getEmitter,
|
||||
0);
|
||||
I_SimpleProperty(osgParticle::Program *, Program,
|
||||
__Program_P1__getProgram,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgParticle::SmokeEffect)
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_BaseType(osgParticle::ParticleEffect);
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____SmokeEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f,
|
||||
____SmokeEffect__C5_osg_Vec3_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::SmokeEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SmokeEffect__C5_SmokeEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setUpEmitterAndProgram,
|
||||
Properties::VIRTUAL,
|
||||
__void__setUpEmitterAndProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Emitter *, getEmitter,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Emitter_P1__getEmitter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgParticle::Program *, getProgram,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Program_P1__getProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, bool, automaticSetup, true,
|
||||
Properties::EXPLICIT,
|
||||
____SmokeEffect__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, const osg::Vec3 &, position, , IN, float, scale, 1.0f, IN, float, intensity, 1.0f,
|
||||
____SmokeEffect__C5_osg_Vec3_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgParticle::SmokeEffect &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SmokeEffect__C5_SmokeEffect_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
Properties::VIRTUAL,
|
||||
|
||||
Reference in New Issue
Block a user