#include <InspectorsImpl.h>
Public Member Functions | |
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) |
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... | |
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 std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
PerformanceInspector (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... | |
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... | |
Protected Member Functions | |
virtual void | closeStream (std::ostream *stream)=0 |
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) |
virtual std::ostream * | openStream (const std::string &role)=0 |
virtual std::ostream * | openStream (const std::string &role, const size_t iterationNumber)=0 |
Protected Attributes | |
const bool | bDumpDataLinks |
const bool | bDumpIterationInfo |
const bool | bDumpReading |
const bool | bDumpReference |
const bool | bWriteBinary |
std::ostream * | streamIter |
Protected Attributes inherited from InspectorsImpl< T >::PerformanceInspector | |
HistogramMap | stats |
Private Member Functions | |
void | buildColorStream (std::ostream &stream, const std::string &name, const DataPoints &cloud) |
void | buildGenericAttributeStream (std::ostream &stream, const std::string &attribute, const std::string &nameTag, const DataPoints &cloud, const int forcedDim) |
void | buildNormalStream (std::ostream &stream, const std::string &name, const DataPoints &ref, const DataPoints &reading) |
void | buildNormalStream (std::ostream &stream, const std::string &name, const DataPoints &cloud) |
void | buildScalarStream (std::ostream &stream, const std::string &name, const DataPoints &ref, const DataPoints &reading) |
void | buildScalarStream (std::ostream &stream, const std::string &name, const DataPoints &cloud) |
void | buildTensorStream (std::ostream &stream, const std::string &name, const DataPoints &ref, const DataPoints &reading) |
void | buildTensorStream (std::ostream &stream, const std::string &name, const DataPoints &cloud) |
void | buildTimeStream (std::ostream &stream, const std::string &name, const DataPoints &cloud) |
void | buildVectorStream (std::ostream &stream, const std::string &name, const DataPoints &ref, const DataPoints &reading) |
void | buildVectorStream (std::ostream &stream, const std::string &name, const DataPoints &cloud) |
Matrix | padWithOnes (const Matrix m, const int expectedRow, const int expectedCols) |
Matrix | padWithZeros (const Matrix m, const int expectedRow, const int expectedCols) |
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... | |
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 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 Types inherited from InspectorsImpl< T >::PerformanceInspector | |
typedef PointMatcherSupport::Histogram< double > | Histogram |
typedef std::map< std::string, Histogram > | HistogramMap |
Definition at line 107 of file InspectorsImpl.h.
InspectorsImpl< T >::AbstractVTKInspector::AbstractVTKInspector | ( | const std::string & | className, |
const ParametersDoc | paramsDoc, | ||
const Parameters & | params | ||
) |
Definition at line 138 of file InspectorsImpl.cpp.
|
private |
Definition at line 524 of file InspectorsImpl.cpp.
|
private |
Definition at line 453 of file InspectorsImpl.cpp.
|
private |
Definition at line 557 of file InspectorsImpl.cpp.
|
private |
Definition at line 500 of file InspectorsImpl.cpp.
|
private |
Definition at line 532 of file InspectorsImpl.cpp.
|
private |
Definition at line 492 of file InspectorsImpl.cpp.
|
private |
Definition at line 605 of file InspectorsImpl.cpp.
|
private |
Definition at line 516 of file InspectorsImpl.cpp.
|
private |
Definition at line 628 of file InspectorsImpl.cpp.
|
private |
Definition at line 581 of file InspectorsImpl.cpp.
|
private |
Definition at line 508 of file InspectorsImpl.cpp.
|
protectedpure virtual |
Implemented in InspectorsImpl< T >::VTKFileInspector.
|
protected |
Definition at line 286 of file InspectorsImpl.cpp.
|
protected |
Definition at line 159 of file InspectorsImpl.cpp.
|
virtual |
Definition at line 369 of file InspectorsImpl.cpp.
|
virtual |
Dump the state of a given iteration.
Reimplemented from PointMatcher< T >::Inspector.
Definition at line 385 of file InspectorsImpl.cpp.
|
protected |
Definition at line 238 of file InspectorsImpl.cpp.
|
virtual |
Definition at line 377 of file InspectorsImpl.cpp.
|
virtual |
Tell the inspector the ICP operation is completed.
Reimplemented from PointMatcher< T >::Inspector.
Reimplemented in InspectorsImpl< T >::VTKFileInspector.
Definition at line 706 of file InspectorsImpl.cpp.
|
inlinevirtual |
Start a new ICP operation or sequence.
Reimplemented from PointMatcher< T >::Inspector.
Reimplemented in InspectorsImpl< T >::VTKFileInspector.
Definition at line 127 of file InspectorsImpl.h.
|
protectedpure virtual |
Implemented in InspectorsImpl< T >::VTKFileInspector.
|
protectedpure virtual |
Implemented in InspectorsImpl< T >::VTKFileInspector.
|
private |
Definition at line 686 of file InspectorsImpl.cpp.
|
private |
Definition at line 666 of file InspectorsImpl.cpp.
|
protected |
Definition at line 120 of file InspectorsImpl.h.
|
protected |
Definition at line 119 of file InspectorsImpl.h.
|
protected |
Definition at line 121 of file InspectorsImpl.h.
|
protected |
Definition at line 122 of file InspectorsImpl.h.
|
protected |
Definition at line 123 of file InspectorsImpl.h.
|
protected |
Definition at line 118 of file InspectorsImpl.h.