Pike camera. More...
#include <>>
Public Member Functions | |
PikeCamera (const CameraArgumentParser *cap) | |
Constructor. | |
virtual | ~PikeCamera () |
Destructor. | |
virtual void | open () |
virtual void | print_info () |
virtual bool | set_autofunction_aoi (unsigned int left, unsigned int top, unsigned int width, unsigned int height, bool show_work_area=false) |
Set the area of interest (AOI) for the auto functions. | |
virtual void | parse_set_autofnc_aoi (const char *aoi) |
Parse the autofnc_aoi parameter in the camera argument string. |
Pike camera.
Allows to access some special features of the Pike camera made by Allied Vision Technologies.
Definition at line 34 of file pike.h.
firevision::PikeCamera::PikeCamera | ( | const CameraArgumentParser * | cap | ) |
Constructor.
cap | Camera argument parser. |
Definition at line 112 of file pike.cpp.
References firevision::CameraArgumentParser::get(), firevision::CameraArgumentParser::has(), and parse_set_autofnc_aoi().
firevision::PikeCamera::~PikeCamera | ( | ) | [virtual] |
void firevision::PikeCamera::parse_set_autofnc_aoi | ( | const char * | aoi | ) | [virtual] |
Parse the autofnc_aoi parameter in the camera argument string.
The format ist <left>x<top>+<width>x<height>-<show>. "-\<show\>" is optional.
aoi | the parameter string of the autofnc_aoi parameter |
Definition at line 275 of file pike.cpp.
Referenced by PikeCamera().
bool firevision::PikeCamera::set_autofunction_aoi | ( | unsigned int | left, | |
unsigned int | top, | |||
unsigned int | width, | |||
unsigned int | height, | |||
bool | show_work_area = false | |||
) | [virtual] |
Set the area of interest (AOI) for the auto functions.
left | offset form the left image border | |
top | offset form the top image border | |
width | width of the AOI | |
height | height of the AOI | |
show_work_area | highlight the work area in the image |
Definition at line 197 of file pike.cpp.
References firevision::FirewireCamera::_camera, firevision::FirewireCamera::_opened, firevision::avt_af_area_size_t::height, firevision::avt_af_area_position_t::left, firevision::avt_autofnc_aoi_t::on_off, firevision::avt_autofnc_aoi_t::show_work_area, firevision::avt_af_area_position_t::top, and firevision::avt_af_area_size_t::width.