libpointmatcher
1.3.1
|
An inspector allows to log data at the different steps, for analysis. More...
#include <PointMatcher.h>
Public Member Functions | |
Inspector () | |
Construct without parameter. | |
Inspector (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
Construct with parameters. | |
virtual | ~Inspector () |
virtual destructor | |
virtual void | init () |
Start a new ICP operation or sequence. | |
virtual void | addStat (const std::string &name, double data) |
Add a value for statistics name, create it if new. | |
virtual void | dumpStats (std::ostream &stream) |
Dump all statistics in CSV format. | |
virtual void | dumpStatsHeader (std::ostream &stream) |
Dump header for all statistics. | |
virtual void | dumpIteration (const size_t iterationNumber, const TransformationParameters ¶meters, const DataPoints &filteredReference, const DataPoints &reading, const Matches &matches, const OutlierWeights &outlierWeights, const TransformationCheckers &transformationCheckers) |
Dump the state of a given iteration. | |
virtual void | finish (const size_t iterationCount) |
Tell the inspector the ICP operation is completed. | |
Public Member Functions inherited from PointMatcherSupport::Parametrizable | |
Parametrizable () | |
Construct a documentation of parameters from a description in the source. More... | |
Parametrizable (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
Construct with documented parameters. | |
virtual | ~Parametrizable () |
Virtual destructor, do nothing. | |
std::string | getParamValueString (const std::string ¶mName) |
Get the value of a parameter, as a string. | |
template<typename S > | |
S | get (const std::string ¶mName) |
Return the value of paramName, lexically-casted to S. | |
Additional Inherited Members | |
Public Types inherited from PointMatcherSupport::Parametrizable | |
typedef bool(* | LexicalComparison) (std::string a, std::string b) |
A function that returns whether a is smaller than b. | |
typedef std::vector< ParameterDoc > | ParametersDoc |
The documentation of all parameters. | |
typedef std::string | Parameter |
alias | |
typedef std::map< std::string, Parameter > | Parameters |
Parameters stored as a map of string->string. | |
typedef std::set< std::string > | ParametersUsed |
Parameters whose value has been read. | |
Static Public Member Functions inherited from PointMatcherSupport::Parametrizable | |
template<typename S > | |
static bool | Comp (std::string a, std::string b) |
Return whether a < b, lexically casted to S. | |
Public Attributes inherited from PointMatcherSupport::Parametrizable | |
const std::string | className |
name of the class | |
const ParametersDoc | parametersDoc |
documentation of parameters | |
Parameters | parameters |
parameters with their values encoded in string | |
ParametersUsed | parametersUsed |
parameters whose value has actually been read | |
An inspector allows to log data at the different steps, for analysis.