latest version v1.9 - last update 10 Apr 2010 |
The parameters for the class quickMedian. More...
#include <ltiQuickMedian.h>
Public Types | |
enum | eEvenCase { TakeLower, TakeHigher } |
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
~parameters () | |
const char * | getTypeName () const |
parameters & | copy (const parameters &other) |
virtual functor::parameters * | clone () const |
Public Attributes | |
eEvenCase | evenCase |
The parameters for the class quickMedian.
enum lti::quickMedian::parameters::eEvenCase |
This enum specifies how to consider the case of vectors with an even number of elements.
lti::quickMedian< T >::parameters::parameters | ( | void | ) | [inline] |
Default constructor.
Reimplemented from lti::functor::parameters.
References lti::quickMedian< T >::parameters::evenCase, and lti::quickMedian< T >::parameters::TakeLower.
Referenced by lti::quickMedian< T >::parameters::clone().
lti::quickMedian< T >::parameters::parameters | ( | const parameters & | other | ) | [inline] |
copy constructor
other | the parameters object to be copied |
References lti::quickMedian< T >::parameters::copy().
lti::quickMedian< T >::parameters::~parameters | ( | ) | [inline, virtual] |
destructor
Reimplemented from lti::functor::parameters.
virtual functor::parameters* lti::quickMedian< T >::parameters::clone | ( | ) | const [inline, virtual] |
returns a pointer to a clone of the parameters
Implements lti::functor::parameters.
References lti::quickMedian< T >::parameters::parameters().
parameters& lti::quickMedian< T >::parameters::copy | ( | const parameters & | other | ) | [inline] |
copy the contents of a parameters object
other | the parameters object to be copied |
References lti::functor::parameters::copy(), and lti::quickMedian< T >::parameters::evenCase.
Referenced by lti::quickMedian< T >::parameters::parameters().
const char* lti::quickMedian< T >::parameters::getTypeName | ( | void | ) | const [inline, virtual] |
returns name of this type
Reimplemented from lti::functor::parameters.
eEvenCase lti::quickMedian< T >::parameters::evenCase |
Specifies how to consider the case when the number of elements of the vector is even (see eEvenCase).
This parameter has no effect for odd-sized vectors.
Default value: TakeLower
Referenced by lti::quickMedian< T >::parameters::copy(), and lti::quickMedian< T >::parameters::parameters().