#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. | |
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. | |
virtual void | init () |
Start a new ICP operation or sequence. | |
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 |
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) |
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.
void InspectorsImpl< T >::AbstractVTKInspector::buildColorStream | ( | std::ostream & | stream, |
const std::string & | name, | ||
const DataPoints & | cloud | ||
) | [private] |
Definition at line 524 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::buildGenericAttributeStream | ( | std::ostream & | stream, |
const std::string & | attribute, | ||
const std::string & | nameTag, | ||
const DataPoints & | cloud, | ||
const int | forcedDim | ||
) | [private] |
Definition at line 453 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::buildNormalStream | ( | std::ostream & | stream, |
const std::string & | name, | ||
const DataPoints & | ref, | ||
const DataPoints & | reading | ||
) | [private] |
Definition at line 557 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::buildNormalStream | ( | std::ostream & | stream, |
const std::string & | name, | ||
const DataPoints & | cloud | ||
) | [private] |
Definition at line 500 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::buildScalarStream | ( | std::ostream & | stream, |
const std::string & | name, | ||
const DataPoints & | ref, | ||
const DataPoints & | reading | ||
) | [private] |
Definition at line 532 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::buildScalarStream | ( | std::ostream & | stream, |
const std::string & | name, | ||
const DataPoints & | cloud | ||
) | [private] |
Definition at line 492 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::buildTensorStream | ( | std::ostream & | stream, |
const std::string & | name, | ||
const DataPoints & | ref, | ||
const DataPoints & | reading | ||
) | [private] |
Definition at line 605 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::buildTensorStream | ( | std::ostream & | stream, |
const std::string & | name, | ||
const DataPoints & | cloud | ||
) | [private] |
Definition at line 516 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::buildTimeStream | ( | std::ostream & | stream, |
const std::string & | name, | ||
const DataPoints & | cloud | ||
) | [private] |
Definition at line 628 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::buildVectorStream | ( | std::ostream & | stream, |
const std::string & | name, | ||
const DataPoints & | ref, | ||
const DataPoints & | reading | ||
) | [private] |
Definition at line 581 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::buildVectorStream | ( | std::ostream & | stream, |
const std::string & | name, | ||
const DataPoints & | cloud | ||
) | [private] |
Definition at line 508 of file InspectorsImpl.cpp.
virtual void InspectorsImpl< T >::AbstractVTKInspector::closeStream | ( | std::ostream * | stream | ) | [protected, pure virtual] |
Implemented in InspectorsImpl< T >::VTKFileInspector.
void InspectorsImpl< T >::AbstractVTKInspector::dumpDataLinks | ( | const DataPoints & | ref, |
const DataPoints & | reading, | ||
const Matches & | matches, | ||
const OutlierWeights & | featureOutlierWeights, | ||
std::ostream & | stream | ||
) | [protected] |
Definition at line 286 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::dumpDataPoints | ( | const DataPoints & | data, |
std::ostream & | stream | ||
) | [protected] |
Definition at line 159 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::dumpDataPoints | ( | const DataPoints & | cloud, |
const std::string & | name | ||
) | [virtual] |
Definition at line 369 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::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 from PointMatcher< T >::Inspector.
Definition at line 385 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::dumpMeshNodes | ( | const DataPoints & | data, |
std::ostream & | stream | ||
) | [protected] |
Definition at line 238 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::dumpMeshNodes | ( | const DataPoints & | cloud, |
const std::string & | name | ||
) | [virtual] |
Definition at line 377 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::finish | ( | const size_t | iterationCount | ) | [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.
virtual void InspectorsImpl< T >::AbstractVTKInspector::init | ( | ) | [inline, virtual] |
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.
virtual std::ostream* InspectorsImpl< T >::AbstractVTKInspector::openStream | ( | const std::string & | role | ) | [protected, pure virtual] |
Implemented in InspectorsImpl< T >::VTKFileInspector.
virtual std::ostream* InspectorsImpl< T >::AbstractVTKInspector::openStream | ( | const std::string & | role, |
const size_t | iterationNumber | ||
) | [protected, pure virtual] |
Implemented in InspectorsImpl< T >::VTKFileInspector.
PointMatcher< T >::Matrix InspectorsImpl< T >::AbstractVTKInspector::padWithOnes | ( | const Matrix | m, |
const int | expectedRow, | ||
const int | expectedCols | ||
) | [private] |
Definition at line 686 of file InspectorsImpl.cpp.
PointMatcher< T >::Matrix InspectorsImpl< T >::AbstractVTKInspector::padWithZeros | ( | const Matrix | m, |
const int | expectedRow, | ||
const int | expectedCols | ||
) | [private] |
Definition at line 666 of file InspectorsImpl.cpp.
const bool InspectorsImpl< T >::AbstractVTKInspector::bDumpDataLinks [protected] |
Reimplemented in InspectorsImpl< T >::VTKFileInspector.
Definition at line 120 of file InspectorsImpl.h.
const bool InspectorsImpl< T >::AbstractVTKInspector::bDumpIterationInfo [protected] |
Reimplemented in InspectorsImpl< T >::VTKFileInspector.
Definition at line 119 of file InspectorsImpl.h.
const bool InspectorsImpl< T >::AbstractVTKInspector::bDumpReading [protected] |
Reimplemented in InspectorsImpl< T >::VTKFileInspector.
Definition at line 121 of file InspectorsImpl.h.
const bool InspectorsImpl< T >::AbstractVTKInspector::bDumpReference [protected] |
Reimplemented in InspectorsImpl< T >::VTKFileInspector.
Definition at line 122 of file InspectorsImpl.h.
const bool InspectorsImpl< T >::AbstractVTKInspector::bWriteBinary [protected] |
Definition at line 123 of file InspectorsImpl.h.
std::ostream* InspectorsImpl< T >::AbstractVTKInspector::streamIter [protected] |
Definition at line 118 of file InspectorsImpl.h.