184 bool getCameraPower();
185 static unsigned int getCameraSerial(
unsigned int index);
187 float getFrameRate();
189 static unsigned int getNumCameras();
190 unsigned int getSharpness();
193 bool isCameraPowerAvailable();
198 bool isFormat7Supported(FlyCapture2::Mode format7_mode);
199 bool isVideoModeAndFrameRateSupported(FlyCapture2::VideoMode video_mode, FlyCapture2::FrameRate frame_rate);
206 float setBrightness(
bool brightness_auto,
float brightness_value = 0);
207 void setCameraIndex(
unsigned int index);
208 void setCameraPower(
bool on);
209 void setCameraSerial(
unsigned int serial);
210 float setExposure(
bool exposure_on,
bool exposure_auto,
float exposure_value = 0);
211 float setGain(
bool gain_auto,
float gain_value = 0);
212 void setFormat7VideoMode(FlyCapture2::Mode format7_mode, FlyCapture2::PixelFormat pixel_format,
unsigned int width,
213 unsigned int height);
214 float setFrameRate(
float frame_rate);
215 unsigned int setSharpness(
bool sharpness_on,
bool sharpness_auto,
unsigned int sharpness_value = 0);
216 float setShutter(
bool auto_shutter,
float shutter_ms = 10);
217 void setVideoModeAndFrameRate(FlyCapture2::VideoMode video_mode, FlyCapture2::FrameRate frame_rate);
228 std::pair<unsigned int, unsigned int> centerRoi(
unsigned int size,
unsigned int max_size,
unsigned int step);
229 FlyCapture2::Property getProperty(FlyCapture2::PropertyType prop_type);
230 FlyCapture2::PropertyInfo getPropertyInfo(FlyCapture2::PropertyType prop_type);
232 void setProperty(
const FlyCapture2::PropertyType &prop_type,
bool on,
bool auto_on,
float value,
233 PropertyValue prop_value = ABS_VALUE);