3 #include <mof/Animation.hpp>
10 class ParametricAnimation : public mof::Animation<T>{
11 const boost::shared_ptr<T>& m_parameter;
14 ParametricAnimation(const boost::shared_ptr<T>& parameter)
15 : m_parameter(parameter){
18 virtual T getValue(mof::FrameNumber ) const{
25 typename mof::Animation<T>::Handler makeParametricHandler(const boost::shared_ptr<T>& parameter){
26 return mof::Animation<T>::Handler(new mof::ParametricAnimation<T>(parameter));