25 #ifndef __FIREVISION_CAMS_CONTROL_IMAGE_H_ 26 #define __FIREVISION_CAMS_CONTROL_IMAGE_H_ 28 #include <fvcams/control/control.h> 40 virtual const char *
format();
42 virtual unsigned int width() = 0;
43 virtual unsigned int height() = 0;
45 virtual void set_size(
unsigned int width,
46 unsigned int height) = 0;
49 virtual void mirror(
bool &horiz,
bool &vert);
52 virtual void set_mirror(
bool horiz,
bool vert);
54 virtual unsigned int fps();
55 virtual void set_fps(
unsigned int fps);
59 virtual void lens_corr(
unsigned int &x_corr,
unsigned int &y_corr);
62 virtual void set_lens_corr(
unsigned int x_corr,
unsigned int y_corr);
67 #endif // __FIREVISION_CAMS_CONTROL_IMAGE_H_ virtual bool vert_mirror()
Return whether the camera image is vertically mirrored.
virtual void set_lens_y_corr(unsigned int y_corr)
Set lens y correction.
virtual unsigned int lens_y_corr()
Get current lens y correction.
virtual void set_format(const char *format)
Set the image format the camera should use.
virtual ~CameraControlImage()
Empty virtual destructor.
virtual void lens_corr(unsigned int &x_corr, unsigned int &y_corr)
Get current lens correction.
Camera image control interface.
virtual void set_vert_mirror(bool enabled)
Set whether the camera should mirror images vertically.
virtual void set_lens_x_corr(unsigned int x_corr)
Set lens x correction.
Camera control interface base class.
virtual void set_size(unsigned int width, unsigned int height)=0
Set the image size the camera should use.
virtual void mirror(bool &horiz, bool &vert)
Get information about current camera image mirroring.
virtual void set_mirror(bool horiz, bool vert)
Set whether the camera should mirror images.
virtual const char * format()
Get the image format the camera currently uses.
virtual void size(unsigned int &width, unsigned int &height)
Get the current image size.
virtual bool horiz_mirror()
Return whether the camera image is horizontally mirrored.
virtual unsigned int height()=0
Get the current height of the image.
virtual unsigned int fps()
Get the number of frames per second the camera tries to deliver.
virtual void set_fps(unsigned int fps)
Set the number of frames per second the camera tries to deliver.
virtual void set_lens_corr(unsigned int x_corr, unsigned int y_corr)
Set lens correction.
virtual unsigned int width()=0
Get the current width of the image.
virtual unsigned int lens_x_corr()
Get current lens x correction.
virtual void set_horiz_mirror(bool enabled)
Set whether the camera should mirror images horizontally.