The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
|
#include <cHyperplaneBodySimple.h>
Public Member Functions | |
cHyperplaneBodySimple (unsigned int uiInDimensions, const tFactors maxValue=256 *256 *256) | |
cHyperplaneBodySimple (const cHyperplaneBodySimple< tFactors > &hyperplaneBody) | |
virtual | ~cHyperplaneBodySimple () |
virtual bool | addInequiation (const cInequation< tFactors > &inequiation) |
virtual unsigned long | getNumberOfBorderPoints () const |
virtual vector< vector < tFactors > > | getBorderPoints () const |
virtual bool | isPart (const vector< tFactors > &vecPoint) const |
virtual void | print (ostream &outputStream) const |
virtual cHyperplaneBodySimple < tFactors > * | clone () const |
Public Member Functions inherited from fib::algorithms::nDn::cHyperplaneBody< tFactors > | |
cHyperplaneBody (unsigned int uiInDimensions) | |
virtual | ~cHyperplaneBody () |
unsigned long | addInequiations (const vector< cInequation< tFactors > > &vecInequiations) |
unsigned int | getDimensions () const |
vector< tFactors > | getPointInBody (const unsigned int uiMinBitsToStoreMantissa=1) const |
Protected Types | |
typedef set< nBorder::cPoint < tFactors > *, nBorder::cPointPositionPointerCompare < tFactors > > | typeSetOfPoints |
Protected Attributes | |
set< nBorder::cHyperplaneData < tFactors > * > | setBorders |
set< nBorder::cLine< tFactors > * > | setBorderLines |
typeSetOfPoints | setBorderPoints |
list< nBorder::cInequationData < tFactors > * > | liInequiations |
Protected Attributes inherited from fib::algorithms::nDn::cHyperplaneBody< tFactors > | |
const unsigned int | uiDimensions |
Definition at line 306 of file cHyperplaneBodySimple.h.
|
protected |
A set with the border points of this body.
Definition at line 323 of file cHyperplaneBodySimple.h.
fib::algorithms::nDn::cHyperplaneBodySimple< tFactors >::cHyperplaneBodySimple | ( | unsigned int | uiInDimensions, |
const tFactors | maxValue = 256 *256 *256 |
||
) |
standard constructor
uiInDimensions | the dimensions of the space for the hyperbody; all added inequiations should have this much factors |
maxValue | the maximum possible value in all directions the evalued hyperbody will allways inside a hypercubus of all vectors = (x_0,..., x_uiDimensions)^T, with -1 * maxValue <= x_i <= maxValue for 0 <= i <= uiDimensions |
fib::algorithms::nDn::cHyperplaneBodySimple< tFactors >::cHyperplaneBodySimple | ( | const cHyperplaneBodySimple< tFactors > & | hyperplaneBody | ) |
copy constructor
hyperplaneBody | the body to copy |
|
virtual |
standard destructor
|
virtual |
With this method the hyperplane body can be restricted by the given inequiation, if the inequiation dosn't remove the body. If ther are points in this hyperplane body exists wich fulfill the inequiation, an hyperplane for the inequiation is created and added to this hyperplane body.
Implements fib::algorithms::nDn::cHyperplaneBody< tFactors >.
|
virtual |
This method duplicates this whole hyperplane body.
Implements fib::algorithms::nDn::cHyperplaneBody< tFactors >.
|
virtual |
Implements fib::algorithms::nDn::cHyperplaneBody< tFactors >.
|
virtual |
Implements fib::algorithms::nDn::cHyperplaneBody< tFactors >.
|
virtual |
This method checks if the given point is part of the hyperbody. If the point is on one of the borders of the hyperbody or inside it, it is part of the hyperbody.
vecPoint | the point to check |
Implements fib::algorithms::nDn::cHyperplaneBody< tFactors >.
|
virtual |
This method print the hyperplane in a readebel form to the given output stream outputSream.
outputSream | the stream wher to print this inequation to |
Implements fib::algorithms::nDn::cHyperplaneBody< tFactors >.
|
protected |
The list with the inequiations which constrain this body. (Ther are equivallent to the border hyperplanes, with the highest dimensionality.)
Definition at line 331 of file cHyperplaneBodySimple.h.
|
protected |
A set with the border lines of this body.
Definition at line 317 of file cHyperplaneBodySimple.h.
|
protected |
Definition at line 324 of file cHyperplaneBodySimple.h.
|
protected |
A set with the border hyperplanes of this body.
Definition at line 312 of file cHyperplaneBodySimple.h.