Choreonoid  1.5
Public Member Functions | Friends | List of all members
cnoid::PoseRef Class Reference

#include <PoseSeq.h>

Public Member Functions

const std::string & name () const
 
const PoseUnitPtr poseUnit () const
 
PoseUnitPtr poseUnit ()
 
template<class PoseType >
const ref_ptr< PoseType > get () const
 
template<class PoseType >
ref_ptr< PoseType > get ()
 
double time () const
 
void setMaxTransitionTime (double time)
 
double maxTransitionTime () const
 

Friends

class PoseSeq
 

Member Function Documentation

template<class PoseType >
const ref_ptr<PoseType> cnoid::PoseRef::get ( ) const
inline
template<class PoseType >
ref_ptr<PoseType> cnoid::PoseRef::get ( )
inline
double cnoid::PoseRef::maxTransitionTime ( ) const
inline
const std::string& cnoid::PoseRef::name ( ) const
inline
const PoseUnitPtr cnoid::PoseRef::poseUnit ( ) const
inline
PoseUnitPtr cnoid::PoseRef::poseUnit ( )
inline
void cnoid::PoseRef::setMaxTransitionTime ( double  time)
inline

This function sets the default transition time. When the time length between the previous pose and this pose is longer than the default transition time, the sysytem uses this time to interpolate the two poses. If the time length between the two poses is shorter than the default transition time, the former length is used for the interpolation. If the default transition time is zero, the interpolation is always done using the time length between the two poses.

double cnoid::PoseRef::time ( ) const
inline

Friends And Related Function Documentation

friend class PoseSeq
friend

The documentation for this class was generated from the following files: