#include <DragonFlyCapture.h>
Public Member Functions | |
bool | CaptureImage (CByteImage **ppImages) |
CDragonFlyCapture (int nCameras, VideoMode mode, ColorMode colorMode, ImageProcessor::BayerPatternType bayerPatternType) | |
CDragonFlyCapture (VideoMode mode, ColorMode colorMode, ImageProcessor::BayerPatternType bayerPatternType) | |
Constructor that automatically detects the number of cameras. | |
void | CloseCamera () |
void | GetCurrentTimestamp (unsigned int &sec, unsigned int &usec) |
int | GetHeight () |
int | GetNumberOfCameras () |
unsigned int | GetSerialFromCamera (int nCamera) |
Get the serial number from the camera. | |
CByteImage::ImageType | GetType () |
int | GetWidth () |
bool | OpenCamera () |
void | SwapCameras (int nCamera1, int nCamera2) |
Swap the camera source. | |
~CDragonFlyCapture () | |
Private Attributes | |
int | height |
const ImageProcessor::BayerPatternType | m_bayerPatternType |
const ColorMode | m_colorMode |
FlyCaptureContext | m_flyCaptureContext [DRAGONFLY_MAX_CAMERAS] |
Context pointer for the PGRFlyCapture library. | |
FlyCaptureInfoEx | m_flyCaptureInfoEx |
Information from the camera. | |
const VideoMode | m_mode |
int | m_nCameras |
CByteImage * | m_ppImages [DRAGONFLY_MAX_CAMERAS] |
FlyCaptureImage * | m_ppInternalImages [DRAGONFLY_MAX_CAMERAS] |
CByteImage * | m_ppOriginalImages [DRAGONFLY_MAX_CAMERAS] |
unsigned int | m_sec |
unsigned int | m_usec |
int | width |
Definition at line 75 of file DragonFlyCapture.h.
CDragonFlyCapture::CDragonFlyCapture | ( | int | nCameras, |
VideoMode | mode, | ||
ColorMode | colorMode, | ||
ImageProcessor::BayerPatternType | bayerPatternType | ||
) |
Definition at line 61 of file DragonFlyCapture.cpp.
CDragonFlyCapture::CDragonFlyCapture | ( | VideoMode | mode, |
ColorMode | colorMode, | ||
ImageProcessor::BayerPatternType | bayerPatternType | ||
) |
Constructor that automatically detects the number of cameras.
This constructor finds all the cameras on the machine.
mode | is the Video Mode |
colorMode | is the color mode of the images to capture. |
bayerPatternType | is the pattern type of the camera's CCD. |
Definition at line 78 of file DragonFlyCapture.cpp.
Definition at line 101 of file DragonFlyCapture.cpp.
bool CDragonFlyCapture::CaptureImage | ( | CByteImage ** | ppImages | ) | [virtual] |
Implements CVideoCaptureInterface.
Definition at line 218 of file DragonFlyCapture.cpp.
void CDragonFlyCapture::CloseCamera | ( | ) | [virtual] |
Implements CVideoCaptureInterface.
Definition at line 186 of file DragonFlyCapture.cpp.
void CDragonFlyCapture::GetCurrentTimestamp | ( | unsigned int & | sec, |
unsigned int & | usec | ||
) |
Definition at line 280 of file DragonFlyCapture.cpp.
int CDragonFlyCapture::GetHeight | ( | ) | [inline, virtual] |
Implements CVideoCaptureInterface.
Definition at line 99 of file DragonFlyCapture.h.
int CDragonFlyCapture::GetNumberOfCameras | ( | ) | [inline, virtual] |
Implements CVideoCaptureInterface.
Definition at line 101 of file DragonFlyCapture.h.
unsigned int CDragonFlyCapture::GetSerialFromCamera | ( | int | nCamera | ) |
Get the serial number from the camera.
Get the serial number from the camera to identify it.
nCamera | is the number of the camera to identify. |
Definition at line 286 of file DragonFlyCapture.cpp.
CByteImage::ImageType CDragonFlyCapture::GetType | ( | ) | [virtual] |
Implements CVideoCaptureInterface.
Definition at line 111 of file DragonFlyCapture.cpp.
int CDragonFlyCapture::GetWidth | ( | ) | [inline, virtual] |
Implements CVideoCaptureInterface.
Definition at line 98 of file DragonFlyCapture.h.
bool CDragonFlyCapture::OpenCamera | ( | ) | [virtual] |
Implements CVideoCaptureInterface.
Definition at line 116 of file DragonFlyCapture.cpp.
void CDragonFlyCapture::SwapCameras | ( | int | nCamera1, |
int | nCamera2 | ||
) |
Swap the camera source.
Swap the camera source from two different sources. Useful when one wants to use a stereo system.
nCamera1 | camera 1 to swap |
nCamera2 | camera 2 to swap |
Definition at line 297 of file DragonFlyCapture.cpp.
int CDragonFlyCapture::height [private] |
Definition at line 144 of file DragonFlyCapture.h.
Definition at line 141 of file DragonFlyCapture.h.
const ColorMode CDragonFlyCapture::m_colorMode [private] |
Definition at line 140 of file DragonFlyCapture.h.
FlyCaptureContext CDragonFlyCapture::m_flyCaptureContext[DRAGONFLY_MAX_CAMERAS] [private] |
Context pointer for the PGRFlyCapture library.
Definition at line 129 of file DragonFlyCapture.h.
FlyCaptureInfoEx CDragonFlyCapture::m_flyCaptureInfoEx [private] |
Information from the camera.
This structure stores a variety of different pieces of information associated with a particular camera. It is used with the flycaptureBusEnumerateCamerasEx() method. This structure has replaced FlyCaptureInfo.
Definition at line 136 of file DragonFlyCapture.h.
const VideoMode CDragonFlyCapture::m_mode [private] |
Definition at line 139 of file DragonFlyCapture.h.
int CDragonFlyCapture::m_nCameras [private] |
Definition at line 138 of file DragonFlyCapture.h.
Definition at line 124 of file DragonFlyCapture.h.
FlyCaptureImage* CDragonFlyCapture::m_ppInternalImages[DRAGONFLY_MAX_CAMERAS] [private] |
Definition at line 126 of file DragonFlyCapture.h.
Definition at line 125 of file DragonFlyCapture.h.
unsigned int CDragonFlyCapture::m_sec [private] |
Definition at line 146 of file DragonFlyCapture.h.
unsigned int CDragonFlyCapture::m_usec [private] |
Definition at line 147 of file DragonFlyCapture.h.
int CDragonFlyCapture::width [private] |
Definition at line 143 of file DragonFlyCapture.h.