a command to take a set of observations from a group of cameras upon a trigger event More...
#include <calibration_job.hpp>
Public Member Functions | |
void | addCameraToScene (boost::shared_ptr< Camera > cameras_in_scene) |
Adds a camera to the scene. | |
void | addObservationToScene (ObservationCmd observation_command) |
Adds and observation of a target by a specific camera in a region of interest. | |
void | addObservationToScene (ObservationCmd observation_command) |
Adds and observation of a target by a specific camera in a region of interest. | |
void | clear () |
Clears all observations from the command. | |
void | clear () |
Clears all observations from the command. | |
int | get_id () |
gets the id of this scene | |
int | get_id () |
gets the id of this scene | |
Trigger | get_trigger () |
gets the trigger of this scene | |
Trigger | get_trigger () |
gets the trigger of this scene | |
ObservationScene (Trigger trig, int scene_id) | |
Constructor,. | |
ObservationScene () | |
destructor, clears observation command list | |
ObservationScene (Trigger trig, int scene_id) | |
Constructor,. | |
ObservationScene () | |
destructor, clears observation command list | |
void | populateObsCmdList (boost::shared_ptr< Camera > camera, boost::shared_ptr< Target > target, Roi roi) |
will populate the observation_command_list_ | |
void | setSceneId (int sceneId) |
set scene_id for this scene | |
void | setTrig (const Trigger &trig) |
set the trigger for this scene | |
Public Attributes | |
std::vector< boost::shared_ptr < Camera > > | cameras_in_scene_ |
std::vector< ObservationCmd > | observation_command_list_ |
Private Attributes | |
int | scene_id_ |
Trigger | trig_ |
a command to take a set of observations from a group of cameras upon a trigger event
Definition at line 84 of file calibration_job.hpp.
industrial_extrinsic_cal::ObservationScene::ObservationScene | ( | Trigger | trig, |
int | scene_id | ||
) | [inline] |
Constructor,.
Trigger | Trig the type of trigger to initiate this observation |
Definition at line 90 of file calibration_job.hpp.
destructor, clears observation command list
Definition at line 97 of file calibration_job.hpp.
industrial_extrinsic_cal::ObservationScene::ObservationScene | ( | Trigger | trig, |
int | scene_id | ||
) | [inline] |
Constructor,.
Trigger | Trig the type of trigger to initiate this observation |
Definition at line 38 of file observation_scene.h.
destructor, clears observation command list
Definition at line 45 of file observation_scene.h.
void industrial_extrinsic_cal::ObservationScene::addCameraToScene | ( | boost::shared_ptr< Camera > | cameras_in_scene | ) |
Adds a camera to the scene.
cameras_in_scene |
Definition at line 54 of file observation_scene.cpp.
void industrial_extrinsic_cal::ObservationScene::addObservationToScene | ( | ObservationCmd | observation_command | ) |
Adds and observation of a target by a specific camera in a region of interest.
observation_command,: | the camera to make the observation |
target,: | the target to be observed |
roi,: | the region of interest in the camera's field of view to look for target |
void industrial_extrinsic_cal::ObservationScene::addObservationToScene | ( | ObservationCmd | observation_command | ) |
Adds and observation of a target by a specific camera in a region of interest.
observation_command,: | the camera to make the observation |
target,: | the target to be observed |
roi,: | the region of interest in the camera's field of view to look for target |
Definition at line 62 of file calibration_job.cpp.
Clears all observations from the command.
Clears all observations from the command.
int industrial_extrinsic_cal::ObservationScene::get_id | ( | ) | [inline] |
gets the id of this scene
Definition at line 75 of file observation_scene.h.
int industrial_extrinsic_cal::ObservationScene::get_id | ( | ) | [inline] |
gets the id of this scene
Definition at line 114 of file calibration_job.hpp.
gets the trigger of this scene
Definition at line 82 of file observation_scene.h.
gets the trigger of this scene
Definition at line 121 of file calibration_job.hpp.
void industrial_extrinsic_cal::ObservationScene::populateObsCmdList | ( | boost::shared_ptr< Camera > | camera, |
boost::shared_ptr< Target > | target, | ||
Roi | roi | ||
) |
will populate the observation_command_list_
camera | the camera for this observation command |
target | the target for this observation command |
roi | the region of interest for this observation command |
Definition at line 60 of file observation_scene.cpp.
void industrial_extrinsic_cal::ObservationScene::setSceneId | ( | int | sceneId | ) | [inline] |
void industrial_extrinsic_cal::ObservationScene::setTrig | ( | const Trigger & | trig | ) | [inline] |
std::vector< boost::shared_ptr< Camera > > industrial_extrinsic_cal::ObservationScene::cameras_in_scene_ |
list of cameras in this scened
list of cameras in this scene
Definition at line 128 of file calibration_job.hpp.
list of observations for a scene
Definition at line 125 of file calibration_job.hpp.
int industrial_extrinsic_cal::ObservationScene::scene_id_ [private] |
unique identifier of this scene
Definition at line 132 of file calibration_job.hpp.
event to trigger the observations in this command
Definition at line 131 of file calibration_job.hpp.