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 tf::Pose &pose, const Eigen::Matrix3f &covariance, const std::string &class_id, const std::string &name, 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

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

Definition at line 7 of file ObjectModel.cpp.

Definition at line 12 of file ObjectModel.cpp.

Definition at line 17 of file ObjectModel.cpp.


Member Function Documentation

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

Definition at line 86 of file ObjectModel.cpp.

Definition at line 90 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 hector_object_tracker::ObjectModel::getBestCorrespondence ( ObjectPtr object,
const tf::Pose pose,
const Eigen::Matrix3f &  covariance,
const std::string &  class_id,
const std::string &  name,
float  max_distance = 0.0 
) const

Definition at line 143 of file ObjectModel.cpp.

Definition at line 48 of file ObjectModel.cpp.

void hector_object_tracker::ObjectModel::getMessage ( hector_worldmodel_msgs::ObjectModel &  model) const

Definition at line 62 of file ObjectModel.cpp.

hector_worldmodel_msgs::ObjectModelPtr hector_object_tracker::ObjectModel::getMessage ( ) const

Definition at line 73 of file ObjectModel.cpp.

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

Definition at line 38 of file ObjectModel.cpp.

Definition at line 20 of file ObjectModel.cpp.

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

Definition at line 26 of file ObjectModel.cpp.

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

Definition at line 134 of file ObjectModel.cpp.

Definition at line 56 of file ObjectModel.h.

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

Definition at line 182 of file ObjectModel.cpp.

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

Definition at line 176 of file ObjectModel.cpp.

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

Definition at line 107 of file ObjectModel.cpp.

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

Definition at line 114 of file ObjectModel.cpp.

Definition at line 95 of file ObjectModel.cpp.

Definition at line 104 of file ObjectModel.cpp.

Definition at line 79 of file ObjectModel.cpp.

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

Definition at line 58 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 Fri Aug 28 2015 11:05:21