#include <InspectorsImpl.h>
Public Member Functions | |
virtual void | finish (const size_t iterationCount) |
Tell the inspector the ICP operation is completed. More... | |
virtual void | init () |
Start a new ICP operation or sequence. More... | |
VTKFileInspector (const Parameters ¶ms=Parameters()) | |
Public Member Functions inherited from InspectorsImpl< T >::AbstractVTKInspector | |
AbstractVTKInspector (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
virtual void | dumpDataPoints (const DataPoints &cloud, const std::string &name) |
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. More... | |
virtual void | dumpMeshNodes (const DataPoints &cloud, const std::string &name) |
Public Member Functions inherited from InspectorsImpl< T >::PerformanceInspector | |
virtual void | addStat (const std::string &name, double data) |
Add a value for statistics name, create it if new. More... | |
virtual void | dumpStats (std::ostream &stream) |
Dump all statistics in CSV format. More... | |
virtual void | dumpStatsHeader (std::ostream &stream) |
Dump header for all statistics. More... | |
PerformanceInspector (const Parameters ¶ms) | |
PerformanceInspector (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
Public Member Functions inherited from PointMatcher< T >::Inspector | |
Inspector () | |
Construct without parameter. More... | |
Inspector (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
Construct with parameters. More... | |
virtual | ~Inspector () |
virtual destructor More... | |
Public Member Functions inherited from PointMatcherSupport::Parametrizable | |
template<typename S > | |
S | get (const std::string ¶mName) |
Return the value of paramName, lexically-casted to S. More... | |
std::string | getParamValueString (const std::string ¶mName) |
Get the value of a parameter, as a string. More... | |
template<typename T > | |
std::vector< T > | getVector (const std::string ¶mName) |
Return the value of paramName, lexically-casted std::vector<S> More... | |
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. More... | |
virtual | ~Parametrizable () |
Virtual destructor, do nothing. More... | |
Static Public Member Functions | |
static const ParametersDoc | availableParameters () |
static const std::string | description () |
Static Public Member Functions inherited from InspectorsImpl< T >::PerformanceInspector | |
static const ParametersDoc | availableParameters () |
static const std::string | description () |
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. More... | |
Public Attributes | |
const std::string | baseFileName |
const bool | bDumpDataLinks |
const bool | bDumpIterationInfo |
const bool | bDumpReading |
const bool | bDumpReference |
const unsigned | precision |
Public Attributes inherited from InspectorsImpl< T >::PerformanceInspector | |
const std::string | baseFileName |
const bool | bDumpPerfOnExit |
const bool | bDumpStats |
Public Attributes inherited from PointMatcherSupport::Parametrizable | |
const std::string | className |
name of the class More... | |
Parameters | parameters |
parameters with their values encoded in string More... | |
const ParametersDoc | parametersDoc |
documentation of parameters More... | |
ParametersUsed | parametersUsed |
parameters whose value has actually been read More... | |
Protected Member Functions | |
virtual void | closeStream (std::ostream *stream) |
virtual std::ostream * | openStream (const std::string &role) |
virtual std::ostream * | openStream (const std::string &role, const size_t iterationCount) |
Protected Member Functions inherited from InspectorsImpl< T >::AbstractVTKInspector | |
void | dumpDataLinks (const DataPoints &ref, const DataPoints &reading, const Matches &matches, const OutlierWeights &featureOutlierWeights, std::ostream &stream) |
void | dumpDataPoints (const DataPoints &data, std::ostream &stream) |
void | dumpMeshNodes (const DataPoints &data, std::ostream &stream) |
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. More... | |
typedef std::string | Parameter |
alias More... | |
typedef std::map< std::string, Parameter > | Parameters |
Parameters stored as a map of string->string. More... | |
typedef std::vector< ParameterDoc > | ParametersDoc |
The documentation of all parameters. More... | |
typedef std::set< std::string > | ParametersUsed |
Parameters whose value has been read. More... | |
Protected Types inherited from InspectorsImpl< T >::PerformanceInspector | |
typedef PointMatcherSupport::Histogram< double > | Histogram |
typedef std::map< std::string, Histogram > | HistogramMap |
Protected Attributes inherited from InspectorsImpl< T >::AbstractVTKInspector | |
const bool | bDumpDataLinks |
const bool | bDumpIterationInfo |
const bool | bDumpReading |
const bool | bDumpReference |
const bool | bWriteBinary |
const unsigned | precision |
std::ostream * | streamIter |
Protected Attributes inherited from InspectorsImpl< T >::PerformanceInspector | |
HistogramMap | stats |
Definition at line 159 of file InspectorsImpl.h.
InspectorsImpl< T >::VTKFileInspector::VTKFileInspector | ( | const Parameters & | params = Parameters() | ) |
Definition at line 717 of file InspectorsImpl.cpp.
|
inlinestatic |
Definition at line 165 of file InspectorsImpl.h.
|
protectedvirtual |
Implements InspectorsImpl< T >::AbstractVTKInspector.
Definition at line 785 of file InspectorsImpl.cpp.
|
inlinestatic |
Definition at line 161 of file InspectorsImpl.h.
|
virtual |
Tell the inspector the ICP operation is completed.
Reimplemented from InspectorsImpl< T >::AbstractVTKInspector.
Definition at line 746 of file InspectorsImpl.cpp.
|
virtual |
Start a new ICP operation or sequence.
Reimplemented from InspectorsImpl< T >::AbstractVTKInspector.
Definition at line 729 of file InspectorsImpl.cpp.
|
protectedvirtual |
Implements InspectorsImpl< T >::AbstractVTKInspector.
Definition at line 753 of file InspectorsImpl.cpp.
|
protectedvirtual |
Implements InspectorsImpl< T >::AbstractVTKInspector.
Definition at line 774 of file InspectorsImpl.cpp.
const std::string InspectorsImpl< T >::VTKFileInspector::baseFileName |
Definition at line 180 of file InspectorsImpl.h.
const bool InspectorsImpl< T >::VTKFileInspector::bDumpDataLinks |
Definition at line 182 of file InspectorsImpl.h.
const bool InspectorsImpl< T >::VTKFileInspector::bDumpIterationInfo |
Definition at line 181 of file InspectorsImpl.h.
const bool InspectorsImpl< T >::VTKFileInspector::bDumpReading |
Definition at line 183 of file InspectorsImpl.h.
const bool InspectorsImpl< T >::VTKFileInspector::bDumpReference |
Definition at line 184 of file InspectorsImpl.h.
const unsigned InspectorsImpl< T >::VTKFileInspector::precision |
Definition at line 185 of file InspectorsImpl.h.