|
Namespaces | |
error | |
interpolate | |
Classes | |
struct | Keyframe |
A keyframe, representing a value at a given time. More... | |
class | Track |
A track represents the timeline of a single value, identified by a track ID. More... | |
class | Trajectory |
This class is used to update entities based on trajectory defined by keyframes. More... | |
Typedefs | |
using | TrackID = std::string |
ID of tracks. More... | |
using | VariantKeyframe = Keyframe< VariantValue > |
A keyframe with of type TValue. More... | |
using | VariantTrack = Track< VariantValue > |
A track with value type TValue. More... | |
using | VariantValue = std::variant< float, Eigen::MatrixXf, Eigen::Quaternionf > |
Variant for trajectory values. More... | |
Functions | |
template<typename ValueT > | |
std::ostream & | operator<< (std::ostream &os, const Track< ValueT > &track) |
std::ostream & | operator<< (std::ostream &os, const Trajectory &trajectory) |
VariantTrack::UpdateFunc | toUpdateFunc (std::function< void(const Eigen::MatrixXf &)> func) |
Wrap the function in a Track::UpdateFunc. More... | |
VariantTrack::UpdateFunc | toUpdateFunc (std::function< void(const Eigen::Quaternionf &)> func) |
Wrap the function in a Track::UpdateFunc. More... | |
VariantTrack::UpdateFunc | toUpdateFunc (std::function< void(float)> func) |
Wrap the function in a Track::UpdateFunc. More... | |
template<typename ValueT > | |
VariantTrack::UpdateFunc | updateValue (ValueT &v) |
Get an update function for value assignments. More... | |
using TrackID = std::string |
ID of tracks.
Definition at line 16 of file VariantValue.h.
using VariantKeyframe = Keyframe<VariantValue> |
using VariantTrack = Track<VariantValue> |
using VariantValue = std::variant<float, Eigen::MatrixXf, Eigen::Quaternionf> |
Variant for trajectory values.
Definition at line 13 of file VariantValue.h.
std::ostream& armarx::trajectory::operator<< | ( | std::ostream & | os, |
const Track< ValueT > & | track | ||
) |
std::ostream & operator<< | ( | std::ostream & | os, |
const Trajectory & | trajectory | ||
) |
Definition at line 67 of file Trajectory.cpp.
auto toUpdateFunc | ( | std::function< void(const Eigen::MatrixXf &)> | func | ) |
Wrap the function in a Track::UpdateFunc.
Definition at line 89 of file Trajectory.cpp.
auto toUpdateFunc | ( | std::function< void(const Eigen::Quaternionf &)> | func | ) |
Wrap the function in a Track::UpdateFunc.
Definition at line 97 of file Trajectory.cpp.
auto toUpdateFunc | ( | std::function< void(float)> | func | ) |
Wrap the function in a Track::UpdateFunc.
Definition at line 81 of file Trajectory.cpp.
VariantTrack::UpdateFunc armarx::trajectory::updateValue | ( | ValueT & | v | ) |
Get an update function for value assignments.
Definition at line 89 of file Trajectory.h.