The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor Class Reference

#include <cImageAreaLinearColor.h>

Inheritance diagram for fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor:
Collaboration diagram for fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor:

List of all members.

Public Member Functions

 cImageAreaLinearColor (const cVectorProperty &vecInColorBasis, const cVectorProperty &vecInColorXSlope, const cVectorProperty &vecInColorYSlope)
 cImageAreaLinearColor (const cImageAreaLinearColor &structureToCopy)
virtual ~cImageAreaLinearColor ()
virtual string getName () const
cVectorProperty getColorBasisOfArea () const
const cVectorPropertygetColorBasisOfAreaConst () const
void setColorBasisOfArea (const cVectorProperty &vecInColor)
cVectorProperty getColorXSlopeOfArea () const
const cVectorPropertygetColorXSlopeOfAreaConst () const
void setColorXSlopeOfArea (const cVectorProperty &vecInColor)
cVectorProperty getColorYSlopeOfArea () const
const cVectorPropertygetColorYSlopeOfAreaConst () const
void setColorYSlopeOfArea (const cVectorProperty &vecInColor)
cVectorProperty getColorOfPoint (const double x, const double y) const
- Public Member Functions inherited from fib::algorithms::nConvertToFib::nImage::nStructureData::cImageStructure
 cImageStructure ()
 cImageStructure (const cImageStructure &structureToCopy)
virtual ~cImageStructure ()
set< cVectorPositiongetStructurePoints () const
const set< cVectorPosition > & getStructurePointsConst () const
set< cVectorPositiongetStructureBorderPoints () const
const set< cVectorPosition > & getStructureBorderPointsConst () const
set< cVectorPositiongetStructureNeighbourPoints () const
const set< cVectorPosition > & getStructureNeighbourPointsConst () const
void setStructurePoints (const set< cVectorPosition > &setInStructurePoints)
void setStructureBorderPoints (const set< cVectorPosition > &setInStructureBorderPoints)
void setStructureNeighbourPoints (const set< cVectorPosition > &setInStructureNeighbourPoints)
void addStructurePoints (const set< cVectorPosition > &setInStructurePoints)
void addStructureBorderPoints (const set< cVectorPosition > &setInStructureBorderPoints)
void addStructureNeighbourPoints (const set< cVectorPosition > &setInStructureNeighbourPoints)
void addStructurePoints (const cVectorPosition &pointInStructurePoints)
void addStructureBorderPoints (const cVectorPosition &pointInStructureBorderPoints)
void addStructureNeighbourPoints (const cVectorPosition &pointInStructureNeighbourPoints)
void deleteStructurePoints (const set< cVectorPosition > &setInStructurePoints)
void deleteStructureBorderPoints (const set< cVectorPosition > &setInStructureBorderPoints)
void deleteStructureNeighbourPoints (const set< cVectorPosition > &setInStructureNeighbourPoints)
void deleteStructurePoints (const cVectorPosition &pointInStructurePoints)
void deleteStructureBorderPoints (const cVectorPosition &pointInStructureBorderPoints)
void deleteStructureNeighbourPoints (const cVectorPosition &pointInStructureNeighbourPoints)
bool isAntialised () const
void setAntialised (const bool bInIsAntialised=true)

Protected Attributes

cVectorProperty vecColorBasis
cVectorProperty vecColorXSlope
cVectorProperty vecColorYSlope
- Protected Attributes inherited from fib::algorithms::nConvertToFib::nImage::nStructureData::cImageStructure
set< cVectorPositionstructurePoints
set< cVectorPositionstructureBorderPoints
set< cVectorPositionstructureNeighbourPoints
bool bIsAntialised

Detailed Description

Definition at line 66 of file cImageAreaLinearColor.h.


Constructor & Destructor Documentation

fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::cImageAreaLinearColor ( const cVectorProperty vecInColorBasis,
const cVectorProperty vecInColorXSlope,
const cVectorProperty vecInColorYSlope 
)

standard constructor

Parameters:
vecInColorBasisthe color at the point (0,0)
vecInColorXSlopethe color slope for the x / first dimension
vecInColorYSlopethe color slope for the y / second dimension
fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::cImageAreaLinearColor ( const cImageAreaLinearColor structureToCopy)

copy constructor

Parameters:
structureToCopythe image structure to copy
virtual fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::~cImageAreaLinearColor ( )
virtual

destructor


Member Function Documentation

cVectorProperty fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::getColorBasisOfArea ( ) const
See also:
vecColorBasis
setColorBasisOfArea()
Returns:
the color at the point (0,0)
const cVectorProperty& fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::getColorBasisOfAreaConst ( ) const
See also:
vecColorBasis
setColorBasisOfArea()
Returns:
the color at the point (0,0)
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

See also:
vecColorBasis
getColorBasisOfArea()
setColorBasisOfArea()
Parameters:
xthe x / first dimension coordinate of the point
ythe y / second dimension coordinate of the point
Returns:
the color at the given point (x,y)
cVectorProperty fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::getColorXSlopeOfArea ( ) const
See also:
vecColorXSlope
setColorXSlopeOfArea()
Returns:
the color slope for the x / first dimension
const cVectorProperty& fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::getColorXSlopeOfAreaConst ( ) const
See also:
vecColorXSlope
setColorXSlopeOfArea()
Returns:
the color slope for the x / first dimension
cVectorProperty fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::getColorYSlopeOfArea ( ) const
See also:
vecColorYSlope
setColorYSlopeOfArea()
Returns:
the color slope for the y / second dimension
const cVectorProperty& fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::getColorYSlopeOfAreaConst ( ) const
See also:
vecColorYSlope
setColorYSlopeOfArea()
Returns:
the color slope for the y / second dimension
virtual string fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::getName ( ) const
virtual
Returns:
the name of the image structure (class name without the leading 'c')

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.

See also:
vecColorBasis
getColorBasisOfArea()
Parameters:
vecInColorthe 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.

See also:
vecColorXSlope
getColorXSlopeOfArea()
Parameters:
vecInColorthe 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.

See also:
vecColorYSlope
getColorYSlopeOfArea()
Parameters:
vecInColorthe color slope for the y / second dimension

Member Data Documentation

cVectorProperty fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::vecColorBasis
protected

The color at the point (0,0).

See also:
getColorBasisOfArea()
setColorBasisOfArea()
getColorOfPoint

Definition at line 75 of file cImageAreaLinearColor.h.

cVectorProperty fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::vecColorXSlope
protected

The color slope for the x / first dimension.

See also:
getColorBasisOfArea()
setColorBasisOfArea()
getColorOfPoint

Definition at line 83 of file cImageAreaLinearColor.h.

cVectorProperty fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaLinearColor::vecColorYSlope
protected

The color slope for the y / second dimension.

See also:
getColorBasisOfArea()
setColorBasisOfArea()
getColorOfPoint

Definition at line 91 of file cImageAreaLinearColor.h.


The documentation for this class was generated from the following file: