VRS::GIFVideo Class Reference
container for a set of images, useable as video texture or image
More...
#include <vrs/image/gifvideo.h>
List of all members.
Detailed Description
container for a set of images, useable as video texture or image
Constructor & Destructor Documentation
| VRS::GIFVideo::GIFVideo |
( |
const std::string & |
fileName, |
|
|
bool |
scaleToPow2 = false | |
|
) |
| | |
| VRS::GIFVideo::GIFVideo |
( |
DataResource * |
data, |
|
|
bool |
scaleToPow2 = false | |
|
) |
| | |
c'tors for creation from a file or dataresource
A GIFVideo contains 0, 1 or more frames. Scaling contigently necessary for use as video texture on some graphics hardware resulting images are RGBA-images reproducing color key transparency of gif images.
| VRS::GIFVideo::GIFVideo |
( |
|
) |
[protected] |
Member Function Documentation
| double VRS::GIFVideo::frameRate |
( |
|
) |
const [virtual] |
| bool VRS::GIFVideo::advanceFrame |
( |
int |
n = 1, |
|
|
bool |
loop = true | |
|
) |
| | [virtual] |
advances internal image by n frames
Implements VRS::Video.
| void VRS::GIFVideo::reset |
( |
|
) |
[virtual] |
resets internal image to first image
Implements VRS::Video.
| void* VRS::GIFVideo::pixelComponents |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
component = 0 | |
|
) |
| | const [virtual] |
returns direct access to image data
Implements VRS::Video.
| int VRS::GIFVideo::width |
( |
|
) |
const [virtual] |
| int VRS::GIFVideo::height |
( |
|
) |
const [virtual] |
| int VRS::GIFVideo::frames |
( |
|
) |
const |
| Image* VRS::GIFVideo::getFrame |
( |
int |
n |
) |
const |
returns a reference to the frame with number n
| VRS::GIFVideo::VRS_SERIALIZABLE |
( |
GIFVideo |
|
) |
|
The documentation for this class was generated from the following file: