KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Enumerations | Functions
tracking_entity.h File Reference
#include <string>
#include <vector>
#include <istream>
#include <ostream>
#include <cassert>

Go to the source code of this file.

Classes

struct  kjb::tracking::Entity_id
 Entity + index; used for file I/O. More...
 

Namespaces

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

Enumerations

enum  kjb::tracking::Entity_type {
  kjb::tracking::PERSON_ENTITY, kjb::tracking::BICYCLE_ENTITY, kjb::tracking::BOTTLE_ENTITY, kjb::tracking::CAR_ENTITY,
  kjb::tracking::CHAIR_ENTITY, kjb::tracking::DOG_ENTITY, kjb::tracking::FRAMES_ENTITY, kjb::tracking::MOTORBIKE_ENTITY,
  kjb::tracking::OBJECT_ENTITY, kjb::tracking::BOX_ENTITY, kjb::tracking::BAG_ENTITY, kjb::tracking::NUM_ENTITY_TYPES
}
 

Functions

std::vector< std::string > kjb::tracking::get_all_entity_type_names ()
 Get all types. More...
 
const std::string & kjb::tracking::get_entity_type_name (Entity_type type)
 Get the name of a entity type. More...
 
Entity_type kjb::tracking::get_entity_type (const std::string &name)
 Get the type of a entity name. More...
 
double kjb::tracking::get_entity_type_average_height (Entity_type type)
 Get the average height of an entity. More...
 
double kjb::tracking::get_entity_type_stddev_height (Entity_type type)
 Get the standard deviation of the height of an entity. More...
 
double kjb::tracking::get_entity_type_average_width (Entity_type type)
 Get the average width of an entity. More...
 
double kjb::tracking::get_entity_type_stddev_width (Entity_type type)
 Get the standard deviation of the width of an entity. More...
 
double kjb::tracking::get_entity_type_average_girth (Entity_type type)
 Get the average girth of an entity. More...
 
double kjb::tracking::get_entity_type_stddev_girth (Entity_type type)
 Get the standard deviation of the girth of an entity. More...
 
std::ostream & kjb::tracking::operator<< (std::ostream &ost, Entity_type type)
 Stream out an entity. More...
 
std::istream & kjb::tracking::operator>> (std::istream &ist, Entity_type &type)
 Stream in an entity. More...
 
std::istream & kjb::tracking::operator>> (std::istream &ist, Entity_id &id)
 Stream out an entity-id. More...
 
std::ostream & kjb::tracking::operator<< (std::ostream &ost, const Entity_id &id)
 Stream in an entity-id. More...