Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
ueye::Camera Class Reference

#include <Camera.h>

List of all members.

Public Types

typedef boost::function< void(IplImage *) CamCaptureCB )

Public Member Functions

 Camera ()
void closeCamera ()
bool forceTrigger ()
bool getAutoExposure () const
bool getAutoGain () const
const char * getCameraName () const
unsigned int getCameraSerialNo () const
uEyeColor getColorMode () const
double getExposure () const
bool getGainBoost () const
unsigned int getHardwareGain ()
bool getHardwareGamma () const
int getHeight () const
int getHeightMax () const
int getNumberOfCameras () const
int getPixelClock () const
unsigned int getSerialNumberList (std::vector< unsigned int > &serial, std::vector< unsigned int > &dev_id)
TriggerMode getSupportedTriggers () const
TriggerMode getTriggerMode () const
int getWidth () const
int getWidthMax () const
int getZoom () const
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 ()

Static Public Member Functions

static bool checkVersion (int &major, int &minor, int &build, const char *&expected)
static const char * colorModeToString (uEyeColor mode)

Private Member Functions

void captureThread (CamCaptureCB callback)
void checkError (INT err) const
void destroyMemoryPool ()
void flashUpdateGlobalParams ()
int getBinningParam (int *scale)
int getSubsampleParam (int *scale)
void initMemoryPool (int size)
void initPrivateVariables ()
void restartVideoCapture ()

Private Attributes

bool auto_exposure_
bool auto_gain_
HIDS cam_
SENSORINFO cam_info_
uEyeColor color_mode_
double exposure_time_
bool flash_global_params_
double frame_rate_
bool gain_boost_
int hardware_gain_
bool hardware_gamma_
std::vector< char * > img_mem_
std::vector< int > img_mem_id_
int pixel_clock_
unsigned int serial_number_
bool stop_capture_
CamCaptureCB stream_callback_
bool streaming_
boost::thread thread_
int zoom_

Detailed Description

Definition at line 92 of file Camera.h.


Member Typedef Documentation

typedef boost::function<void(IplImage *) ueye::Camera::CamCaptureCB)

Definition at line 146 of file Camera.h.


Constructor & Destructor Documentation

Definition at line 117 of file Camera.cpp.

Definition at line 577 of file Camera.cpp.


Member Function Documentation

void ueye::Camera::captureThread ( CamCaptureCB  callback) [private]

Definition at line 634 of file Camera.cpp.

void ueye::Camera::checkError ( INT  err) const [inline, private]

Definition at line 80 of file Camera.cpp.

bool ueye::Camera::checkVersion ( int &  major,
int &  minor,
int &  build,
const char *&  expected 
) [static]

Definition at line 124 of file Camera.cpp.

Definition at line 568 of file Camera.cpp.

const char * ueye::Camera::colorModeToString ( uEyeColor  mode) [static]

Definition at line 216 of file Camera.cpp.

void ueye::Camera::destroyMemoryPool ( ) [private]

Definition at line 625 of file Camera.cpp.

Definition at line 507 of file Camera.cpp.

Definition at line 520 of file Camera.cpp.

Definition at line 277 of file Camera.cpp.

bool ueye::Camera::getAutoGain ( ) const

Definition at line 299 of file Camera.cpp.

int ueye::Camera::getBinningParam ( int *  scale) [private]

Definition at line 547 of file Camera.cpp.

const char * ueye::Camera::getCameraName ( ) const

Definition at line 245 of file Camera.cpp.

unsigned int ueye::Camera::getCameraSerialNo ( ) const

Definition at line 249 of file Camera.cpp.

Definition at line 273 of file Camera.cpp.

double ueye::Camera::getExposure ( ) const

Definition at line 281 of file Camera.cpp.

Definition at line 295 of file Camera.cpp.

Definition at line 303 of file Camera.cpp.

Definition at line 287 of file Camera.cpp.

int ueye::Camera::getHeight ( ) const

Definition at line 269 of file Camera.cpp.

Definition at line 261 of file Camera.cpp.

Definition at line 139 of file Camera.cpp.

Definition at line 291 of file Camera.cpp.

unsigned int ueye::Camera::getSerialNumberList ( std::vector< unsigned int > &  serial,
std::vector< unsigned int > &  dev_id 
)

Definition at line 146 of file Camera.cpp.

int ueye::Camera::getSubsampleParam ( int *  scale) [private]

Definition at line 527 of file Camera.cpp.

Definition at line 312 of file Camera.cpp.

Definition at line 308 of file Camera.cpp.

int ueye::Camera::getWidth ( ) const

Definition at line 265 of file Camera.cpp.

Definition at line 257 of file Camera.cpp.

int ueye::Camera::getZoom ( ) const

Definition at line 253 of file Camera.cpp.

void ueye::Camera::initMemoryPool ( int  size) [private]

Definition at line 582 of file Camera.cpp.

Definition at line 96 of file Camera.cpp.

bool ueye::Camera::openCameraCamId ( unsigned int  id)

Definition at line 169 of file Camera.cpp.

bool ueye::Camera::openCameraDevId ( unsigned int  id)

Definition at line 199 of file Camera.cpp.

bool ueye::Camera::openCameraSerNo ( unsigned int  serial_number)

Definition at line 203 of file Camera.cpp.

Definition at line 720 of file Camera.cpp.

void ueye::Camera::setAutoExposure ( bool *  enable)

Definition at line 330 of file Camera.cpp.

void ueye::Camera::setAutoGain ( bool *  enable)

Definition at line 427 of file Camera.cpp.

Definition at line 317 of file Camera.cpp.

void ueye::Camera::setExposure ( double *  time_ms)

Definition at line 341 of file Camera.cpp.

void ueye::Camera::setFlash ( FlashMode  mode,
int  delay_usec,
unsigned int  duration_usec 
)

Definition at line 483 of file Camera.cpp.

Definition at line 501 of file Camera.cpp.

Definition at line 458 of file Camera.cpp.

void ueye::Camera::setFrameRate ( double *  rate)

Definition at line 408 of file Camera.cpp.

void ueye::Camera::setGainBoost ( bool *  enable)

Definition at line 414 of file Camera.cpp.

void ueye::Camera::setHardwareGain ( int *  gain)

Definition at line 438 of file Camera.cpp.

void ueye::Camera::setHardwareGamma ( bool *  enable)

Definition at line 349 of file Camera.cpp.

void ueye::Camera::setPixelClock ( int *  MHz)

Definition at line 384 of file Camera.cpp.

void ueye::Camera::setTriggerDelay ( int  delay_usec)

Definition at line 515 of file Camera.cpp.

Definition at line 449 of file Camera.cpp.

void ueye::Camera::setZoom ( int *  zoom)

Definition at line 361 of file Camera.cpp.

Definition at line 707 of file Camera.cpp.

Definition at line 712 of file Camera.cpp.


Member Data Documentation

Definition at line 167 of file Camera.h.

bool ueye::Camera::auto_gain_ [private]

Definition at line 173 of file Camera.h.

HIDS ueye::Camera::cam_ [private]

Definition at line 177 of file Camera.h.

SENSORINFO ueye::Camera::cam_info_ [private]

Definition at line 178 of file Camera.h.

Definition at line 166 of file Camera.h.

double ueye::Camera::exposure_time_ [private]

Definition at line 168 of file Camera.h.

Definition at line 176 of file Camera.h.

double ueye::Camera::frame_rate_ [private]

Definition at line 175 of file Camera.h.

bool ueye::Camera::gain_boost_ [private]

Definition at line 170 of file Camera.h.

Definition at line 174 of file Camera.h.

Definition at line 169 of file Camera.h.

std::vector<char*> ueye::Camera::img_mem_ [private]

Definition at line 159 of file Camera.h.

std::vector<int> ueye::Camera::img_mem_id_ [private]

Definition at line 160 of file Camera.h.

Definition at line 172 of file Camera.h.

unsigned int ueye::Camera::serial_number_ [private]

Definition at line 179 of file Camera.h.

Definition at line 182 of file Camera.h.

Definition at line 183 of file Camera.h.

bool ueye::Camera::streaming_ [private]

Definition at line 181 of file Camera.h.

boost::thread ueye::Camera::thread_ [private]

Definition at line 184 of file Camera.h.

int ueye::Camera::zoom_ [private]

Definition at line 171 of file Camera.h.


The documentation for this class was generated from the following files:


ueye
Author(s): Kevin Hallenbeck
autogenerated on Mon Oct 6 2014 08:20:20