#include <mi_object_instance.hh>
Inheritance diagram for mi_object_instance:
Public Member Functions | |
mi_object_instance (const std::string &_type, int _nr, double _timestamp, mi_pose _pose, vision_type type, instance_data_ptr _data) | |
Constructor. | |
std::string | get_type (void) const |
Get class of recognised object. | |
int | get_id (void) const |
Get number of instance for discerning several objects of same class. | |
double | get_timestamp (void) const |
Get timestamp of recognition. | |
const mi_pose & | get_pose (void) const |
Get external pose of micro-object. | |
instance_data_ptr | data (vision_type type) |
Internal data for vision-algorithms. | |
Protected Attributes | |
std::pair< std::string, int > | id |
Unique identification of the micro-object. | |
double | timestamp |
Timestamp of recognition. | |
mi_pose | pose |
External pose of micro-object. | |
std::map< vision_type, instance_data_ptr > | internal_data |
Internal data for vision-algorithms. |
This object represents a recognition result for a single instance of a class of micro-object.
In contrast to match
, this is the result after filtering out unlikely hypotheses.
This class is part of the public interface.
|
Constructor.
|
|
Get number of instance for discerning several objects of same class.
|
|
Get external pose of micro-object. The pose is specifying the transform from the micro-object's coordinate-system to the camera's coordinate-system. The relation between the object and its coordinate-system is customizable with the xml-configuration-file.
|
|
Get timestamp of recognition. The timestamp of the image, on which the recognition was done, is returned. It indicates the time, where the micro-object was at this pose.
|
|
Get class of recognised object. The string must match one of the identifiers in the database of micro-objects.
|