21#ifndef mia_template_trackpoint_hh
22#define mia_template_trackpoint_hh
40template <
typename Transformation>
44 typedef typename Transformation::Vector
Vector;
66 bool read(std::string& is);
72 void print(std::ostream& os)
const;
106 std::string m_reserved;
109template <
typename Transformation>
Class to track pixel movement based on a transformation.
void move(float timestep, const Transformation &t)
Transformation::Vector Vector
void print(std::ostream &os) const
bool read(std::string &is)
static std::vector< TTrackPoint > load_trackpoints(const std::string &in_filename)
TTrackPoint(int id, float time, const Vector &pos, const std::string &reserved)
const std::string & get_reserved() const
returns the reserved field
const Vector & get_pos() const
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
#define NS_MIA_END
conveniance define to end the mia namespace
std::ostream & operator<<(std::ostream &os, const TTrackPoint< Transformation > &tp)