KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
kjb::bbb::Trajectory Class Reference

#include <bbb_trajectory.h>

Public Types

typedef Vector vec_t
 

Public Member Functions

 Trajectory ()
 Create an empty trajectory. More...
 
template<class VecIter >
void set_positions (size_t st, VecIter first, VecIter last)
 Set points of this trajectory. More...
 
template<class VecIter >
void set_dimensions (size_t st, VecIter first, VecIter last)
 Set dimensions of this trajectory. More...
 
template<class VecIter >
void append_positions (VecIter first, VecIter last)
 Append by position. More...
 
template<class VecIter >
void append_dimensions (VecIter first, VecIter last)
 Append by dimension. More...
 
vec_t pos (size_t frame) const
 Gets the position of this person at the given frame. More...
 
template<class VecIter >
void copy (VecIter out) const
 Gets the trajectory of this person. More...
 
const vec_tdim (size_t d) const
 Gets the trajectory of this person. More...
 
size_t dimensions () const
 Gets the dimensionality of this person's trajectory. More...
 
size_t start () const
 Gets the start frame of this person. More...
 
size_t end () const
 Gets the end frame of this person. More...
 
size_t size () const
 Gets the size of this person. More...
 

Detailed Description

Class represents a trajectory in R^D.

Member Typedef Documentation

Constructor & Destructor Documentation

kjb::bbb::Trajectory::Trajectory ( )
inline

Create an empty trajectory.

Member Function Documentation

template<class VecIter >
void kjb::bbb::Trajectory::append_dimensions ( VecIter  first,
VecIter  last 
)

Append by dimension.

template<class VecIter >
void kjb::bbb::Trajectory::append_positions ( VecIter  first,
VecIter  last 
)

Append by position.

template<class VecIter >
void kjb::bbb::Trajectory::copy ( VecIter  out) const

Gets the trajectory of this person.

const vec_t& kjb::bbb::Trajectory::dim ( size_t  d) const
inline

Gets the trajectory of this person.

size_t kjb::bbb::Trajectory::dimensions ( ) const
inline

Gets the dimensionality of this person's trajectory.

size_t kjb::bbb::Trajectory::end ( ) const
inline

Gets the end frame of this person.

vec_t kjb::bbb::Trajectory::pos ( size_t  frame) const
inline

Gets the position of this person at the given frame.

template<class VecIter >
void kjb::bbb::Trajectory::set_dimensions ( size_t  st,
VecIter  first,
VecIter  last 
)

Set dimensions of this trajectory.

template<class VecIter >
void kjb::bbb::Trajectory::set_positions ( size_t  st,
VecIter  first,
VecIter  last 
)

Set points of this trajectory.

size_t kjb::bbb::Trajectory::size ( ) const
inline

Gets the size of this person.

size_t kjb::bbb::Trajectory::start ( ) const
inline

Gets the start frame of this person.


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