#include <mi_scene.hh>
Inheritance diagram for mi_scene:
Public Member Functions | |
mi_scene (void) | |
Constructor. | |
std::vector< mi_object_instance_ptr > & | get_objects (void) |
Gain access to list of micro-objects. | |
const std::vector< mi_object_instance_ptr > & | get_objects (void) const |
Same as above (but const). | |
void | add_job (const std::string &name, int maxNum) |
Add a recognition task. | |
std::map< std::string, int > & | get_jobs (void) |
Access job-list. | |
Protected Attributes | |
std::vector< mi_object_instance_ptr > | objects |
List of micro-objects. | |
std::map< std::string, int > | jobs |
List of recognition-jobs. |
This object is used for exchanging data between the vision-system and the calling program. mi_recognition
objects must store all information in this object, which is required for the later recognition-steps.
This class is part of the public interface.
|
Constructor. Constructs an empty scene. |
|
Add a recognition task. A job to recognise a new object is being specified. The recognition-job will only be attempted once. Afterwards it has to be added again. If there are two conflicting specifications for the same type of micro-object, the first one will be overriden.
|
|
Gain access to list of micro-objects. This list of objects contains the micro-objects, which are being tracked at the moment. If a object shouldn't be tracked any more, it has to be removed by the calling program.
|
|
List of recognition-jobs. This is the list of recognition-jobs to be attempted on the next image. |
|
List of micro-objects. This is the list of micro-object being tracked at the moment.
|