From 321a404f0506a74492d7d934db308c53f0547317 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 17 Aug 2009 15:24:15 +0000 Subject: [PATCH] Updated wrappers --- src/osgWrappers/osgAnimation/Channel.cpp | 661 +++++++++++++++++- src/osgWrappers/osgAnimation/Interpolator.cpp | 105 +++ src/osgWrappers/osgAnimation/Sampler.cpp | 402 +++++++++++ 3 files changed, 1167 insertions(+), 1 deletion(-) diff --git a/src/osgWrappers/osgAnimation/Channel.cpp b/src/osgWrappers/osgAnimation/Channel.cpp index e39e00c8f..a5b4122f9 100644 --- a/src/osgWrappers/osgAnimation/Channel.cpp +++ b/src/osgWrappers/osgAnimation/Channel.cpp @@ -53,6 +53,11 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::Channel) __Target_P1__getTarget, "", ""); + I_Method1(bool, setTarget, IN, osgAnimation::Target *, x, + Properties::PURE_VIRTUAL, + __bool__setTarget__Target_P1, + "", + ""); I_Method0(const std::string &, getName, Properties::NON_VIRTUAL, __C5_std_string_R1__getName, @@ -117,7 +122,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::Channel) 0); I_SimpleProperty(osgAnimation::Target *, Target, __Target_P1__getTarget, - 0); + __bool__setTarget__Target_P1); I_SimpleProperty(const std::string &, TargetName, __C5_std_string_R1__getTargetName, __void__setTargetName__C5_std_string_R1); @@ -128,6 +133,18 @@ END_REFLECTOR TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgAnimation::Channel > >, osgAnimation::ChannelList) +TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::DoubleStepSampler >, osgAnimation::DoubleStepChannel) + +TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::FloatStepSampler >, osgAnimation::FloatStepChannel) + +TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::Vec2StepSampler >, osgAnimation::Vec2StepChannel) + +TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::Vec3StepSampler >, osgAnimation::Vec3StepChannel) + +TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::Vec4StepSampler >, osgAnimation::Vec4StepChannel) + +TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::QuatStepSampler >, osgAnimation::QuatStepChannel) + TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::DoubleLinearSampler >, osgAnimation::DoubleLinearChannel) TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::FloatLinearSampler >, osgAnimation::FloatLinearChannel) @@ -190,5 +207,647 @@ BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::Channel >) 0); END_REFLECTOR +BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateChannel< osgAnimation::DoubleStepSampler >) + I_DeclaringFile("osgAnimation/Channel"); + I_BaseType(osgAnimation::Channel); + I_Method0(osgAnimation::Channel *, clone, + Properties::VIRTUAL, + __Channel_P1__clone, + "", + ""); + I_Constructor1(IN, const osgAnimation::TemplateChannel< osgAnimation::DoubleStepSampler > &, channel, + Properties::NON_EXPLICIT, + ____TemplateChannel__C5_TemplateChannel_R1, + "", + ""); + I_ConstructorWithDefaults2(IN, SamplerType *, s, 0, IN, osgAnimation::TemplateChannel< osgAnimation::DoubleStepSampler >::TargetType *, target, 0, + ____TemplateChannel__SamplerType_P1__TargetType_P1, + "", + ""); + I_Method1(void, update, IN, float, time, + Properties::VIRTUAL, + __void__update__float, + "", + ""); + I_Method0(void, reset, + Properties::VIRTUAL, + __void__reset, + "", + ""); + I_Method0(osgAnimation::Target *, getTarget, + Properties::VIRTUAL, + __Target_P1__getTarget, + "", + ""); + I_Method1(bool, setTarget, IN, osgAnimation::Target *, target, + Properties::VIRTUAL, + __bool__setTarget__Target_P1, + "", + ""); + I_Method0(SamplerType *, getOrCreateSampler, + Properties::NON_VIRTUAL, + __SamplerType_P1__getOrCreateSampler, + "", + ""); + I_Method0(osgAnimation::Sampler *, getSampler, + Properties::VIRTUAL, + __Sampler_P1__getSampler, + "", + ""); + I_Method0(const osgAnimation::Sampler *, getSampler, + Properties::VIRTUAL, + __C5_Sampler_P1__getSampler, + "", + ""); + I_Method0(SamplerType *, getSamplerTyped, + Properties::NON_VIRTUAL, + __SamplerType_P1__getSamplerTyped, + "", + ""); + I_Method0(const SamplerType *, getSamplerTyped, + Properties::NON_VIRTUAL, + __C5_SamplerType_P1__getSamplerTyped, + "", + ""); + I_Method1(void, setSampler, IN, SamplerType *, sampler, + Properties::NON_VIRTUAL, + __void__setSampler__SamplerType_P1, + "", + ""); + I_Method0(osgAnimation::TemplateChannel< osgAnimation::DoubleStepSampler >::TargetType *, getTargetTyped, + Properties::NON_VIRTUAL, + __TargetType_P1__getTargetTyped, + "", + ""); + I_Method1(void, setTarget, IN, osgAnimation::TemplateChannel< osgAnimation::DoubleStepSampler >::TargetType *, target, + Properties::NON_VIRTUAL, + __void__setTarget__TargetType_P1, + "", + ""); + I_Method0(float, getStartTime, + Properties::VIRTUAL, + __float__getStartTime, + "", + ""); + I_Method0(float, getEndTime, + Properties::VIRTUAL, + __float__getEndTime, + "", + ""); + I_SimpleProperty(float, EndTime, + __float__getEndTime, + 0); + I_SimpleProperty(SamplerType *, Sampler, + 0, + __void__setSampler__SamplerType_P1); + I_SimpleProperty(SamplerType *, SamplerTyped, + __SamplerType_P1__getSamplerTyped, + 0); + I_SimpleProperty(float, StartTime, + __float__getStartTime, + 0); + I_SimpleProperty(osgAnimation::Target *, Target, + __Target_P1__getTarget, + __bool__setTarget__Target_P1); + I_SimpleProperty(osgAnimation::TemplateChannel< osgAnimation::DoubleStepSampler >::TargetType *, TargetTyped, + __TargetType_P1__getTargetTyped, + 0); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateChannel< osgAnimation::FloatStepSampler >) + I_DeclaringFile("osgAnimation/Channel"); + I_BaseType(osgAnimation::Channel); + I_Method0(osgAnimation::Channel *, clone, + Properties::VIRTUAL, + __Channel_P1__clone, + "", + ""); + I_Constructor1(IN, const osgAnimation::TemplateChannel< osgAnimation::FloatStepSampler > &, channel, + Properties::NON_EXPLICIT, + ____TemplateChannel__C5_TemplateChannel_R1, + "", + ""); + I_ConstructorWithDefaults2(IN, SamplerType *, s, 0, IN, osgAnimation::TemplateChannel< osgAnimation::FloatStepSampler >::TargetType *, target, 0, + ____TemplateChannel__SamplerType_P1__TargetType_P1, + "", + ""); + I_Method1(void, update, IN, float, time, + Properties::VIRTUAL, + __void__update__float, + "", + ""); + I_Method0(void, reset, + Properties::VIRTUAL, + __void__reset, + "", + ""); + I_Method0(osgAnimation::Target *, getTarget, + Properties::VIRTUAL, + __Target_P1__getTarget, + "", + ""); + I_Method1(bool, setTarget, IN, osgAnimation::Target *, target, + Properties::VIRTUAL, + __bool__setTarget__Target_P1, + "", + ""); + I_Method0(SamplerType *, getOrCreateSampler, + Properties::NON_VIRTUAL, + __SamplerType_P1__getOrCreateSampler, + "", + ""); + I_Method0(osgAnimation::Sampler *, getSampler, + Properties::VIRTUAL, + __Sampler_P1__getSampler, + "", + ""); + I_Method0(const osgAnimation::Sampler *, getSampler, + Properties::VIRTUAL, + __C5_Sampler_P1__getSampler, + "", + ""); + I_Method0(SamplerType *, getSamplerTyped, + Properties::NON_VIRTUAL, + __SamplerType_P1__getSamplerTyped, + "", + ""); + I_Method0(const SamplerType *, getSamplerTyped, + Properties::NON_VIRTUAL, + __C5_SamplerType_P1__getSamplerTyped, + "", + ""); + I_Method1(void, setSampler, IN, SamplerType *, sampler, + Properties::NON_VIRTUAL, + __void__setSampler__SamplerType_P1, + "", + ""); + I_Method0(osgAnimation::TemplateChannel< osgAnimation::FloatStepSampler >::TargetType *, getTargetTyped, + Properties::NON_VIRTUAL, + __TargetType_P1__getTargetTyped, + "", + ""); + I_Method1(void, setTarget, IN, osgAnimation::TemplateChannel< osgAnimation::FloatStepSampler >::TargetType *, target, + Properties::NON_VIRTUAL, + __void__setTarget__TargetType_P1, + "", + ""); + I_Method0(float, getStartTime, + Properties::VIRTUAL, + __float__getStartTime, + "", + ""); + I_Method0(float, getEndTime, + Properties::VIRTUAL, + __float__getEndTime, + "", + ""); + I_SimpleProperty(float, EndTime, + __float__getEndTime, + 0); + I_SimpleProperty(SamplerType *, Sampler, + 0, + __void__setSampler__SamplerType_P1); + I_SimpleProperty(SamplerType *, SamplerTyped, + __SamplerType_P1__getSamplerTyped, + 0); + I_SimpleProperty(float, StartTime, + __float__getStartTime, + 0); + I_SimpleProperty(osgAnimation::Target *, Target, + __Target_P1__getTarget, + __bool__setTarget__Target_P1); + I_SimpleProperty(osgAnimation::TemplateChannel< osgAnimation::FloatStepSampler >::TargetType *, TargetTyped, + __TargetType_P1__getTargetTyped, + 0); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateChannel< osgAnimation::QuatStepSampler >) + I_DeclaringFile("osgAnimation/Channel"); + I_BaseType(osgAnimation::Channel); + I_Method0(osgAnimation::Channel *, clone, + Properties::VIRTUAL, + __Channel_P1__clone, + "", + ""); + I_Constructor1(IN, const osgAnimation::TemplateChannel< osgAnimation::QuatStepSampler > &, channel, + Properties::NON_EXPLICIT, + ____TemplateChannel__C5_TemplateChannel_R1, + "", + ""); + I_ConstructorWithDefaults2(IN, SamplerType *, s, 0, IN, osgAnimation::TemplateChannel< osgAnimation::QuatStepSampler >::TargetType *, target, 0, + ____TemplateChannel__SamplerType_P1__TargetType_P1, + "", + ""); + I_Method1(void, update, IN, float, time, + Properties::VIRTUAL, + __void__update__float, + "", + ""); + I_Method0(void, reset, + Properties::VIRTUAL, + __void__reset, + "", + ""); + I_Method0(osgAnimation::Target *, getTarget, + Properties::VIRTUAL, + __Target_P1__getTarget, + "", + ""); + I_Method1(bool, setTarget, IN, osgAnimation::Target *, target, + Properties::VIRTUAL, + __bool__setTarget__Target_P1, + "", + ""); + I_Method0(SamplerType *, getOrCreateSampler, + Properties::NON_VIRTUAL, + __SamplerType_P1__getOrCreateSampler, + "", + ""); + I_Method0(osgAnimation::Sampler *, getSampler, + Properties::VIRTUAL, + __Sampler_P1__getSampler, + "", + ""); + I_Method0(const osgAnimation::Sampler *, getSampler, + Properties::VIRTUAL, + __C5_Sampler_P1__getSampler, + "", + ""); + I_Method0(SamplerType *, getSamplerTyped, + Properties::NON_VIRTUAL, + __SamplerType_P1__getSamplerTyped, + "", + ""); + I_Method0(const SamplerType *, getSamplerTyped, + Properties::NON_VIRTUAL, + __C5_SamplerType_P1__getSamplerTyped, + "", + ""); + I_Method1(void, setSampler, IN, SamplerType *, sampler, + Properties::NON_VIRTUAL, + __void__setSampler__SamplerType_P1, + "", + ""); + I_Method0(osgAnimation::TemplateChannel< osgAnimation::QuatStepSampler >::TargetType *, getTargetTyped, + Properties::NON_VIRTUAL, + __TargetType_P1__getTargetTyped, + "", + ""); + I_Method1(void, setTarget, IN, osgAnimation::TemplateChannel< osgAnimation::QuatStepSampler >::TargetType *, target, + Properties::NON_VIRTUAL, + __void__setTarget__TargetType_P1, + "", + ""); + I_Method0(float, getStartTime, + Properties::VIRTUAL, + __float__getStartTime, + "", + ""); + I_Method0(float, getEndTime, + Properties::VIRTUAL, + __float__getEndTime, + "", + ""); + I_SimpleProperty(float, EndTime, + __float__getEndTime, + 0); + I_SimpleProperty(SamplerType *, Sampler, + 0, + __void__setSampler__SamplerType_P1); + I_SimpleProperty(SamplerType *, SamplerTyped, + __SamplerType_P1__getSamplerTyped, + 0); + I_SimpleProperty(float, StartTime, + __float__getStartTime, + 0); + I_SimpleProperty(osgAnimation::Target *, Target, + __Target_P1__getTarget, + __bool__setTarget__Target_P1); + I_SimpleProperty(osgAnimation::TemplateChannel< osgAnimation::QuatStepSampler >::TargetType *, TargetTyped, + __TargetType_P1__getTargetTyped, + 0); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateChannel< osgAnimation::Vec2StepSampler >) + I_DeclaringFile("osgAnimation/Channel"); + I_BaseType(osgAnimation::Channel); + I_Method0(osgAnimation::Channel *, clone, + Properties::VIRTUAL, + __Channel_P1__clone, + "", + ""); + I_Constructor1(IN, const osgAnimation::TemplateChannel< osgAnimation::Vec2StepSampler > &, channel, + Properties::NON_EXPLICIT, + ____TemplateChannel__C5_TemplateChannel_R1, + "", + ""); + I_ConstructorWithDefaults2(IN, SamplerType *, s, 0, IN, osgAnimation::TemplateChannel< osgAnimation::Vec2StepSampler >::TargetType *, target, 0, + ____TemplateChannel__SamplerType_P1__TargetType_P1, + "", + ""); + I_Method1(void, update, IN, float, time, + Properties::VIRTUAL, + __void__update__float, + "", + ""); + I_Method0(void, reset, + Properties::VIRTUAL, + __void__reset, + "", + ""); + I_Method0(osgAnimation::Target *, getTarget, + Properties::VIRTUAL, + __Target_P1__getTarget, + "", + ""); + I_Method1(bool, setTarget, IN, osgAnimation::Target *, target, + Properties::VIRTUAL, + __bool__setTarget__Target_P1, + "", + ""); + I_Method0(SamplerType *, getOrCreateSampler, + Properties::NON_VIRTUAL, + __SamplerType_P1__getOrCreateSampler, + "", + ""); + I_Method0(osgAnimation::Sampler *, getSampler, + Properties::VIRTUAL, + __Sampler_P1__getSampler, + "", + ""); + I_Method0(const osgAnimation::Sampler *, getSampler, + Properties::VIRTUAL, + __C5_Sampler_P1__getSampler, + "", + ""); + I_Method0(SamplerType *, getSamplerTyped, + Properties::NON_VIRTUAL, + __SamplerType_P1__getSamplerTyped, + "", + ""); + I_Method0(const SamplerType *, getSamplerTyped, + Properties::NON_VIRTUAL, + __C5_SamplerType_P1__getSamplerTyped, + "", + ""); + I_Method1(void, setSampler, IN, SamplerType *, sampler, + Properties::NON_VIRTUAL, + __void__setSampler__SamplerType_P1, + "", + ""); + I_Method0(osgAnimation::TemplateChannel< osgAnimation::Vec2StepSampler >::TargetType *, getTargetTyped, + Properties::NON_VIRTUAL, + __TargetType_P1__getTargetTyped, + "", + ""); + I_Method1(void, setTarget, IN, osgAnimation::TemplateChannel< osgAnimation::Vec2StepSampler >::TargetType *, target, + Properties::NON_VIRTUAL, + __void__setTarget__TargetType_P1, + "", + ""); + I_Method0(float, getStartTime, + Properties::VIRTUAL, + __float__getStartTime, + "", + ""); + I_Method0(float, getEndTime, + Properties::VIRTUAL, + __float__getEndTime, + "", + ""); + I_SimpleProperty(float, EndTime, + __float__getEndTime, + 0); + I_SimpleProperty(SamplerType *, Sampler, + 0, + __void__setSampler__SamplerType_P1); + I_SimpleProperty(SamplerType *, SamplerTyped, + __SamplerType_P1__getSamplerTyped, + 0); + I_SimpleProperty(float, StartTime, + __float__getStartTime, + 0); + I_SimpleProperty(osgAnimation::Target *, Target, + __Target_P1__getTarget, + __bool__setTarget__Target_P1); + I_SimpleProperty(osgAnimation::TemplateChannel< osgAnimation::Vec2StepSampler >::TargetType *, TargetTyped, + __TargetType_P1__getTargetTyped, + 0); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateChannel< osgAnimation::Vec3StepSampler >) + I_DeclaringFile("osgAnimation/Channel"); + I_BaseType(osgAnimation::Channel); + I_Method0(osgAnimation::Channel *, clone, + Properties::VIRTUAL, + __Channel_P1__clone, + "", + ""); + I_Constructor1(IN, const osgAnimation::TemplateChannel< osgAnimation::Vec3StepSampler > &, channel, + Properties::NON_EXPLICIT, + ____TemplateChannel__C5_TemplateChannel_R1, + "", + ""); + I_ConstructorWithDefaults2(IN, SamplerType *, s, 0, IN, osgAnimation::TemplateChannel< osgAnimation::Vec3StepSampler >::TargetType *, target, 0, + ____TemplateChannel__SamplerType_P1__TargetType_P1, + "", + ""); + I_Method1(void, update, IN, float, time, + Properties::VIRTUAL, + __void__update__float, + "", + ""); + I_Method0(void, reset, + Properties::VIRTUAL, + __void__reset, + "", + ""); + I_Method0(osgAnimation::Target *, getTarget, + Properties::VIRTUAL, + __Target_P1__getTarget, + "", + ""); + I_Method1(bool, setTarget, IN, osgAnimation::Target *, target, + Properties::VIRTUAL, + __bool__setTarget__Target_P1, + "", + ""); + I_Method0(SamplerType *, getOrCreateSampler, + Properties::NON_VIRTUAL, + __SamplerType_P1__getOrCreateSampler, + "", + ""); + I_Method0(osgAnimation::Sampler *, getSampler, + Properties::VIRTUAL, + __Sampler_P1__getSampler, + "", + ""); + I_Method0(const osgAnimation::Sampler *, getSampler, + Properties::VIRTUAL, + __C5_Sampler_P1__getSampler, + "", + ""); + I_Method0(SamplerType *, getSamplerTyped, + Properties::NON_VIRTUAL, + __SamplerType_P1__getSamplerTyped, + "", + ""); + I_Method0(const SamplerType *, getSamplerTyped, + Properties::NON_VIRTUAL, + __C5_SamplerType_P1__getSamplerTyped, + "", + ""); + I_Method1(void, setSampler, IN, SamplerType *, sampler, + Properties::NON_VIRTUAL, + __void__setSampler__SamplerType_P1, + "", + ""); + I_Method0(osgAnimation::TemplateChannel< osgAnimation::Vec3StepSampler >::TargetType *, getTargetTyped, + Properties::NON_VIRTUAL, + __TargetType_P1__getTargetTyped, + "", + ""); + I_Method1(void, setTarget, IN, osgAnimation::TemplateChannel< osgAnimation::Vec3StepSampler >::TargetType *, target, + Properties::NON_VIRTUAL, + __void__setTarget__TargetType_P1, + "", + ""); + I_Method0(float, getStartTime, + Properties::VIRTUAL, + __float__getStartTime, + "", + ""); + I_Method0(float, getEndTime, + Properties::VIRTUAL, + __float__getEndTime, + "", + ""); + I_SimpleProperty(float, EndTime, + __float__getEndTime, + 0); + I_SimpleProperty(SamplerType *, Sampler, + 0, + __void__setSampler__SamplerType_P1); + I_SimpleProperty(SamplerType *, SamplerTyped, + __SamplerType_P1__getSamplerTyped, + 0); + I_SimpleProperty(float, StartTime, + __float__getStartTime, + 0); + I_SimpleProperty(osgAnimation::Target *, Target, + __Target_P1__getTarget, + __bool__setTarget__Target_P1); + I_SimpleProperty(osgAnimation::TemplateChannel< osgAnimation::Vec3StepSampler >::TargetType *, TargetTyped, + __TargetType_P1__getTargetTyped, + 0); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateChannel< osgAnimation::Vec4StepSampler >) + I_DeclaringFile("osgAnimation/Channel"); + I_BaseType(osgAnimation::Channel); + I_Method0(osgAnimation::Channel *, clone, + Properties::VIRTUAL, + __Channel_P1__clone, + "", + ""); + I_Constructor1(IN, const osgAnimation::TemplateChannel< osgAnimation::Vec4StepSampler > &, channel, + Properties::NON_EXPLICIT, + ____TemplateChannel__C5_TemplateChannel_R1, + "", + ""); + I_ConstructorWithDefaults2(IN, SamplerType *, s, 0, IN, osgAnimation::TemplateChannel< osgAnimation::Vec4StepSampler >::TargetType *, target, 0, + ____TemplateChannel__SamplerType_P1__TargetType_P1, + "", + ""); + I_Method1(void, update, IN, float, time, + Properties::VIRTUAL, + __void__update__float, + "", + ""); + I_Method0(void, reset, + Properties::VIRTUAL, + __void__reset, + "", + ""); + I_Method0(osgAnimation::Target *, getTarget, + Properties::VIRTUAL, + __Target_P1__getTarget, + "", + ""); + I_Method1(bool, setTarget, IN, osgAnimation::Target *, target, + Properties::VIRTUAL, + __bool__setTarget__Target_P1, + "", + ""); + I_Method0(SamplerType *, getOrCreateSampler, + Properties::NON_VIRTUAL, + __SamplerType_P1__getOrCreateSampler, + "", + ""); + I_Method0(osgAnimation::Sampler *, getSampler, + Properties::VIRTUAL, + __Sampler_P1__getSampler, + "", + ""); + I_Method0(const osgAnimation::Sampler *, getSampler, + Properties::VIRTUAL, + __C5_Sampler_P1__getSampler, + "", + ""); + I_Method0(SamplerType *, getSamplerTyped, + Properties::NON_VIRTUAL, + __SamplerType_P1__getSamplerTyped, + "", + ""); + I_Method0(const SamplerType *, getSamplerTyped, + Properties::NON_VIRTUAL, + __C5_SamplerType_P1__getSamplerTyped, + "", + ""); + I_Method1(void, setSampler, IN, SamplerType *, sampler, + Properties::NON_VIRTUAL, + __void__setSampler__SamplerType_P1, + "", + ""); + I_Method0(osgAnimation::TemplateChannel< osgAnimation::Vec4StepSampler >::TargetType *, getTargetTyped, + Properties::NON_VIRTUAL, + __TargetType_P1__getTargetTyped, + "", + ""); + I_Method1(void, setTarget, IN, osgAnimation::TemplateChannel< osgAnimation::Vec4StepSampler >::TargetType *, target, + Properties::NON_VIRTUAL, + __void__setTarget__TargetType_P1, + "", + ""); + I_Method0(float, getStartTime, + Properties::VIRTUAL, + __float__getStartTime, + "", + ""); + I_Method0(float, getEndTime, + Properties::VIRTUAL, + __float__getEndTime, + "", + ""); + I_SimpleProperty(float, EndTime, + __float__getEndTime, + 0); + I_SimpleProperty(SamplerType *, Sampler, + 0, + __void__setSampler__SamplerType_P1); + I_SimpleProperty(SamplerType *, SamplerTyped, + __SamplerType_P1__getSamplerTyped, + 0); + I_SimpleProperty(float, StartTime, + __float__getStartTime, + 0); + I_SimpleProperty(osgAnimation::Target *, Target, + __Target_P1__getTarget, + __bool__setTarget__Target_P1); + I_SimpleProperty(osgAnimation::TemplateChannel< osgAnimation::Vec4StepSampler >::TargetType *, TargetTyped, + __TargetType_P1__getTargetTyped, + 0); +END_REFLECTOR + STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgAnimation::Channel > >) diff --git a/src/osgWrappers/osgAnimation/Interpolator.cpp b/src/osgWrappers/osgAnimation/Interpolator.cpp index 27e91fe56..b0230a12d 100644 --- a/src/osgWrappers/osgAnimation/Interpolator.cpp +++ b/src/osgWrappers/osgAnimation/Interpolator.cpp @@ -20,6 +20,20 @@ #undef OUT #endif +TYPE_NAME_ALIAS(osgAnimation::TemplateStepInterpolator< double COMMA double >, osgAnimation::DoubleStepInterpolator) + +TYPE_NAME_ALIAS(osgAnimation::TemplateStepInterpolator< float COMMA float >, osgAnimation::FloatStepInterpolator) + +TYPE_NAME_ALIAS(osgAnimation::TemplateStepInterpolator< osg::Vec2 COMMA osg::Vec2 >, osgAnimation::Vec2StepInterpolator) + +TYPE_NAME_ALIAS(osgAnimation::TemplateStepInterpolator< osg::Vec3 COMMA osg::Vec3 >, osgAnimation::Vec3StepInterpolator) + +TYPE_NAME_ALIAS(osgAnimation::TemplateStepInterpolator< osg::Vec3 COMMA osgAnimation::Vec3Packed >, osgAnimation::Vec3PackedStepInterpolator) + +TYPE_NAME_ALIAS(osgAnimation::TemplateStepInterpolator< osg::Vec4 COMMA osg::Vec4 >, osgAnimation::Vec4StepInterpolator) + +TYPE_NAME_ALIAS(osgAnimation::TemplateStepInterpolator< osg::Quat COMMA osg::Quat >, osgAnimation::QuatStepInterpolator) + TYPE_NAME_ALIAS(osgAnimation::TemplateLinearInterpolator< double COMMA double >, osgAnimation::DoubleLinearInterpolator) TYPE_NAME_ALIAS(osgAnimation::TemplateLinearInterpolator< float COMMA float >, osgAnimation::FloatLinearInterpolator) @@ -44,3 +58,94 @@ TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezierInterpolator< osg::Vec3 COMMA TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezierInterpolator< osg::Vec4 COMMA osgAnimation::Vec4CubicBezier >, osgAnimation::Vec4CubicBezierInterpolator) +BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateStepInterpolator< double COMMA double >) + I_DeclaringFile("osgAnimation/Interpolator"); + I_BaseType(osgAnimation::TemplateInterpolatorBase); + I_Constructor0(____TemplateStepInterpolator, + "", + ""); + I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< KEY > &, keyframes, IN, float, time, IN, TYPE &, result, + Properties::NON_VIRTUAL, + __void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1, + "", + ""); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateStepInterpolator< float COMMA float >) + I_DeclaringFile("osgAnimation/Interpolator"); + I_BaseType(osgAnimation::TemplateInterpolatorBase); + I_Constructor0(____TemplateStepInterpolator, + "", + ""); + I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< KEY > &, keyframes, IN, float, time, IN, TYPE &, result, + Properties::NON_VIRTUAL, + __void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1, + "", + ""); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateStepInterpolator< osg::Quat COMMA osg::Quat >) + I_DeclaringFile("osgAnimation/Interpolator"); + I_BaseType(osgAnimation::TemplateInterpolatorBase); + I_Constructor0(____TemplateStepInterpolator, + "", + ""); + I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< KEY > &, keyframes, IN, float, time, IN, TYPE &, result, + Properties::NON_VIRTUAL, + __void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1, + "", + ""); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateStepInterpolator< osg::Vec2 COMMA osg::Vec2 >) + I_DeclaringFile("osgAnimation/Interpolator"); + I_BaseType(osgAnimation::TemplateInterpolatorBase); + I_Constructor0(____TemplateStepInterpolator, + "", + ""); + I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< KEY > &, keyframes, IN, float, time, IN, TYPE &, result, + Properties::NON_VIRTUAL, + __void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1, + "", + ""); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateStepInterpolator< osg::Vec3 COMMA osg::Vec3 >) + I_DeclaringFile("osgAnimation/Interpolator"); + I_BaseType(osgAnimation::TemplateInterpolatorBase); + I_Constructor0(____TemplateStepInterpolator, + "", + ""); + I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< KEY > &, keyframes, IN, float, time, IN, TYPE &, result, + Properties::NON_VIRTUAL, + __void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1, + "", + ""); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateStepInterpolator< osg::Vec3 COMMA osgAnimation::Vec3Packed >) + I_DeclaringFile("osgAnimation/Interpolator"); + I_BaseType(osgAnimation::TemplateInterpolatorBase); + I_Constructor0(____TemplateStepInterpolator, + "", + ""); + I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< KEY > &, keyframes, IN, float, time, IN, TYPE &, result, + Properties::NON_VIRTUAL, + __void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1, + "", + ""); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateStepInterpolator< osg::Vec4 COMMA osg::Vec4 >) + I_DeclaringFile("osgAnimation/Interpolator"); + I_BaseType(osgAnimation::TemplateInterpolatorBase); + I_Constructor0(____TemplateStepInterpolator, + "", + ""); + I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< KEY > &, keyframes, IN, float, time, IN, TYPE &, result, + Properties::NON_VIRTUAL, + __void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1, + "", + ""); +END_REFLECTOR + diff --git a/src/osgWrappers/osgAnimation/Sampler.cpp b/src/osgWrappers/osgAnimation/Sampler.cpp index 50972c2c0..3fa59ce84 100644 --- a/src/osgWrappers/osgAnimation/Sampler.cpp +++ b/src/osgWrappers/osgAnimation/Sampler.cpp @@ -43,6 +43,18 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::Sampler) 0); END_REFLECTOR +TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::DoubleStepInterpolator >, osgAnimation::DoubleStepSampler) + +TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::FloatStepInterpolator >, osgAnimation::FloatStepSampler) + +TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::Vec2StepInterpolator >, osgAnimation::Vec2StepSampler) + +TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::Vec3StepInterpolator >, osgAnimation::Vec3StepSampler) + +TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::Vec4StepInterpolator >, osgAnimation::Vec4StepSampler) + +TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::QuatStepInterpolator >, osgAnimation::QuatStepSampler) + TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::DoubleLinearInterpolator >, osgAnimation::DoubleLinearSampler) TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::FloatLinearInterpolator >, osgAnimation::FloatLinearSampler) @@ -195,6 +207,71 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::DoubleLinear 0); END_REFLECTOR +BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::DoubleStepInterpolator >) + I_DeclaringFile("osgAnimation/Sampler"); + I_BaseType(osgAnimation::Sampler); + I_Constructor0(____TemplateSampler, + "", + ""); + I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::TemplateSampler< osgAnimation::DoubleStepInterpolator >::UsingType &, result, + Properties::NON_VIRTUAL, + __void__getValueAt__float__UsingType_R1, + "", + ""); + I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::DoubleStepInterpolator >::KeyframeContainerType *, kf, + Properties::NON_VIRTUAL, + __void__setKeyframeContainer__KeyframeContainerType_P1, + "", + ""); + I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer, + Properties::VIRTUAL, + __KeyframeContainer_P1__getKeyframeContainer, + "", + ""); + I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer, + Properties::VIRTUAL, + __C5_KeyframeContainer_P1__getKeyframeContainer, + "", + ""); + I_Method0(osgAnimation::TemplateSampler< osgAnimation::DoubleStepInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, + Properties::NON_VIRTUAL, + __KeyframeContainerType_P1__getKeyframeContainerTyped, + "", + ""); + I_Method0(const osgAnimation::TemplateSampler< osgAnimation::DoubleStepInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, + Properties::NON_VIRTUAL, + __C5_KeyframeContainerType_P1__getKeyframeContainerTyped, + "", + ""); + I_Method0(osgAnimation::TemplateSampler< osgAnimation::DoubleStepInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer, + Properties::NON_VIRTUAL, + __KeyframeContainerType_P1__getOrCreateKeyframeContainer, + "", + ""); + I_Method0(float, getStartTime, + Properties::NON_VIRTUAL, + __float__getStartTime, + "", + ""); + I_Method0(float, getEndTime, + Properties::NON_VIRTUAL, + __float__getEndTime, + "", + ""); + I_SimpleProperty(float, EndTime, + __float__getEndTime, + 0); + I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer, + __KeyframeContainer_P1__getKeyframeContainer, + 0); + I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::DoubleStepInterpolator >::KeyframeContainerType *, KeyframeContainerTyped, + __KeyframeContainerType_P1__getKeyframeContainerTyped, + 0); + I_SimpleProperty(float, StartTime, + __float__getStartTime, + 0); +END_REFLECTOR + BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::FloatCubicBezierInterpolator >) I_DeclaringFile("osgAnimation/Sampler"); I_BaseType(osgAnimation::Sampler); @@ -325,6 +402,71 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::FloatLinearI 0); END_REFLECTOR +BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::FloatStepInterpolator >) + I_DeclaringFile("osgAnimation/Sampler"); + I_BaseType(osgAnimation::Sampler); + I_Constructor0(____TemplateSampler, + "", + ""); + I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::TemplateSampler< osgAnimation::FloatStepInterpolator >::UsingType &, result, + Properties::NON_VIRTUAL, + __void__getValueAt__float__UsingType_R1, + "", + ""); + I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::FloatStepInterpolator >::KeyframeContainerType *, kf, + Properties::NON_VIRTUAL, + __void__setKeyframeContainer__KeyframeContainerType_P1, + "", + ""); + I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer, + Properties::VIRTUAL, + __KeyframeContainer_P1__getKeyframeContainer, + "", + ""); + I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer, + Properties::VIRTUAL, + __C5_KeyframeContainer_P1__getKeyframeContainer, + "", + ""); + I_Method0(osgAnimation::TemplateSampler< osgAnimation::FloatStepInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, + Properties::NON_VIRTUAL, + __KeyframeContainerType_P1__getKeyframeContainerTyped, + "", + ""); + I_Method0(const osgAnimation::TemplateSampler< osgAnimation::FloatStepInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, + Properties::NON_VIRTUAL, + __C5_KeyframeContainerType_P1__getKeyframeContainerTyped, + "", + ""); + I_Method0(osgAnimation::TemplateSampler< osgAnimation::FloatStepInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer, + Properties::NON_VIRTUAL, + __KeyframeContainerType_P1__getOrCreateKeyframeContainer, + "", + ""); + I_Method0(float, getStartTime, + Properties::NON_VIRTUAL, + __float__getStartTime, + "", + ""); + I_Method0(float, getEndTime, + Properties::NON_VIRTUAL, + __float__getEndTime, + "", + ""); + I_SimpleProperty(float, EndTime, + __float__getEndTime, + 0); + I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer, + __KeyframeContainer_P1__getKeyframeContainer, + 0); + I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::FloatStepInterpolator >::KeyframeContainerType *, KeyframeContainerTyped, + __KeyframeContainerType_P1__getKeyframeContainerTyped, + 0); + I_SimpleProperty(float, StartTime, + __float__getStartTime, + 0); +END_REFLECTOR + BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::QuatSphericalLinearInterpolator >) I_DeclaringFile("osgAnimation/Sampler"); I_BaseType(osgAnimation::Sampler); @@ -390,6 +532,71 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::QuatSpherica 0); END_REFLECTOR +BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::QuatStepInterpolator >) + I_DeclaringFile("osgAnimation/Sampler"); + I_BaseType(osgAnimation::Sampler); + I_Constructor0(____TemplateSampler, + "", + ""); + I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::TemplateSampler< osgAnimation::QuatStepInterpolator >::UsingType &, result, + Properties::NON_VIRTUAL, + __void__getValueAt__float__UsingType_R1, + "", + ""); + I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::QuatStepInterpolator >::KeyframeContainerType *, kf, + Properties::NON_VIRTUAL, + __void__setKeyframeContainer__KeyframeContainerType_P1, + "", + ""); + I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer, + Properties::VIRTUAL, + __KeyframeContainer_P1__getKeyframeContainer, + "", + ""); + I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer, + Properties::VIRTUAL, + __C5_KeyframeContainer_P1__getKeyframeContainer, + "", + ""); + I_Method0(osgAnimation::TemplateSampler< osgAnimation::QuatStepInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, + Properties::NON_VIRTUAL, + __KeyframeContainerType_P1__getKeyframeContainerTyped, + "", + ""); + I_Method0(const osgAnimation::TemplateSampler< osgAnimation::QuatStepInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, + Properties::NON_VIRTUAL, + __C5_KeyframeContainerType_P1__getKeyframeContainerTyped, + "", + ""); + I_Method0(osgAnimation::TemplateSampler< osgAnimation::QuatStepInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer, + Properties::NON_VIRTUAL, + __KeyframeContainerType_P1__getOrCreateKeyframeContainer, + "", + ""); + I_Method0(float, getStartTime, + Properties::NON_VIRTUAL, + __float__getStartTime, + "", + ""); + I_Method0(float, getEndTime, + Properties::NON_VIRTUAL, + __float__getEndTime, + "", + ""); + I_SimpleProperty(float, EndTime, + __float__getEndTime, + 0); + I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer, + __KeyframeContainer_P1__getKeyframeContainer, + 0); + I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::QuatStepInterpolator >::KeyframeContainerType *, KeyframeContainerTyped, + __KeyframeContainerType_P1__getKeyframeContainerTyped, + 0); + I_SimpleProperty(float, StartTime, + __float__getStartTime, + 0); +END_REFLECTOR + BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::Vec2CubicBezierInterpolator >) I_DeclaringFile("osgAnimation/Sampler"); I_BaseType(osgAnimation::Sampler); @@ -520,6 +727,71 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::Vec2LinearIn 0); END_REFLECTOR +BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::Vec2StepInterpolator >) + I_DeclaringFile("osgAnimation/Sampler"); + I_BaseType(osgAnimation::Sampler); + I_Constructor0(____TemplateSampler, + "", + ""); + I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::TemplateSampler< osgAnimation::Vec2StepInterpolator >::UsingType &, result, + Properties::NON_VIRTUAL, + __void__getValueAt__float__UsingType_R1, + "", + ""); + I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::Vec2StepInterpolator >::KeyframeContainerType *, kf, + Properties::NON_VIRTUAL, + __void__setKeyframeContainer__KeyframeContainerType_P1, + "", + ""); + I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer, + Properties::VIRTUAL, + __KeyframeContainer_P1__getKeyframeContainer, + "", + ""); + I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer, + Properties::VIRTUAL, + __C5_KeyframeContainer_P1__getKeyframeContainer, + "", + ""); + I_Method0(osgAnimation::TemplateSampler< osgAnimation::Vec2StepInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, + Properties::NON_VIRTUAL, + __KeyframeContainerType_P1__getKeyframeContainerTyped, + "", + ""); + I_Method0(const osgAnimation::TemplateSampler< osgAnimation::Vec2StepInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, + Properties::NON_VIRTUAL, + __C5_KeyframeContainerType_P1__getKeyframeContainerTyped, + "", + ""); + I_Method0(osgAnimation::TemplateSampler< osgAnimation::Vec2StepInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer, + Properties::NON_VIRTUAL, + __KeyframeContainerType_P1__getOrCreateKeyframeContainer, + "", + ""); + I_Method0(float, getStartTime, + Properties::NON_VIRTUAL, + __float__getStartTime, + "", + ""); + I_Method0(float, getEndTime, + Properties::NON_VIRTUAL, + __float__getEndTime, + "", + ""); + I_SimpleProperty(float, EndTime, + __float__getEndTime, + 0); + I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer, + __KeyframeContainer_P1__getKeyframeContainer, + 0); + I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::Vec2StepInterpolator >::KeyframeContainerType *, KeyframeContainerTyped, + __KeyframeContainerType_P1__getKeyframeContainerTyped, + 0); + I_SimpleProperty(float, StartTime, + __float__getStartTime, + 0); +END_REFLECTOR + BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::Vec3CubicBezierInterpolator >) I_DeclaringFile("osgAnimation/Sampler"); I_BaseType(osgAnimation::Sampler); @@ -650,6 +922,71 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::Vec3LinearIn 0); END_REFLECTOR +BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::Vec3StepInterpolator >) + I_DeclaringFile("osgAnimation/Sampler"); + I_BaseType(osgAnimation::Sampler); + I_Constructor0(____TemplateSampler, + "", + ""); + I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::TemplateSampler< osgAnimation::Vec3StepInterpolator >::UsingType &, result, + Properties::NON_VIRTUAL, + __void__getValueAt__float__UsingType_R1, + "", + ""); + I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::Vec3StepInterpolator >::KeyframeContainerType *, kf, + Properties::NON_VIRTUAL, + __void__setKeyframeContainer__KeyframeContainerType_P1, + "", + ""); + I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer, + Properties::VIRTUAL, + __KeyframeContainer_P1__getKeyframeContainer, + "", + ""); + I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer, + Properties::VIRTUAL, + __C5_KeyframeContainer_P1__getKeyframeContainer, + "", + ""); + I_Method0(osgAnimation::TemplateSampler< osgAnimation::Vec3StepInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, + Properties::NON_VIRTUAL, + __KeyframeContainerType_P1__getKeyframeContainerTyped, + "", + ""); + I_Method0(const osgAnimation::TemplateSampler< osgAnimation::Vec3StepInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, + Properties::NON_VIRTUAL, + __C5_KeyframeContainerType_P1__getKeyframeContainerTyped, + "", + ""); + I_Method0(osgAnimation::TemplateSampler< osgAnimation::Vec3StepInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer, + Properties::NON_VIRTUAL, + __KeyframeContainerType_P1__getOrCreateKeyframeContainer, + "", + ""); + I_Method0(float, getStartTime, + Properties::NON_VIRTUAL, + __float__getStartTime, + "", + ""); + I_Method0(float, getEndTime, + Properties::NON_VIRTUAL, + __float__getEndTime, + "", + ""); + I_SimpleProperty(float, EndTime, + __float__getEndTime, + 0); + I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer, + __KeyframeContainer_P1__getKeyframeContainer, + 0); + I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::Vec3StepInterpolator >::KeyframeContainerType *, KeyframeContainerTyped, + __KeyframeContainerType_P1__getKeyframeContainerTyped, + 0); + I_SimpleProperty(float, StartTime, + __float__getStartTime, + 0); +END_REFLECTOR + BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::Vec4CubicBezierInterpolator >) I_DeclaringFile("osgAnimation/Sampler"); I_BaseType(osgAnimation::Sampler); @@ -780,3 +1117,68 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::Vec4LinearIn 0); END_REFLECTOR +BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::Vec4StepInterpolator >) + I_DeclaringFile("osgAnimation/Sampler"); + I_BaseType(osgAnimation::Sampler); + I_Constructor0(____TemplateSampler, + "", + ""); + I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::TemplateSampler< osgAnimation::Vec4StepInterpolator >::UsingType &, result, + Properties::NON_VIRTUAL, + __void__getValueAt__float__UsingType_R1, + "", + ""); + I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::Vec4StepInterpolator >::KeyframeContainerType *, kf, + Properties::NON_VIRTUAL, + __void__setKeyframeContainer__KeyframeContainerType_P1, + "", + ""); + I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer, + Properties::VIRTUAL, + __KeyframeContainer_P1__getKeyframeContainer, + "", + ""); + I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer, + Properties::VIRTUAL, + __C5_KeyframeContainer_P1__getKeyframeContainer, + "", + ""); + I_Method0(osgAnimation::TemplateSampler< osgAnimation::Vec4StepInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, + Properties::NON_VIRTUAL, + __KeyframeContainerType_P1__getKeyframeContainerTyped, + "", + ""); + I_Method0(const osgAnimation::TemplateSampler< osgAnimation::Vec4StepInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped, + Properties::NON_VIRTUAL, + __C5_KeyframeContainerType_P1__getKeyframeContainerTyped, + "", + ""); + I_Method0(osgAnimation::TemplateSampler< osgAnimation::Vec4StepInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer, + Properties::NON_VIRTUAL, + __KeyframeContainerType_P1__getOrCreateKeyframeContainer, + "", + ""); + I_Method0(float, getStartTime, + Properties::NON_VIRTUAL, + __float__getStartTime, + "", + ""); + I_Method0(float, getEndTime, + Properties::NON_VIRTUAL, + __float__getEndTime, + "", + ""); + I_SimpleProperty(float, EndTime, + __float__getEndTime, + 0); + I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer, + __KeyframeContainer_P1__getKeyframeContainer, + 0); + I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::Vec4StepInterpolator >::KeyframeContainerType *, KeyframeContainerTyped, + __KeyframeContainerType_P1__getKeyframeContainerTyped, + 0); + I_SimpleProperty(float, StartTime, + __float__getStartTime, + 0); +END_REFLECTOR +