|
Operator Console
|
A class for acquiring directly from a camera with a DirectShow driver. More...
#include <SimpleDirectShowAcq.h>
Public Member Functions | |
| SimpleDirectShowAcq (void) | |
| ~SimpleDirectShowAcq (void) | |
| bool | CaptureFrame () |
| Captures a single frame into m_buf. More... | |
| bool | Close () |
| bool | Open () |
| SimpleDirectShowAcq (void) | |
| ~SimpleDirectShowAcq (void) | |
| bool | CaptureFrame () |
| Captures a single frame into m_buf. More... | |
| bool | Close () |
| bool | Open () |
Public Member Functions inherited from ImageAcquisition | |
| ImageAcquisition (void) | |
| virtual | ~ImageAcquisition (void) |
| void | GetFrame (void *buf) |
| virtual bool | Init (int width, int height, int bytesPerPixel=4) |
| may be overridden, but be sure to call parent function also More... | |
| unsigned int | BytesPerFrame () |
| unsigned int | PixelsPerFrame () |
| int | GetHeight () |
| CString & | GetInfo () |
| int | GetWidth () |
| void | SetHeight (int height) |
| void | SetWidth (int width) |
| ImageAcquisition (void) | |
| virtual | ~ImageAcquisition (void) |
| void | GetFrame (void *buf) |
| virtual bool | Init (int width, int height, int bytesPerPixel=4) |
| may be overridden, but be sure to call parent function also More... | |
| unsigned int | BytesPerFrame () |
| unsigned int | PixelsPerFrame () |
| int | GetHeight () |
| CString & | GetInfo () |
| int | GetWidth () |
| void | SetHeight (int height) |
| void | SetWidth (int width) |
Protected Attributes | |
| int | m_numCameras |
| int | m_cameraIndex |
| bool | m_inited |
| TRUE if camera is initialized. More... | |
Protected Attributes inherited from ImageAcquisition | |
| CriticalBuf | m_frame |
| shared memory to hold copy of current frame More... | |
| int | m_width |
| width of image in pixels More... | |
| int | m_height |
| height of image in pixels More... | |
| unsigned int | m_numBytes |
| number of bytes in a frame More... | |
| unsigned int | m_numPixels |
| number of pixels in a frame More... | |
| CString | m_logMsg |
| error or information message More... | |
| void * | m_buf |
| buffer to capture into More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from ImageAcquisition | |
| static UINT __cdecl | ThreadProc (LPVOID param) |
| static UINT __cdecl | ThreadProc (LPVOID param) |
Public Attributes inherited from ImageAcquisition | |
| int | m_source_ID |
| The source ID for acquire_image() that indicates what type of device is in use. More... | |
| int | m_device_ID |
| [Used Epiphan only]: indicates from which of the two sources to capture More... | |
| std::string | m_ini_file |
| The fully-qualified name (including full path) of an Imatest INI file. More... | |
A class for acquiring directly from a camera with a DirectShow driver.
| SimpleDirectShowAcq::SimpleDirectShowAcq | ( | void | ) |
References ImageAcquisition::m_buf, ImageAcquisition::m_height, ImageAcquisition::m_numBytes, ImageAcquisition::m_numPixels, and ImageAcquisition::m_width.
| SimpleDirectShowAcq::SimpleDirectShowAcq | ( | void | ) |
| SimpleDirectShowAcq::~SimpleDirectShowAcq | ( | void | ) |
|
virtual |
Captures a single frame into m_buf.
Implements ImageAcquisition.
References doCapture, isCaptureDone, and m_cameraIndex.
|
virtual |
Captures a single frame into m_buf.
Implements ImageAcquisition.
|
virtual |
Implements ImageAcquisition.
|
virtual |
Implements ImageAcquisition.
References deinitCapture, m_cameraIndex, and m_inited.
|
virtual |
Implements ImageAcquisition.
References initCapture, ImageAcquisition::m_buf, m_cameraIndex, ImageAcquisition::m_height, m_inited, ImageAcquisition::m_logMsg, m_numCameras, ImageAcquisition::m_width, SimpleCapParams::mHeight, SimpleCapParams::mTargetBuf, SimpleCapParams::mWidth, and setupESCAPI().
|
virtual |
Implements ImageAcquisition.
|
protected |
Referenced by CaptureFrame(), Close(), and Open().
|
protected |
|
protected |
Referenced by Open().
1.8.6