|
IVT
|
#include <DragonFlyCapture.h>
Public Member Functions | |
| 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. More... | |
| ~CDragonFlyCapture () | |
| bool | OpenCamera () |
| void | CloseCamera () |
| bool | CaptureImage (CByteImage **ppImages) |
| int | GetWidth () |
| int | GetHeight () |
| CByteImage::ImageType | GetType () |
| int | GetNumberOfCameras () |
| void | GetCurrentTimestamp (unsigned int &sec, unsigned int &usec) |
| unsigned int | GetSerialFromCamera (int nCamera) |
| Get the serial number from the camera. More... | |
| void | SwapCameras (int nCamera1, int nCamera2) |
| Swap the camera source. More... | |
Public Member Functions inherited from CVideoCaptureInterface | |
| virtual | ~CVideoCaptureInterface () |
| virtual bool | SetExposureTime (int nExposureInUS) |
Additional Inherited Members | |
Public Types inherited from CVideoCaptureInterface | |
| enum | VideoMode { e320x240, e640x480, e800x600, e768x576, e1024x768, e1280x960, e1600x1200, eNone } |
| enum | ColorMode { eRGB24, eBayerPatternToRGB24, eGrayScale, eYUV411ToRGB24 } |
| enum | FrameRate { e60fps, e30fps, e15fps, e7_5fps, e3_75fps, e1_875fps } |
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.
| CDragonFlyCapture::~CDragonFlyCapture | ( | ) |
Definition at line 101 of file DragonFlyCapture.cpp.
|
virtual |
Implements CVideoCaptureInterface.
Definition at line 218 of file DragonFlyCapture.cpp.
|
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.
|
inlinevirtual |
Implements CVideoCaptureInterface.
Definition at line 99 of file DragonFlyCapture.h.
|
inlinevirtual |
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.
|
virtual |
Implements CVideoCaptureInterface.
Definition at line 111 of file DragonFlyCapture.cpp.
|
inlinevirtual |
Implements CVideoCaptureInterface.
Definition at line 98 of file DragonFlyCapture.h.
|
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.