The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
|
#include <cEvalueSimpleRGBA255.h>
Public Member Functions | |
cEvalueSimpleRGBA255 (const unsigned int uiInMaxX, const unsigned int uiInMaxY) | |
~cEvalueSimpleRGBA255 () | |
virtual bool | evaluePosition (const cVectorPosition &vPosition, const list< cVectorProperty > &vProperties) |
virtual void | clear () |
bool | colorWithBackgroundColor () |
virtual cDomains | getPropertyDomains () const |
virtual cDomains | getPositionDomain () const |
virtual bool | setPoint (const cVectorPosition &vPosition, const list< cVectorProperty > &vProperties) |
virtual list< cVectorProperty > | getPointProperties (const cVectorPosition &vPosition) const |
Public Member Functions inherited from fib::iEvaluePosition | |
virtual | ~iEvaluePosition () |
Public Member Functions inherited from fib::iImageData | |
virtual | ~iImageData () |
Public Attributes | |
const unsigned int | uiMaxX |
const unsigned int | uiMaxY |
unsigned char * | pImageData |
unsigned char | pBackgroundColor [4] |
bool | bBackgroundColorExists |
Definition at line 63 of file cEvalueSimpleRGBA255.h.
fib::cEvalueSimpleRGBA255::cEvalueSimpleRGBA255 | ( | const unsigned int | uiInMaxX, |
const unsigned int | uiInMaxY | ||
) |
fib::cEvalueSimpleRGBA255::~cEvalueSimpleRGBA255 | ( | ) |
desstructor
|
virtual |
This method clears the data from the list with the evalued position data liEvaluedPositionData. After the function call the liEvaluedPositionData list will be empty.
Implements fib::iImageData.
bool fib::cEvalueSimpleRGBA255::colorWithBackgroundColor | ( | ) |
Adds the background color pBackgroundColor to the image data matrix pImageData, if existing.
|
virtual |
The method with wich the evalued points with ther properties are inserted. Everytime a point (to evalue) is reached in the evaluation, this method is called with the position and the properties of the point and stores the data into
vPosition | the position of the point, which is evalued |
vProperties | a list of the properties of the point |
Implements fib::iEvaluePosition.
|
virtual |
With this method the properties for given points are returned.
vPosition | the position of the point, for which the properties should be returned |
Implements fib::iImageData.
|
virtual |
This method returns the domains for the positions (dimension domain).
Implements fib::iImageData.
|
virtual |
This method returns the domains for the color and transparency properties.
Implements fib::iImageData.
|
virtual |
With this method the properties for a points are set.
vPosition | the position of the point to set |
vProperties | a list of the properties of the point |
Implements fib::iImageData.
bool fib::cEvalueSimpleRGBA255::bBackgroundColorExists |
If true a background color was set.
Definition at line 107 of file cEvalueSimpleRGBA255.h.
unsigned char fib::cEvalueSimpleRGBA255::pBackgroundColor[4] |
The ARGB value for the background color. value: alpha (transparency), red, green, blue wher 0 is the minimum (e.g. no green) and 255 the maximum (e.g. full red), the color values are non-premultiplied; for the alpha value
Definition at line 102 of file cEvalueSimpleRGBA255.h.
unsigned char* fib::cEvalueSimpleRGBA255::pImageData |
The matrix with the ARGB image data. The dimension entries are:
Definition at line 92 of file cEvalueSimpleRGBA255.h.
const unsigned int fib::cEvalueSimpleRGBA255::uiMaxX |
The maximum value for the first (x) dimension. (The number of point rows.)
Definition at line 70 of file cEvalueSimpleRGBA255.h.
const unsigned int fib::cEvalueSimpleRGBA255::uiMaxY |
The maximum value for the second (y) dimension. (The number of point lines.)
Definition at line 76 of file cEvalueSimpleRGBA255.h.