#include <imageSeq.h>
Collaboration diagram for imageSeq:

Public Types | |
| enum | directionType |
| The possible directions that the sequence can be played in. More... | |
Public Methods | |
| imageSeq (imageSeqType type, const char *path) | |
| Constructor. More... | |
| ~imageSeq () | |
| Destructor. More... | |
| int | getNumFrames (void) |
| Returns the number of frames in this image sequence. More... | |
| Picture * | tick (int frames=1) |
| Returns the next appropriate image. More... | |
| Picture * | getCurrent (void) |
| Returns the current image. More... | |
| int | getWidth (void) |
| Returns the width of the image (in pixels). More... | |
| int | getHeight (void) |
| Returns the height of the image (in pixels). More... | |
| imageSeqType | getSeqType (void) |
| Returns the current sequence type. More... | |
| bool | getCameraReady (void) |
| Indicates whether the camera is ready or not. More... | |
| Camera * | getCamera (void) |
| Returns a pointer to the Camera object. More... | |
| char * | getInfo (void) |
| Returns the information string, loaded from the README file of the sequence. More... | |
Static Public Methods | |
| int | file_select (const struct dirent *entry) |
| Callback function used when scanning directories for image files. More... | |
Images can be either Pixmaps or from a camera.
|
|
The possible directions that the sequence can be played in.
|
|
||||||||||||
|
Constructor.
|
|
|
Destructor. Deletes the instance of the class. |
|
|
Callback function used when scanning directories for image files. This function returns 1 if the file is accepted, and 0 otherwise. Currently this function accepts all files except 'README', '.' and '..'. In future this should only return 1 for those file types imageSeq can actually support.
|
|
|
Returns a pointer to the Camera object.
|
|
|
Indicates whether the camera is ready or not.
|
|
|
Returns the current image.
|
|
|
Returns the height of the image (in pixels).
|
|
|
Returns the information string, loaded from the README file of the sequence.
|
|
|
Returns the number of frames in this image sequence.
|
|
|
Returns the current sequence type.
|
|
|
Returns the width of the image (in pixels).
|
|
|
Returns the next appropriate image.
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002