ed
|
#include <entity.h>
Public Member Functions | |
void | addMeasurement (MeasurementConstPtr measurement) |
void | addType (const TYPE &type) |
void | addVolume (const std::string &volume_name, const geo::ShapeConstPtr &volume_shape) |
MeasurementConstPtr | bestMeasurement () const |
geo::ShapeConstPtr | collision () const |
unsigned long | collisionRevision () const |
const ConvexHull & | convexHull () const |
const std::map< std::string, MeasurementConvexHull > & | convexHullMap () const |
const tue::config::DataConstPointer & | data () const |
Entity (const UUID &id=generateID(), const TYPE &type="", const unsigned int &measurement_buffer_size=5) | |
double | existenceProbability () const |
const std::set< std::string > & | flags () const |
bool | has_pose () const |
bool | hasFlag (const std::string &flag) const |
bool | hasType (const TYPE &type) const |
const UUID & | id () const |
MeasurementConstPtr | lastMeasurement () const |
double | lastUpdateTimestamp () const |
void | measurements (std::vector< MeasurementConstPtr > &measurements, double min_timestamp=0) const |
void | measurements (std::vector< MeasurementConstPtr > &measurements, unsigned int num) const |
unsigned int | measurementSeq () const |
const geo::Pose3D & | pose () const |
const std::map< Idx, Property > & | properties () const |
template<typename T > | |
const T * | property (const PropertyKey< T > &key) const |
Idx | relationFrom (Idx parent_idx) const |
const std::map< Idx, Idx > & | relationsFrom () const |
const std::map< Idx, Idx > & | relationsTo () const |
Idx | relationTo (Idx child_idx) const |
void | removeFlag (const std::string &flag) |
void | removePose () |
void | removeType (const TYPE &type) |
void | removeVolume (const std::string &volume_name) |
unsigned long | revision () const |
void | setCollision (const geo::ShapeConstPtr &collision) |
void | setConvexHull (const ConvexHull &convex_hull, const geo::Pose3D &pose, double time, const std::string &source="") |
void | setData (const tue::config::DataConstPointer &data) |
void | setExistenceProbability (double prob) |
void | setFlag (const std::string &flag) |
void | setLastUpdateTimestamp (double t) |
void | setPose (const geo::Pose3D &pose) |
void | setProperty (Idx idx, const Property &p) |
void | setRelationFrom (Idx parent_idx, Idx r_idx) |
void | setRelationTo (Idx child_idx, Idx r_idx) |
void | setRevision (unsigned long revision) |
void | setShape (const geo::ShapeConstPtr &shape) |
void | setType (const TYPE &type) |
void | setVisual (const geo::ShapeConstPtr &visual) |
geo::ShapeConstPtr | shape () const |
unsigned long | shapeRevision () const |
const TYPE & | type () const |
const std::set< TYPE > & | types () const |
geo::ShapeConstPtr | visual () const |
unsigned long | visualRevision () const |
const std::map< std::string, geo::ShapeConstPtr > & | volumes () const |
unsigned long | volumesRevision () const |
~Entity () | |
Static Public Member Functions | |
static UUID | generateID () |
Private Member Functions | |
void | updateConvexHull () |
void | updateConvexHullFromVisual () |
Private Attributes | |
MeasurementConstPtr | best_measurement_ |
geo::ShapeConstPtr | collision_ |
unsigned long | collision_revision_ |
tue::config::DataConstPointer | config_ |
std::map< std::string, MeasurementConvexHull > | convex_hull_map_ |
ConvexHull | convex_hull_new_ |
double | existence_prob_ |
std::set< std::string > | flags_ |
bool | has_pose_ |
UUID | id_ |
double | last_update_timestamp_ |
boost::circular_buffer< MeasurementConstPtr > | measurements_ |
unsigned int | measurements_seq_ |
geo::Pose3D | pose_ |
std::map< Idx, Property > | properties_ |
std::map< Idx, Idx > | relations_from_ |
std::map< Idx, Idx > | relations_to_ |
unsigned long | revision_ |
TYPE | type_ |
std::set< TYPE > | types_ |
geo::ShapeConstPtr | visual_ |
unsigned long | visual_revision_ |
std::map< std::string, geo::ShapeConstPtr > | volumes_ |
unsigned long | volumes_revision_ |
ed::Entity::Entity | ( | const UUID & | id = generateID() , |
const TYPE & | type = "" , |
||
const unsigned int & | measurement_buffer_size = 5 |
||
) |
Definition at line 17 of file entity.cpp.
ed::Entity::~Entity | ( | ) |
Definition at line 36 of file entity.cpp.
void ed::Entity::addMeasurement | ( | MeasurementConstPtr | measurement | ) |
Definition at line 144 of file entity.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
Definition at line 198 of file entity.cpp.
|
inline |
MeasurementConstPtr ed::Entity::lastMeasurement | ( | ) | const |
Definition at line 188 of file entity.cpp.
void ed::Entity::measurements | ( | std::vector< MeasurementConstPtr > & | measurements, |
double | min_timestamp = 0 |
||
) | const |
Definition at line 165 of file entity.cpp.
void ed::Entity::measurements | ( | std::vector< MeasurementConstPtr > & | measurements, |
unsigned int | num | ||
) | const |
Definition at line 178 of file entity.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
void ed::Entity::setCollision | ( | const geo::ShapeConstPtr & | collision | ) |
Definition at line 132 of file entity.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void ed::Entity::setVisual | ( | const geo::ShapeConstPtr & | visual | ) |
Definition at line 119 of file entity.cpp.
|
inline |
|
private |
Definition at line 43 of file entity.cpp.
|
private |
Definition at line 88 of file entity.cpp.
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |