Public Member Functions | |
tlSourceFiles () | |
tlSourceFiles (char *filename) | |
virtual | ~tlSourceFiles () |
int | getLength () |
int | getIndex () |
int | open () |
int | open (char *filename) |
int | setIndex (int index) |
int | setFrameRate (int fps) |
virtual int | grab (tlImage *image) |
virtual int | grab (tlImage *image, tlRect *rect) |
virtual int | grabQueued (tlImage *image) |
virtual int | grabQueued (tlImage *image, tlRect *rect) |
tlSourceFiles::tlSourceFiles | ( | ) |
tlSourceFiles::tlSourceFiles | ( | char * | filenameBase | ) |
tlSourceFiles::~tlSourceFiles | ( | ) | [virtual] |
tlSourceFiles::getLength | ( | ) | [inline] |
Return the length of the image if it is known. The full set must be grabbed once before the length is known.
tlSourceFiles::getIndex | ( | ) | [inline] |
Return the current index in the file set.
int tlSourceFiles::open | ( | ) |
Open the first file of the serie using the default basename.
int tlSourceFiles::open | ( | char * | filenameBase | ) |
Open the first file of the serie using the default basename.
int tlSourceFiles::setIndex | ( | int | index | ) |
Set the current frame index. The image at the given index will be returned at the next grab() call.
index | desired frame index. |
int tlSourceFiles::setFrameRate | ( | int | fps | ) |
Set the "frame rate" of the filesystem digitizer by "throttling" the acquisition.
fps | frame rate in frame per second. |
int tlSourceFiles::grab | ( | tlImage * | image | ) | [virtual] |
This call acquires a full image from an image source. The image will have the size and format the source is currently configured for.
image | [out] a valid image pointer that will receive the image. |
Implements tlSource.
This call acquires a portion of an image from an image source. The image will have the size and format the source is currently configured for, but only the portion defined by the rect argument will contain valid pixel values.
image | [out] a valid image pointer that will receive the image. | |
rect | a pointer to the portion of the image to acquire. |
Implements tlSource.
int tlSourceFiles::grabQueued | ( | tlImage * | image | ) | [virtual] |
This call acquires a full image from an image source. The image will have the size and format the source is currently configured for.
image | [out] a valid image pointer that will receive the image. |
Implements tlSource.
This call acquires a portion of an image from an image source. The image will have the size and format the source is currently configured for, but only the portion defined by the rect argument will contain valid pixel values.
image | [out] a valid image pointer that will receive the image. | |
rect | a pointer to the portion of the image to acquire. |
Implements tlSource.