Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
and osgProducer to osgWrappers directory.
Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors. I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 18:17:56 +08:00
|
|
|
// ***************************************************************************
|
|
|
|
//
|
|
|
|
// Generated automatically by genwrapper.
|
|
|
|
// Please DO NOT EDIT this file!
|
|
|
|
//
|
|
|
|
// ***************************************************************************
|
|
|
|
|
|
|
|
#include <osgIntrospection/ReflectionMacros>
|
|
|
|
#include <osgIntrospection/TypedMethodInfo>
|
2006-09-01 21:34:05 +08:00
|
|
|
#include <osgIntrospection/StaticMethodInfo>
|
Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
and osgProducer to osgWrappers directory.
Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors. I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 18:17:56 +08:00
|
|
|
#include <osgIntrospection/Attributes>
|
|
|
|
|
2007-02-16 23:29:47 +08:00
|
|
|
#include <osg/.svn/text-base/CopyOp.svn-base>
|
|
|
|
#include <osg/.svn/text-base/Object.svn-base>
|
|
|
|
#include <osg/.svn/text-base/Vec3.svn-base>
|
Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
and osgProducer to osgWrappers directory.
Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors. I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 18:17:56 +08:00
|
|
|
#include <osgParticle/FluidFrictionOperator>
|
|
|
|
#include <osgParticle/Particle>
|
|
|
|
#include <osgParticle/Program>
|
|
|
|
|
2005-05-16 17:41:10 +08:00
|
|
|
// Must undefine IN and OUT macros defined in Windows headers
|
|
|
|
#ifdef IN
|
|
|
|
#undef IN
|
|
|
|
#endif
|
|
|
|
#ifdef OUT
|
|
|
|
#undef OUT
|
|
|
|
#endif
|
|
|
|
|
2007-02-14 19:24:42 +08:00
|
|
|
BEGIN_OBJECT_REFLECTOR(osgParticle::FluidFrictionOperator)
|
2007-02-16 23:29:47 +08:00
|
|
|
I_BaseType(osgParticle::Operator);
|
2005-05-16 17:41:10 +08:00
|
|
|
I_BaseType(osgParticle::Operator);
|
2006-10-24 17:45:50 +08:00
|
|
|
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,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__osg_Object_P1__cloneType,
|
2007-02-16 23:29:47 +08:00
|
|
|
"",
|
|
|
|
"");
|
2006-10-24 17:45:50 +08:00
|
|
|
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
2007-02-16 23:29:47 +08:00
|
|
|
"",
|
|
|
|
"");
|
2006-10-24 17:45:50 +08:00
|
|
|
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__bool__isSameKindAs__C5_osg_Object_P1,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_Method0(const char *, libraryName,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__C5_char_P1__libraryName,
|
2007-02-16 23:29:47 +08:00
|
|
|
"",
|
|
|
|
"");
|
2006-10-24 17:45:50 +08:00
|
|
|
I_Method0(const char *, className,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__C5_char_P1__className,
|
2007-02-16 23:29:47 +08:00
|
|
|
"",
|
|
|
|
"");
|
2006-10-24 17:45:50 +08:00
|
|
|
I_Method1(void, setFluidDensity, IN, float, d,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__void__setFluidDensity__float,
|
|
|
|
"Set the density of the fluid. ",
|
|
|
|
"");
|
|
|
|
I_Method0(float, getFluidDensity,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__float__getFluidDensity,
|
|
|
|
"Get the density of the fluid. ",
|
|
|
|
"");
|
|
|
|
I_Method1(void, setFluidViscosity, IN, float, v,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__void__setFluidViscosity__float,
|
|
|
|
"Set the viscosity of the fluid. ",
|
|
|
|
"");
|
|
|
|
I_Method0(float, getFluidViscosity,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__float__getFluidViscosity,
|
|
|
|
"Get the viscosity of the fluid. ",
|
|
|
|
"");
|
|
|
|
I_Method1(void, setWind, IN, const osg::Vec3 &, wind,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__void__setWind__C5_osg_Vec3_R1,
|
|
|
|
"Set the wind vector. ",
|
|
|
|
"");
|
|
|
|
I_Method0(const osg::Vec3 &, getWind,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__C5_osg_Vec3_R1__getWind,
|
|
|
|
"Get the wind vector. ",
|
|
|
|
"");
|
|
|
|
I_Method1(void, setOverrideRadius, IN, float, r,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__void__setOverrideRadius__float,
|
|
|
|
"Set the overriden radius value (pass 0 if you want to use particle's radius). ",
|
|
|
|
"");
|
|
|
|
I_Method0(float, getOverrideRadius,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__float__getOverrideRadius,
|
|
|
|
"Get the overriden radius value. ",
|
|
|
|
"");
|
|
|
|
I_Method0(void, setFluidToAir,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__void__setFluidToAir,
|
|
|
|
"Set the fluid parameters as for air (20°C temperature). ",
|
|
|
|
"");
|
|
|
|
I_Method0(void, setFluidToWater,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__void__setFluidToWater,
|
|
|
|
"Set the fluid parameters as for pure water (20°C temperature). ",
|
|
|
|
"");
|
|
|
|
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
|
2007-02-16 23:29:47 +08:00
|
|
|
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. ",
|
|
|
|
"");
|
|
|
|
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,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::VIRTUAL,
|
2007-02-16 23:29:47 +08:00
|
|
|
__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,
|
2006-10-24 17:45:50 +08:00
|
|
|
__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,
|
2007-02-16 23:29:47 +08:00
|
|
|
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,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::VIRTUAL,
|
2007-02-16 23:29:47 +08:00
|
|
|
__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,
|
2006-10-24 17:45:50 +08:00
|
|
|
__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);
|
Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
and osgProducer to osgWrappers directory.
Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors. I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 18:17:56 +08:00
|
|
|
END_REFLECTOR
|
|
|
|
|