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 void inPlaceCompute(
const TransformationParameters& parameters, DataPoints& cloud)
const;
64 virtual bool checkParameters(
const TransformationParameters& parameters)
const;
65 virtual TransformationParameters
correctParameters(
const TransformationParameters& parameters)
const;
72 return "Similarity transformation (rotation + translation + scale).";
76 virtual DataPoints
compute(
const DataPoints& input,
const TransformationParameters&
parameters)
const;
77 virtual void inPlaceCompute(
const TransformationParameters& parameters, DataPoints& cloud)
const;
78 virtual bool checkParameters(
const TransformationParameters& parameters)
const;
79 virtual TransformationParameters
correctParameters(
const TransformationParameters& parameters)
const;
86 return "Pure translation transformation\nA rigid transformation with no rotation.";
89 PureTranslation() : Transformation(
"PureTranslation", ParametersDoc(), Parameters()) {}
90 virtual DataPoints
compute(
const DataPoints& input,
const TransformationParameters&
parameters)
const;
91 virtual void inPlaceCompute(
const TransformationParameters& parameters, DataPoints& cloud)
const;
92 virtual bool checkParameters(
const TransformationParameters& parameters)
const;
93 virtual TransformationParameters
correctParameters(
const TransformationParameters& parameters)
const;
98 #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.