Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes

TransformationModel Class Reference
[MapAlignment]

Base class for transformation models. More...

#include <OpenMS/ANALYSIS/MAPMATCHING/TransformationModel.h>

Inheritance diagram for TransformationModel:
TransformationModelBSpline TransformationModelInterpolated TransformationModelLinear

List of all members.

Public Types

typedef std::pair< DoubleReal,
DoubleReal
DataPoint
 Coordinate pair.
typedef std::vector< DataPointDataPoints
 Vector of coordinate pairs.

Public Member Functions

 TransformationModel ()
 Constructor.
 TransformationModel (const TransformationModel::DataPoints &, const Param &)
 Alternative constructor (derived classes should implement this one!).
virtual ~TransformationModel ()
 Destructor.
virtual DoubleReal evaluate (const DoubleReal value) const
 Evaluates the model at the given value.
void getParameters (Param &params) const
 Gets the (actual) parameters.

Static Public Member Functions

static void getDefaultParameters (Param &params)
 Gets the default parameters.

Protected Attributes

Param params_
 Parameters.

Detailed Description

Base class for transformation models.

Implements the identity (no transformation). Parameters and data are ignored.


Member Typedef Documentation

typedef std::pair<DoubleReal, DoubleReal> DataPoint

Coordinate pair.

typedef std::vector<DataPoint> DataPoints

Vector of coordinate pairs.


Constructor & Destructor Documentation

TransformationModel (  )  [inline]

Constructor.

TransformationModel ( const TransformationModel::DataPoints ,
const Param  
) [inline]

Alternative constructor (derived classes should implement this one!).

virtual ~TransformationModel (  )  [inline, virtual]

Destructor.


Member Function Documentation

virtual DoubleReal evaluate ( const DoubleReal  value  )  const [inline, virtual]

Evaluates the model at the given value.

Reimplemented in TransformationModelLinear, TransformationModelInterpolated, and TransformationModelBSpline.

static void getDefaultParameters ( Param params  )  [inline, static]

Gets the default parameters.

Reimplemented in TransformationModelLinear, TransformationModelInterpolated, and TransformationModelBSpline.

References Param::clear().

void getParameters ( Param params  )  const [inline]

Gets the (actual) parameters.


Member Data Documentation

Param params_ [protected]

Parameters.


OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:49 using doxygen 1.7.1