latest version v1.9 - last update 10 Apr 2010 |
Parameter class of the ioBMP class. More...
#include <ltiBMPFunctor.h>
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
parameters & | copy (const parameters &other) |
virtual functor::parameters * | clone () const |
virtual const char * | getTypeName () const |
virtual bool | write (ioHandler &handler, const bool complete=true) const |
virtual bool | read (ioHandler &handler, const bool complete=true) |
Public Attributes | |
bool | compression |
int | bitsPerPixel |
int | quantColors |
Parameter class of the ioBMP class.
lti::ioBMP::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::ioFunctor::parameters.
lti::ioBMP::parameters::parameters | ( | const parameters & | other | ) | [inline] |
virtual functor::parameters* lti::ioBMP::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters.
Reimplemented from lti::ioFunctor::parameters.
parameters& lti::ioBMP::parameters::copy | ( | const parameters & | other | ) |
virtual const char* lti::ioBMP::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this class
Reimplemented from lti::ioFunctor::parameters.
virtual bool lti::ioBMP::parameters::read | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | [virtual] |
write the parameters in the given ioHandler
handler | the ioHandler to be used | |
complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::ioFunctor::parameters.
virtual bool lti::ioBMP::parameters::write | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | const [virtual] |
write the parameters in the given ioHandler
handler | the ioHandler to be used | |
complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::ioFunctor::parameters.
bits per pixel (default value 24)
compress the data.
(RLE4 or RLE8 will be used if the number of bits are 4 or 8). The default value is false
quantization of colors.
If 0 no quantization needed If >0 then a k-mean analysis of the colors will be made and the used color number will be reduce to quantColors (unused by now)