|
Operator Console
|
A class for acquiring from a file with the data in RGB format. More...
#include <FileAcq.h>
Public Member Functions | |
| FileAcq (void) | |
| ~FileAcq (void) | |
| bool | CaptureFrame () |
| image is already in m_frame, so there's nothing to do More... | |
| bool | Close () |
| void | Init (const char *filepathname) |
| Copies *filepathname to m_filename. More... | |
| bool | Open () |
| Loads a file first into the CImage object m_image, and then into m_buf inherited from class ImageAcquisition if allocation is successful. More... | |
| FileAcq (void) | |
| ~FileAcq (void) | |
| bool | CaptureFrame () |
| image is already in m_frame, so there's nothing to do More... | |
| bool | Close () |
| void | Init (const char *filepathname) |
| 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 | |
| CImage | m_image |
| CString | m_filename |
| fully-qualified image file name 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 from a file with the data in RGB format.
| FileAcq::FileAcq | ( | void | ) |
| FileAcq::~FileAcq | ( | void | ) |
|
inlinevirtual |
image is already in m_frame, so there's nothing to do
Implements ImageAcquisition.
|
inlinevirtual |
image is already in m_frame, so there's nothing to do
Implements ImageAcquisition.
|
inlinevirtual |
Implements ImageAcquisition.
|
inlinevirtual |
Implements ImageAcquisition.
| void FileAcq::Init | ( | const char * | filepathname | ) |
| void FileAcq::Init | ( | const char * | filepathname | ) |
|
virtual |
Loads a file first into the CImage object m_image, and then into m_buf inherited from class ImageAcquisition if allocation is successful.
Implements ImageAcquisition.
References height, ImageAcquisition::Init(), ImageAcquisition::m_buf, m_filename, ImageAcquisition::m_height, m_image, ImageAcquisition::m_width, and width.
|
virtual |
Implements ImageAcquisition.
|
protected |
|
protected |
Referenced by Open().
1.8.6