Public Types | Public Member Functions | Private Attributes
hector_object_tracker::ObjectModel Class Reference

#include <ObjectModel.h>

List of all members.

Public Types

typedef ObjectList::const_iterator const_iterator
typedef ObjectList::iterator iterator

Public Member Functions

ObjectPtr add (const std::string &class_id="", const std::string &object_id="")
ObjectPtr add (ObjectPtr object)
iterator begin ()
const_iterator begin () const
ObjectPtr create (const std::string &class_id="", const std::string &object_id="")
iterator end ()
const_iterator end () const
float getBestCorrespondence (ObjectPtr &object, const Eigen::Vector3f &position, const Eigen::Matrix3f &covariance, const std::string &class_id, float max_distance=0.0) const
std_msgs::Header getHeader () const
void getMessage (hector_worldmodel_msgs::ObjectModel &model) const
hector_worldmodel_msgs::ObjectModelPtr getMessage () const
ObjectPtr getObject (const std::string &object_id) const
ObjectList getObjects () const
ObjectList getObjects (const std::string &class_id) const
void getVisualization (visualization_msgs::MarkerArray &markers) const
void lock () const
void merge (const ObjectPtr &other, tf::TransformListener &tf, const std::string &prefix=std::string())
void mergeWith (const ObjectModel &other, tf::TransformListener &tf, const std::string &prefix=std::string())
 ObjectModel (const std::string &frame_id=std::string())
 ObjectModel (const ObjectModel &)
ObjectModeloperator= (const ObjectModel &other)
ObjectModeloperator= (const hector_worldmodel_msgs::ObjectModel &other)
void remove (ObjectPtr object)
void remove (iterator it)
void reset ()
void setFrameId (const std::string &frame_id)
bool try_lock () const
void unlock () const
virtual ~ObjectModel ()

Private Attributes

std_msgs::Header header
ObjectList objects
boost::recursive_mutex objectsMutex

Detailed Description

Definition at line 19 of file ObjectModel.h.


Member Typedef Documentation

typedef ObjectList::const_iterator hector_object_tracker::ObjectModel::const_iterator

Definition at line 23 of file ObjectModel.h.

typedef ObjectList::iterator hector_object_tracker::ObjectModel::iterator

Definition at line 22 of file ObjectModel.h.


Constructor & Destructor Documentation

ObjectModel::ObjectModel ( const std::string &  frame_id = std::string())

Definition at line 6 of file ObjectModel.cpp.

Definition at line 11 of file ObjectModel.cpp.

Definition at line 16 of file ObjectModel.cpp.


Member Function Documentation

ObjectPtr ObjectModel::add ( const std::string &  class_id = "",
const std::string &  object_id = "" 
)

Definition at line 85 of file ObjectModel.cpp.

Definition at line 89 of file ObjectModel.cpp.

Definition at line 42 of file ObjectModel.h.

Definition at line 44 of file ObjectModel.h.

ObjectPtr hector_object_tracker::ObjectModel::create ( const std::string &  class_id = "",
const std::string &  object_id = "" 
)

Definition at line 43 of file ObjectModel.h.

Definition at line 45 of file ObjectModel.h.

float ObjectModel::getBestCorrespondence ( ObjectPtr object,
const Eigen::Vector3f &  position,
const Eigen::Matrix3f &  covariance,
const std::string &  class_id,
float  max_distance = 0.0 
) const

Definition at line 142 of file ObjectModel.cpp.

Definition at line 47 of file ObjectModel.cpp.

Definition at line 61 of file ObjectModel.cpp.

Definition at line 72 of file ObjectModel.cpp.

ObjectPtr ObjectModel::getObject ( const std::string &  object_id) const

Definition at line 37 of file ObjectModel.cpp.

Definition at line 19 of file ObjectModel.cpp.

ObjectList ObjectModel::getObjects ( const std::string &  class_id) const

Definition at line 25 of file ObjectModel.cpp.

void ObjectModel::getVisualization ( visualization_msgs::MarkerArray &  markers) const

Definition at line 133 of file ObjectModel.cpp.

Definition at line 56 of file ObjectModel.h.

void ObjectModel::merge ( const ObjectPtr other,
tf::TransformListener tf,
const std::string &  prefix = std::string() 
)

Definition at line 169 of file ObjectModel.cpp.

void ObjectModel::mergeWith ( const ObjectModel other,
tf::TransformListener tf,
const std::string &  prefix = std::string() 
)

Definition at line 163 of file ObjectModel.cpp.

ObjectModel & ObjectModel::operator= ( const ObjectModel other)

Definition at line 106 of file ObjectModel.cpp.

ObjectModel & ObjectModel::operator= ( const hector_worldmodel_msgs::ObjectModel other)

Definition at line 113 of file ObjectModel.cpp.

void ObjectModel::remove ( ObjectPtr  object)

Definition at line 94 of file ObjectModel.cpp.

Definition at line 103 of file ObjectModel.cpp.

Definition at line 78 of file ObjectModel.cpp.

void ObjectModel::setFrameId ( const std::string &  frame_id)

Definition at line 57 of file ObjectModel.cpp.

Definition at line 57 of file ObjectModel.h.

Definition at line 58 of file ObjectModel.h.


Member Data Documentation

Definition at line 66 of file ObjectModel.h.

Definition at line 67 of file ObjectModel.h.

boost::recursive_mutex hector_object_tracker::ObjectModel::objectsMutex [mutable, private]

Definition at line 68 of file ObjectModel.h.


The documentation for this class was generated from the following files:


hector_object_tracker
Author(s): Johannes Meyer
autogenerated on Mon Oct 6 2014 00:36:54