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

◆ get() [1/2]

template<class PoseType >
const ref_ptr<PoseType> cnoid::PoseRef::get ( ) const
inline

◆ get() [2/2]

template<class PoseType >
ref_ptr<PoseType> cnoid::PoseRef::get ( )
inline

◆ maxTransitionTime()

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

◆ name()

const std::string& cnoid::PoseRef::name ( ) const
inline

◆ poseUnit() [1/2]

const PoseUnitPtr cnoid::PoseRef::poseUnit ( ) const
inline

◆ poseUnit() [2/2]

PoseUnitPtr cnoid::PoseRef::poseUnit ( )
inline

◆ setMaxTransitionTime()

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.

◆ time()

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

Friends And Related Function Documentation

◆ PoseSeq

friend class PoseSeq
friend

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