An inspector allows to log data at the different steps, for analysis. More...
#include <PointMatcher.h>
Public Member Functions | |
virtual void | addStat (const std::string &name, double data) |
Add a value for statistics name, create it if new. | |
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 | dumpStats (std::ostream &stream) |
Dump all statistics in CSV format. | |
virtual void | dumpStatsHeader (std::ostream &stream) |
Dump header for all statistics. | |
virtual void | finish (const size_t iterationCount) |
Tell the inspector the ICP operation is completed. | |
virtual void | init () |
Start a new ICP operation or sequence. | |
Inspector () | |
Construct without parameter. | |
Inspector (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
Construct with parameters. | |
virtual | ~Inspector () |
virtual destructor |
An inspector allows to log data at the different steps, for analysis.
Definition at line 551 of file PointMatcher.h.
PointMatcher< T >::Inspector::Inspector | ( | ) |
Construct without parameter.
Definition at line 41 of file Inspector.cpp.
PointMatcher< T >::Inspector::Inspector | ( | const std::string & | className, |
const ParametersDoc | paramsDoc, | ||
const Parameters & | params | ||
) |
Construct with parameters.
Definition at line 46 of file Inspector.cpp.
PointMatcher< T >::Inspector::~Inspector | ( | ) | [virtual] |
virtual destructor
Definition at line 52 of file Inspector.cpp.
void PointMatcher< T >::Inspector::addStat | ( | const std::string & | name, |
double | data | ||
) | [virtual] |
Add a value for statistics name, create it if new.
Reimplemented in InspectorsImpl< T >::PerformanceInspector.
Definition at line 64 of file Inspector.cpp.
void PointMatcher< T >::Inspector::dumpIteration | ( | const size_t | iterationNumber, |
const TransformationParameters & | parameters, | ||
const DataPoints & | filteredReference, | ||
const DataPoints & | reading, | ||
const Matches & | matches, | ||
const OutlierWeights & | outlierWeights, | ||
const TransformationCheckers & | transformationCheckers | ||
) | [virtual] |
Dump the state of a given iteration.
Reimplemented in InspectorsImpl< T >::AbstractVTKInspector.
Definition at line 81 of file Inspector.cpp.
void PointMatcher< T >::Inspector::dumpStats | ( | std::ostream & | stream | ) | [virtual] |
Dump all statistics in CSV format.
Reimplemented in InspectorsImpl< T >::PerformanceInspector.
Definition at line 69 of file Inspector.cpp.
void PointMatcher< T >::Inspector::dumpStatsHeader | ( | std::ostream & | stream | ) | [virtual] |
Dump header for all statistics.
Reimplemented in InspectorsImpl< T >::PerformanceInspector.
Definition at line 74 of file Inspector.cpp.
void PointMatcher< T >::Inspector::finish | ( | const size_t | iterationCount | ) | [virtual] |
Tell the inspector the ICP operation is completed.
Reimplemented in InspectorsImpl< T >::VTKFileInspector, and InspectorsImpl< T >::AbstractVTKInspector.
Definition at line 86 of file Inspector.cpp.
void PointMatcher< T >::Inspector::init | ( | ) | [virtual] |
Start a new ICP operation or sequence.
Reimplemented in InspectorsImpl< T >::VTKFileInspector, and InspectorsImpl< T >::AbstractVTKInspector.
Definition at line 57 of file Inspector.cpp.