Namespaces | Functions

OpenTissue::mbd::mel Namespace Reference

Namespaces

namespace  detail

Functions

template<typename indirect_body_iterator >
std::string euler_filter_string (indirect_body_iterator begin, indirect_body_iterator end)
template<typename indirect_body_iterator >
std::string geometry_string (indirect_body_iterator begin, indirect_body_iterator end)
template<typename indirect_body_iterator , typename real_type_ >
std::string keyframe_string (indirect_body_iterator begin, indirect_body_iterator end, real_type_ const &time)

Function Documentation

template<typename indirect_body_iterator >
std::string OpenTissue::mbd::mel::euler_filter_string ( indirect_body_iterator  begin,
indirect_body_iterator  end 
)

MEL Euler Filter String Tool. Must be applied when finished creating motion curves, othewise rotations will wrap around!!!

Example usage:

std::cout << mbd::mel::euler_filter_string(configuration.body_begin(),configuration.body_end()) << std::endl;

template<typename indirect_body_iterator >
std::string OpenTissue::mbd::mel::geometry_string ( indirect_body_iterator  begin,
indirect_body_iterator  end 
)

MEL geometry String Tool. Example usage:

std::cout << mbd::mel::geometry_string(configuration.body_begin(),configuration.body_end(),simulator.get_time()) << std::endl;

template<typename indirect_body_iterator , typename real_type_ >
std::string OpenTissue::mbd::mel::keyframe_string ( indirect_body_iterator  begin,
indirect_body_iterator  end,
real_type_ const &  time 
)

MEL Keyframe String Tool. Example usage:

std::cout << mbd::mel::keyframe_string(configuration.body_begin(),configuration.body_end(),simulator.get_time()) << std::endl;