OpenSceneGraph/src/osgWrappers/osgParticle/ForceOperator.cpp

88 lines
3.3 KiB
C++
Raw Normal View History

// ***************************************************************************
//
// 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>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/Vec3>
#include <osgParticle/ForceOperator>
#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
BEGIN_OBJECT_REFLECTOR(osgParticle::ForceOperator)
2007-06-08 18:42:52 +08:00
I_DeclaringFile("osgParticle/ForceOperator");
2005-05-16 17:41:10 +08:00
I_BaseType(osgParticle::Operator);
2006-10-24 17:45:50 +08:00
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,
2007-02-13 02:02:15 +08:00
Properties::VIRTUAL,
2006-10-24 17:45:50 +08:00
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
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,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
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,
"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. ");
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,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
2006-10-24 17:45:50 +08:00
I_Method0(const osg::Vec3 &, getForce,
2007-02-13 02:02:15 +08:00
Properties::NON_VIRTUAL,
2006-10-24 17:45:50 +08:00
__C5_osg_Vec3_R1__getForce,
"Get the force vector. ",
"");
I_Method1(void, setForce, IN, const osg::Vec3 &, f,
2007-02-13 02:02:15 +08:00
Properties::NON_VIRTUAL,
2006-10-24 17:45:50 +08:00
__void__setForce__C5_osg_Vec3_R1,
"Set the force vector. ",
"");
I_Method2(void, operate, IN, osgParticle::Particle *, P, IN, double, dt,
2007-02-13 02:02:15 +08:00
Properties::VIRTUAL,
2006-10-24 17:45:50 +08:00
__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,
2007-02-13 02:02:15 +08:00
Properties::VIRTUAL,
2006-10-24 17:45:50 +08:00
__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