#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 |
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 | 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 103 of file InspectorsImpl.h.
InspectorsImpl< T >::AbstractVTKInspector::AbstractVTKInspector | ( | const std::string & | className, |
const ParametersDoc | paramsDoc, | ||
const Parameters & | params | ||
) |
Definition at line 134 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::buildColorStream | ( | std::ostream & | stream, |
const std::string & | name, | ||
const DataPoints & | cloud | ||
) | [private] |
Definition at line 483 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 423 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 516 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::buildNormalStream | ( | std::ostream & | stream, |
const std::string & | name, | ||
const DataPoints & | cloud | ||
) | [private] |
Definition at line 459 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 491 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::buildScalarStream | ( | std::ostream & | stream, |
const std::string & | name, | ||
const DataPoints & | cloud | ||
) | [private] |
Definition at line 451 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 564 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::buildTensorStream | ( | std::ostream & | stream, |
const std::string & | name, | ||
const DataPoints & | cloud | ||
) | [private] |
Definition at line 475 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 540 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::buildVectorStream | ( | std::ostream & | stream, |
const std::string & | name, | ||
const DataPoints & | cloud | ||
) | [private] |
Definition at line 467 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 273 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::dumpDataPoints | ( | const DataPoints & | data, |
std::ostream & | stream | ||
) | [protected] |
Definition at line 146 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::dumpDataPoints | ( | const DataPoints & | cloud, |
const std::string & | name | ||
) | [virtual] |
Definition at line 339 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 355 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::dumpMeshNodes | ( | const DataPoints & | data, |
std::ostream & | stream | ||
) | [protected] |
Definition at line 225 of file InspectorsImpl.cpp.
void InspectorsImpl< T >::AbstractVTKInspector::dumpMeshNodes | ( | const DataPoints & | cloud, |
const std::string & | name | ||
) | [virtual] |
Definition at line 347 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 627 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 122 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 607 of file InspectorsImpl.cpp.
PointMatcher< T >::Matrix InspectorsImpl< T >::AbstractVTKInspector::padWithZeros | ( | const Matrix | m, |
const int | expectedRow, | ||
const int | expectedCols | ||
) | [private] |
Definition at line 587 of file InspectorsImpl.cpp.
const bool InspectorsImpl< T >::AbstractVTKInspector::bDumpDataLinks [protected] |
Reimplemented in InspectorsImpl< T >::VTKFileInspector.
Definition at line 116 of file InspectorsImpl.h.
const bool InspectorsImpl< T >::AbstractVTKInspector::bDumpIterationInfo [protected] |
Reimplemented in InspectorsImpl< T >::VTKFileInspector.
Definition at line 115 of file InspectorsImpl.h.
const bool InspectorsImpl< T >::AbstractVTKInspector::bDumpReading [protected] |
Reimplemented in InspectorsImpl< T >::VTKFileInspector.
Definition at line 117 of file InspectorsImpl.h.
const bool InspectorsImpl< T >::AbstractVTKInspector::bDumpReference [protected] |
Reimplemented in InspectorsImpl< T >::VTKFileInspector.
Definition at line 118 of file InspectorsImpl.h.
std::ostream* InspectorsImpl< T >::AbstractVTKInspector::streamIter [protected] |
Definition at line 114 of file InspectorsImpl.h.