latest version v1.9 - last update 10 Apr 2010 |
the parameters for the class dilation More...
#include <ltiDilation.h>
Public Types | |
enum | eMode { Binary, Gray } |
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
~parameters () | |
const char * | getTypeName () const |
parameters & | copy (const parameters &other) |
virtual functor::parameters * | clone () const |
void | setKernel (const mathObject &aKernel) |
const mathObject & | getKernel () const |
virtual bool | write (ioHandler &handler, const bool complete=true) const |
virtual bool | read (ioHandler &handler, const bool complete=true) |
Public Attributes | |
eMode | mode |
Protected Attributes | |
mathObject * | kernel |
the parameters for the class dilation
type to specify what kind of dilation should be applied.
See lti::dilation for more information.
lti::dilation::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::morphology::parameters.
lti::dilation::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
other | the parameters object to be copied |
Reimplemented from lti::morphology::parameters.
lti::dilation::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::morphology::parameters.
virtual functor::parameters* lti::dilation::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters
Reimplemented from lti::morphology::parameters.
parameters& lti::dilation::parameters::copy | ( | const parameters & | other | ) |
copy the contents of a parameters object
other | the parameters object to be copied |
Reimplemented from lti::morphology::parameters.
const mathObject& lti::dilation::parameters::getKernel | ( | ) | const |
const char* lti::dilation::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::morphology::parameters.
virtual bool lti::dilation::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::modifier::parameters.
void lti::dilation::parameters::setKernel | ( | const mathObject & | aKernel | ) |
virtual bool lti::dilation::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::modifier::parameters.
mathObject* lti::dilation::parameters::kernel [protected] |
The kernel to be used.
This parameter can only be set through the setKernel member.