435 lines
16 KiB
C++
435 lines
16 KiB
C++
// ***************************************************************************
|
|
//
|
|
// Generated automatically by genwrapper.
|
|
// Please DO NOT EDIT this file!
|
|
//
|
|
// ***************************************************************************
|
|
|
|
#include <osgIntrospection/ReflectionMacros>
|
|
#include <osgIntrospection/TypedMethodInfo>
|
|
#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 <osgParticle/FluidProgram>
|
|
|
|
// Must undefine IN and OUT macros defined in Windows headers
|
|
#ifdef IN
|
|
#undef IN
|
|
#endif
|
|
#ifdef OUT
|
|
#undef OUT
|
|
#endif
|
|
|
|
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,
|
|
"",
|
|
"");
|
|
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,
|
|
"",
|
|
"");
|
|
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
|
|
|