Fawkes API Fawkes Development Version
pike.h
1
2/***************************************************************************
3 * pike.h - AlliedVision Pike camera
4 *
5 * Generated: Tue Mar 16 15:24:57 2010
6 * Copyright 2010 Daniel Beck
7 *
8 ****************************************************************************/
9
10/* This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version. A runtime exception applies to
14 * this software (see LICENSE.GPL_WRE file mentioned below for details).
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Library General Public License for more details.
20 *
21 * Read the full text in the LICENSE.GPL_WRE file in the doc directory.
22 */
23
24#ifndef _FIREVISION_CAMS_PIKE_H_
25#define _FIREVISION_CAMS_PIKE_H_
26
27#include <fvcams/firewire.h>
28
29namespace firevision {
30
32{
33public:
35 virtual ~PikeCamera();
36
37 virtual void open();
38
39 virtual void print_info();
40
41 virtual bool set_autofunction_aoi(unsigned int left,
42 unsigned int top,
43 unsigned int width,
44 unsigned int height,
45 bool show_work_area = false);
46
47 virtual void parse_set_autofnc_aoi(const char *aoi);
48
49private:
50 bool set_autofnc_aoi_;
51 unsigned int aoi_left_;
52 unsigned int aoi_top_;
53 unsigned int aoi_width_;
54 unsigned int aoi_height_;
55 bool aoi_show_work_area_;
56};
57
58} // end namespace firevision
59
60#endif /* FIREVISION_CAMS_PIKE_H__ */
Camera argument parser.
Definition: camargp.h:36
Firewire camera.
Definition: firewire.h:41
Pike camera.
Definition: pike.h:32
virtual void print_info()
Print out camera information.
Definition: pike.cpp:153
PikeCamera(const CameraArgumentParser *cap)
Constructor.
Definition: pike.cpp:113
virtual void open()
Open the camera.
Definition: pike.cpp:135
virtual ~PikeCamera()
Destructor.
Definition: pike.cpp:130
virtual void parse_set_autofnc_aoi(const char *aoi)
Parse the autofnc_aoi parameter in the camera argument string.
Definition: pike.cpp:264
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.
Definition: pike.cpp:192