36 #ifndef __POINTMATCHER_TRANSFORMATIONS_H 37 #define __POINTMATCHER_TRANSFORMATIONS_H 58 return "Rigid transformation.";
62 virtual DataPoints
compute(
const DataPoints& input,
const TransformationParameters&
parameters)
const;
63 virtual bool checkParameters(
const TransformationParameters& parameters)
const;
64 virtual TransformationParameters
correctParameters(
const TransformationParameters& parameters)
const;
71 return "Similarity transformation (rotation + translation + scale).";
74 virtual DataPoints
compute(
const DataPoints& input,
const TransformationParameters&
parameters)
const;
75 virtual bool checkParameters(
const TransformationParameters& parameters)
const;
76 virtual TransformationParameters
correctParameters(
const TransformationParameters& parameters)
const;
83 return "Pure translation transformation\nA rigid transformation with no rotation.";
86 PureTranslation() : Transformation(
"PureTranslation", ParametersDoc(), Parameters()) {}
87 virtual DataPoints
compute(
const DataPoints& input,
const TransformationParameters&
parameters)
const;
88 virtual bool checkParameters(
const TransformationParameters& parameters)
const;
89 virtual TransformationParameters
correctParameters(
const TransformationParameters& parameters)
const;
94 #endif // __POINTMATCHER_TRANSFORMATION_H
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.
Parameters parameters
parameters with their values encoded in string
The documentation of a parameter.
The superclass of classes that are constructed using generic parameters. This class provides the para...
std::vector< ParameterDoc > ParametersDoc
The documentation of all parameters.
Matrix TransformationParameters
A matrix holding the parameters a transformation.