#include <Camera.h>
Public Types | |
typedef boost::function< void(IplImage *) | camCaptureCB ) |
Public Member Functions | |
Camera () | |
bool | checkVersion (int &Major, int &Minor, int &Build, char *&Expected) |
void | closeCamera () |
bool | forceTrigger () |
bool | getAutoExposure () |
bool | getAutoGain () |
char * | getCameraName () |
unsigned int | getCameraSerialNo () |
double | getExposure () |
bool | getGainBoost () |
unsigned int | getHardwareGain () |
bool | getHardwareGamma () |
int | getHeight () |
int | getHeightMax () |
int | getNumberOfCameras () |
int | getPixelClock () |
unsigned int | getSerialNumberList (vector< unsigned int > &SerNo, vector< unsigned int > &DevId) |
TriggerMode | getSupportedTriggers () |
TriggerMode | getTriggerMode () |
int | getWidth () |
int | getWidthMax () |
int | getZoom () |
bool | openCameraCamId (unsigned int id) |
bool | openCameraDevId (unsigned int id) |
bool | openCameraSerNo (unsigned int serial_number) |
void | setAutoExposure (bool *Enable) |
void | setAutoGain (bool *Enable) |
void | setColorMode (uEyeColor mode) |
void | setExposure (double *time_ms) |
void | setFlash (FlashMode mode, int delay_usec, unsigned int duration_usec) |
void | setFlash (FlashMode mode) |
void | setFlashWithGlobalParams (FlashMode mode) |
void | setFrameRate (double *rate) |
void | setGainBoost (bool *Enable) |
void | setHardwareGain (int *gain) |
void | setHardwareGamma (bool *Enable) |
void | setPixelClock (int *MHz) |
void | setTriggerDelay (int delay_usec) |
bool | setTriggerMode (TriggerMode mode) |
void | setZoom (int *zoom) |
void | startVideoCapture (camCaptureCB) |
void | stopVideoCapture () |
~Camera () | |
Private Member Functions | |
void | captureThread (camCaptureCB captureCallback) |
void | CheckError (INT err) |
void | destroyMemoryPool () |
void | flashUpdateGlobalParams () |
int | getBinningParam (int *scale) |
int | getSubsampleParam (int *scale) |
void | initMemoryPool (int size) |
void | InitPrivateVariables () |
void | restartVideoCapture () |
Private Attributes | |
bool | AutoExposure_ |
bool | AutoGain_ |
SENSORINFO | camInfo_ |
uEyeColor | ColorMode_ |
double | ExposureTime_ |
bool | FlashGlobalParams_ |
double | FrameRate_ |
bool | GainBoost_ |
int | HardwareGain_ |
bool | HardwareGamma_ |
HIDS | hCam_ |
char ** | imgMem_ |
int * | imgMemId_ |
int | NumBuffers_ |
int | PixelClock_ |
unsigned int | serialNo_ |
bool | StopCapture_ |
camCaptureCB | StreamCallback_ |
bool | Streaming_ |
boost::thread | VidThread_ |
int | Zoom_ |
typedef boost::function<void (IplImage *) ueye::Camera::camCaptureCB) |
Definition at line 101 of file Camera.cpp.
Definition at line 518 of file Camera.cpp.
void ueye::Camera::captureThread | ( | camCaptureCB | captureCallback | ) | [private] |
Definition at line 550 of file Camera.cpp.
void ueye::Camera::CheckError | ( | INT | err | ) | [private] |
Definition at line 63 of file Camera.cpp.
bool ueye::Camera::checkVersion | ( | int & | Major, |
int & | Minor, | ||
int & | Build, | ||
char *& | Expected | ||
) |
Definition at line 106 of file Camera.cpp.
void ueye::Camera::closeCamera | ( | ) |
Definition at line 510 of file Camera.cpp.
void ueye::Camera::destroyMemoryPool | ( | ) | [private] |
Definition at line 542 of file Camera.cpp.
void ueye::Camera::flashUpdateGlobalParams | ( | ) | [private] |
Definition at line 448 of file Camera.cpp.
bool ueye::Camera::forceTrigger | ( | ) |
Definition at line 462 of file Camera.cpp.
bool ueye::Camera::getAutoExposure | ( | ) |
Definition at line 224 of file Camera.cpp.
bool ueye::Camera::getAutoGain | ( | ) |
Definition at line 246 of file Camera.cpp.
int ueye::Camera::getBinningParam | ( | int * | scale | ) | [private] |
Definition at line 489 of file Camera.cpp.
char * ueye::Camera::getCameraName | ( | ) |
Definition at line 197 of file Camera.cpp.
unsigned int ueye::Camera::getCameraSerialNo | ( | ) |
Definition at line 201 of file Camera.cpp.
double ueye::Camera::getExposure | ( | ) |
Definition at line 228 of file Camera.cpp.
bool ueye::Camera::getGainBoost | ( | ) |
Definition at line 242 of file Camera.cpp.
unsigned int ueye::Camera::getHardwareGain | ( | ) |
Definition at line 250 of file Camera.cpp.
bool ueye::Camera::getHardwareGamma | ( | ) |
Definition at line 234 of file Camera.cpp.
int ueye::Camera::getHeight | ( | ) |
Definition at line 220 of file Camera.cpp.
int ueye::Camera::getHeightMax | ( | ) |
Definition at line 212 of file Camera.cpp.
int ueye::Camera::getNumberOfCameras | ( | ) |
Definition at line 119 of file Camera.cpp.
int ueye::Camera::getPixelClock | ( | ) |
Definition at line 238 of file Camera.cpp.
unsigned int ueye::Camera::getSerialNumberList | ( | vector< unsigned int > & | SerNo, |
vector< unsigned int > & | DevId | ||
) |
Definition at line 127 of file Camera.cpp.
int ueye::Camera::getSubsampleParam | ( | int * | scale | ) | [private] |
Definition at line 469 of file Camera.cpp.
Definition at line 259 of file Camera.cpp.
Definition at line 255 of file Camera.cpp.
int ueye::Camera::getWidth | ( | ) |
Definition at line 216 of file Camera.cpp.
int ueye::Camera::getWidthMax | ( | ) |
Definition at line 208 of file Camera.cpp.
int ueye::Camera::getZoom | ( | ) |
Definition at line 204 of file Camera.cpp.
void ueye::Camera::initMemoryPool | ( | int | size | ) | [private] |
Definition at line 522 of file Camera.cpp.
void ueye::Camera::InitPrivateVariables | ( | ) | [private] |
Definition at line 79 of file Camera.cpp.
bool ueye::Camera::openCameraCamId | ( | unsigned int | id | ) |
Definition at line 150 of file Camera.cpp.
bool ueye::Camera::openCameraDevId | ( | unsigned int | id | ) |
Definition at line 180 of file Camera.cpp.
bool ueye::Camera::openCameraSerNo | ( | unsigned int | serial_number | ) |
Definition at line 184 of file Camera.cpp.
void ueye::Camera::restartVideoCapture | ( | ) | [private] |
Definition at line 592 of file Camera.cpp.
void ueye::Camera::setAutoExposure | ( | bool * | Enable | ) |
Definition at line 269 of file Camera.cpp.
void ueye::Camera::setAutoGain | ( | bool * | Enable | ) |
Definition at line 366 of file Camera.cpp.
void ueye::Camera::setColorMode | ( | uEyeColor | mode | ) |
Definition at line 264 of file Camera.cpp.
void ueye::Camera::setExposure | ( | double * | time_ms | ) |
Definition at line 280 of file Camera.cpp.
void ueye::Camera::setFlash | ( | FlashMode | mode, |
int | delay_usec, | ||
unsigned int | duration_usec | ||
) |
Definition at line 423 of file Camera.cpp.
void ueye::Camera::setFlash | ( | FlashMode | mode | ) |
Definition at line 442 of file Camera.cpp.
void ueye::Camera::setFlashWithGlobalParams | ( | FlashMode | mode | ) |
Definition at line 397 of file Camera.cpp.
void ueye::Camera::setFrameRate | ( | double * | rate | ) |
Definition at line 347 of file Camera.cpp.
void ueye::Camera::setGainBoost | ( | bool * | Enable | ) |
Definition at line 353 of file Camera.cpp.
void ueye::Camera::setHardwareGain | ( | int * | gain | ) |
Definition at line 377 of file Camera.cpp.
void ueye::Camera::setHardwareGamma | ( | bool * | Enable | ) |
Definition at line 288 of file Camera.cpp.
void ueye::Camera::setPixelClock | ( | int * | MHz | ) |
Definition at line 323 of file Camera.cpp.
void ueye::Camera::setTriggerDelay | ( | int | delay_usec | ) |
Definition at line 457 of file Camera.cpp.
bool ueye::Camera::setTriggerMode | ( | TriggerMode | mode | ) |
Definition at line 388 of file Camera.cpp.
void ueye::Camera::setZoom | ( | int * | zoom | ) |
Definition at line 300 of file Camera.cpp.
void ueye::Camera::startVideoCapture | ( | camCaptureCB | callback | ) |
Definition at line 581 of file Camera.cpp.
void ueye::Camera::stopVideoCapture | ( | ) |
Definition at line 585 of file Camera.cpp.
bool ueye::Camera::AutoExposure_ [private] |
bool ueye::Camera::AutoGain_ [private] |
SENSORINFO ueye::Camera::camInfo_ [private] |
uEyeColor ueye::Camera::ColorMode_ [private] |
double ueye::Camera::ExposureTime_ [private] |
bool ueye::Camera::FlashGlobalParams_ [private] |
double ueye::Camera::FrameRate_ [private] |
bool ueye::Camera::GainBoost_ [private] |
int ueye::Camera::HardwareGain_ [private] |
bool ueye::Camera::HardwareGamma_ [private] |
HIDS ueye::Camera::hCam_ [private] |
char** ueye::Camera::imgMem_ [private] |
int* ueye::Camera::imgMemId_ [private] |
int ueye::Camera::NumBuffers_ [private] |
int ueye::Camera::PixelClock_ [private] |
unsigned int ueye::Camera::serialNo_ [private] |
bool ueye::Camera::StopCapture_ [private] |
camCaptureCB ueye::Camera::StreamCallback_ [private] |
bool ueye::Camera::Streaming_ [private] |
boost::thread ueye::Camera::VidThread_ [private] |
int ueye::Camera::Zoom_ [private] |