KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
pt_complete_state.h File Reference
#include <people_tracking_cpp/pt_visibility.h>
#include <camera_cpp/perspective_camera.h>
#include <m_cpp/m_vector.h>
#include <m_cpp/m_vector_d.h>
#include <detector_cpp/d_bbox.h>
#include <vector>
#include <limits>
#include <fstream>
#include <ios>
#include <iomanip>

Go to the source code of this file.

Classes

struct  kjb::pt::Complete_state
 Represents the state of an actor at a frame. More...
 
struct  kjb::pt::Head
 Simple struct representing a head. More...
 

Namespaces

 kjb
 Classes and functions for dealing with trajectory files.
 
 kjb::pt
 

Functions

std::ostream & kjb::pt::operator<< (std::ostream &ost, const Complete_state &cs)
 outputs the Complete_state. More...
 
double kjb::pt::body_direction (const Vector &dir)
 Gets the body direction from a direction vector. More...
 
Vector kjb::pt::ellipse_point (const Complete_state &cs, double height, double width, double girth, double angle)
 Compute point on ellipse given body_dir and angle. More...
 
std::vector< Vectorkjb::pt::body_ellipse (const Complete_state &cs, double h, double w, double g, size_t n=12)
 Computes points on ellipse given by position and dimensions. More...
 
void kjb::pt::cylinder_points (const Complete_state &cs, double height, double width, double girth, std::vector< Vector > &fpts, std::vector< Vector > &bpts, Vector &botc, Vector &topc, Vector &bodc)
 Points on body cylinders. More...
 
std::vector< Vectorkjb::pt::head_points (const Complete_state &cs, double height, double width, double girth)
 Sample points on head surface. More...
 
std::vector< Vectorkjb::pt::face_features (const Complete_state &cs, double height, double width, double girth)
 Location of face features. More...
 
Vector kjb::pt::visible_head_point (const Complete_state &cs, const Vector &cam_center, double height, double width, double girth)
 Find a point on face which is visible from the camera. More...
 
Vector kjb::pt::head_to_world (const Vector &vh, const Head &h, bool scale=false)
 Converts a point on the head to world coordinates. More...