Fawkes API
Fawkes Development Version
|
00001 00002 /*************************************************************************** 00003 * zoom.h - Abstract class defining a camera zoom controller 00004 * 00005 * Created: Wed Apr 22 10:50:53 2009 00006 * Copyright 2009 Tobias Kellner 00007 * 2005-2009 Tim Niemueller [www.niemueller.de] 00008 * 00009 ****************************************************************************/ 00010 00011 /* This program is free software; you can redistribute it and/or modify 00012 * it under the terms of the GNU General Public License as published by 00013 * the Free Software Foundation; either version 2 of the License, or 00014 * (at your option) any later version. A runtime exception applies to 00015 * this software (see LICENSE.GPL_WRE file mentioned below for details). 00016 * 00017 * This program is distributed in the hope that it will be useful, 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 * GNU Library General Public License for more details. 00021 * 00022 * Read the full text in the LICENSE.GPL_WRE file in the doc directory. 00023 */ 00024 00025 #ifndef __FIREVISION_CAMS_CONTROL_ZOOM_H_ 00026 #define __FIREVISION_CAMS_CONTROL_ZOOM_H_ 00027 00028 #include <fvcams/control/control.h> 00029 00030 namespace firevision { 00031 #if 0 /* just to make Emacs auto-indent happy */ 00032 } 00033 #endif 00034 00035 class CameraControlZoom : virtual public CameraControl 00036 { 00037 public: 00038 virtual ~CameraControlZoom(); 00039 00040 virtual void reset_zoom() = 0; 00041 virtual void set_zoom(unsigned int zoom) = 0; 00042 virtual unsigned int zoom() = 0; 00043 virtual unsigned int zoom_max() = 0; 00044 virtual unsigned int zoom_min() = 0; 00045 virtual void set_zoom_speed_tele(unsigned int speed); 00046 virtual void set_zoom_speed_wide(unsigned int speed); 00047 virtual void set_zoom_digital_enabled(bool enabled); 00048 }; 00049 00050 } // end namespace firevision 00051 00052 #endif // __FIREVISION_CAMS_CONTROL_ZOOM_H_