KJB
|
#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_t & | dim (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... | |
Class represents a trajectory in R^D.
typedef Vector kjb::bbb::Trajectory::vec_t |
|
inline |
Create an empty trajectory.
void kjb::bbb::Trajectory::append_dimensions | ( | VecIter | first, |
VecIter | last | ||
) |
Append by dimension.
void kjb::bbb::Trajectory::append_positions | ( | VecIter | first, |
VecIter | last | ||
) |
Append by position.
void kjb::bbb::Trajectory::copy | ( | VecIter | out | ) | const |
Gets the trajectory of this person.
|
inline |
Gets the trajectory of this person.
|
inline |
Gets the dimensionality of this person's trajectory.
|
inline |
Gets the end frame of this person.
|
inline |
Gets the position of this person at the given frame.
void kjb::bbb::Trajectory::set_dimensions | ( | size_t | st, |
VecIter | first, | ||
VecIter | last | ||
) |
Set dimensions of this trajectory.
void kjb::bbb::Trajectory::set_positions | ( | size_t | st, |
VecIter | first, | ||
VecIter | last | ||
) |
Set points of this trajectory.
|
inline |
Gets the size of this person.
|
inline |
Gets the start frame of this person.