The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
|
#include <cImageAreaLinearColor.h>
Protected Attributes | |
cVectorProperty | vecColorBasis |
cVectorProperty | vecColorXSlope |
cVectorProperty | vecColorYSlope |
Protected Attributes inherited from fib::algorithms::nConvertToFib::nImage::nStructureData::cImageStructure | |
set< cVectorPosition > | structurePoints |
set< cVectorPosition > | structureBorderPoints |
set< cVectorPosition > | structureNeighbourPoints |
bool | bIsAntialised |
Definition at line 66 of file cImageAreaLinearColor.h.
fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::cImageAreaLinearColor | ( | const cVectorProperty & | vecInColorBasis, |
const cVectorProperty & | vecInColorXSlope, | ||
const cVectorProperty & | vecInColorYSlope | ||
) |
standard constructor
vecInColorBasis | the color at the point (0,0) |
vecInColorXSlope | the color slope for the x / first dimension |
vecInColorYSlope | the color slope for the y / second dimension |
fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::cImageAreaLinearColor | ( | const cImageAreaLinearColor & | structureToCopy | ) |
copy constructor
structureToCopy | the image structure to copy |
|
virtual |
destructor
cVectorProperty fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::getColorBasisOfArea | ( | ) | const |
const cVectorProperty& fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::getColorBasisOfAreaConst | ( | ) | const |
cVectorProperty fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::getColorOfPoint | ( | const double | x, |
const double | y | ||
) | const |
This method evalues and returns the color at the given point (x,y): vecColorBasis + x * vecColorXSlope + y * vecColorYSlope
x | the x / first dimension coordinate of the point |
y | the y / second dimension coordinate of the point |
cVectorProperty fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::getColorXSlopeOfArea | ( | ) | const |
const cVectorProperty& fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::getColorXSlopeOfAreaConst | ( | ) | const |
cVectorProperty fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::getColorYSlopeOfArea | ( | ) | const |
const cVectorProperty& fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::getColorYSlopeOfAreaConst | ( | ) | const |
|
virtual |
Reimplemented from fib::algorithms::nConvertToFib::nImage::nStructureData::cImageStructure.
void fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::setColorBasisOfArea | ( | const cVectorProperty & | vecInColor | ) |
This method sets the color at the point (0,0) to the given color.
vecInColor | the color at the point (0,0) |
void fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::setColorXSlopeOfArea | ( | const cVectorProperty & | vecInColor | ) |
This method sets the color slope for the x / first dimension for the area to the given color.
vecInColor | the color slope for the x / first dimension |
void fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::setColorYSlopeOfArea | ( | const cVectorProperty & | vecInColor | ) |
This method sets the color slope for the y / second dimension for the area to the given color.
vecInColor | the color slope for the y / second dimension |
|
protected |
The color at the point (0,0).
Definition at line 75 of file cImageAreaLinearColor.h.
|
protected |
The color slope for the x / first dimension.
Definition at line 83 of file cImageAreaLinearColor.h.
|
protected |
The color slope for the y / second dimension.
Definition at line 91 of file cImageAreaLinearColor.h.