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::cImageAreaSameColor Class Reference

#include <cImageAreaSameColor.h>

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

List of all members.

Public Member Functions

 cImageAreaSameColor (const cVectorProperty &vecInColor)
 cImageAreaSameColor (const cImageAreaSameColor &structureToCopy)
virtual ~cImageAreaSameColor ()
virtual string getName () const
cVectorProperty getColorOfArea () const
const cVectorPropertygetColorOfAreaConst () const
void setColorOfArea (const cVectorProperty &vecInColor)
virtual cRootconvertToFib () const
virtual cRootconvertToFib (const cImageSearchData *pImageSearchData, const double maxValue=65536.0, const unsigned long ulMaxErrorPerPoint=0.0) 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)
- Public Member Functions inherited from fib::algorithms::nConvertToFib::nImage::nStructureData::nConvertToFib::cUseConvertAreaToExtObjectsStrategy
 cUseConvertAreaToExtObjectsStrategy (const iConvertAreaToExtObjects *pInConvertStrategy=NULL)
virtual ~cUseConvertAreaToExtObjectsStrategy ()
const iConvertAreaToExtObjectsgetStrategy () const
void setStrategy (const iConvertAreaToExtObjects *pInConvertStrategy=NULL)

Protected Attributes

cVectorProperty vecColor
- Protected Attributes inherited from fib::algorithms::nConvertToFib::nImage::nStructureData::cImageStructure
set< cVectorPositionstructurePoints
set< cVectorPositionstructureBorderPoints
set< cVectorPositionstructureNeighbourPoints
bool bIsAntialised
- Protected Attributes inherited from fib::algorithms::nConvertToFib::nImage::nStructureData::nConvertToFib::cUseConvertAreaToExtObjectsStrategy
iConvertAreaToExtObjectspConvertStrategy

Detailed Description

Definition at line 61 of file cImageAreaSameColor.h.


Constructor & Destructor Documentation

fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaSameColor::cImageAreaSameColor ( const cVectorProperty vecInColor)

standard constructor

Parameters:
vecInColorthe color the area has
fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaSameColor::cImageAreaSameColor ( const cImageAreaSameColor structureToCopy)

copy constructor

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

destructor


Member Function Documentation

virtual cRoot* fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaSameColor::convertToFib ( ) const
virtual

This method is for converting data to a Fib object.

Returns:
a Fib-object which represents the data of this object Beware: You have to delete the returned Fib object after usage.

Implements fib::algorithms::nConvertToFib::iConvertToFib.

virtual cRoot* fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaSameColor::convertToFib ( const cImageSearchData pImageSearchData,
const double  maxValue = 65536.0,
const unsigned long  ulMaxErrorPerPoint = 0.0 
) const
virtual

This method is for converting data to a Fib object.

Parameters:
pImageSearchDataa pointer to the image search data of found image parts, which will overwrite tile parts (the tiles can be bigger, because some parts of them won't be seen)
maxValuethe maximum possible value in all parameters the evalued spline/function elements will allways have value parameters vecFactors[i] with -1 * maxValue <= vecFactors[i] <= maxValue for 0 <= i < vecFactors.size(); if 0 (standard value) is given, the maximum possible value will be evalued from the given data (absolute maximum in given data * 256)
ulMaxErrorPerPointthe maximal error of a point or the maximal distance a point can be outside the area and the search area
Returns:
a Fib-object which represents the data of this object Beware: You have to delete the returned Fib object after usage. Also the given root element will contain no domains, you have to create them if needed (eg. with cRoot::generateNeededDomains() ).

Implements fib::algorithms::nConvertToFib::nImage::nStructureData::nConvertToFib::iConvertImageStructureToFib.

cVectorProperty fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaSameColor::getColorOfArea ( ) const
See also:
vecColor
setColorOfArea()
Returns:
the color the area has
const cVectorProperty& fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaSameColor::getColorOfAreaConst ( ) const
See also:
vecColor
setColorOfArea()
Returns:
the color the area has
virtual string fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaSameColor::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::cImageAreaSameColor::setColorOfArea ( const cVectorProperty vecInColor)

This method sets the color the area has to the given color.

See also:
vecColor
getColorOfArea()
Parameters:
vecInColorthe color the area should have

Member Data Documentation

cVectorProperty fib::algorithms::nConvertToFib::nImage::nStructureData::cImageAreaSameColor::vecColor
protected

The color of the area.

See also:
getColorOfArea()
setColorOfArea()

Definition at line 72 of file cImageAreaSameColor.h.


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