Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
InspectorsImpl< T >::VTKFileInspector Struct Reference

#include <InspectorsImpl.h>

Inheritance diagram for InspectorsImpl< T >::VTKFileInspector:
Inheritance graph
[legend]

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 &params=Parameters())
 
- Public Member Functions inherited from InspectorsImpl< T >::AbstractVTKInspector
 AbstractVTKInspector (const std::string &className, const ParametersDoc paramsDoc, const Parameters &params)
 
virtual void dumpDataPoints (const DataPoints &cloud, const std::string &name)
 
virtual void dumpIteration (const size_t iterationNumber, const TransformationParameters &parameters, 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 &params)
 
 PerformanceInspector (const std::string &className, const ParametersDoc paramsDoc, const Parameters &params)
 
- Public Member Functions inherited from PointMatcher< T >::Inspector
 Inspector ()
 Construct without parameter. More...
 
 Inspector (const std::string &className, const ParametersDoc paramsDoc, const Parameters &params)
 Construct with parameters. More...
 
virtual ~Inspector ()
 virtual destructor More...
 
- Public Member Functions inherited from PointMatcherSupport::Parametrizable
template<typename S >
get (const std::string &paramName)
 Return the value of paramName, lexically-casted to S. More...
 
std::string getParamValueString (const std::string &paramName)
 Get the value of a parameter, as a string. More...
 
template<typename T >
std::vector< T > getVector (const std::string &paramName)
 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 &params)
 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, ParameterParameters
 Parameters stored as a map of string->string. More...
 
typedef std::vector< ParameterDocParametersDoc
 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, HistogramHistogramMap
 
- 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
 

Detailed Description

template<typename T>
struct InspectorsImpl< T >::VTKFileInspector

Definition at line 159 of file InspectorsImpl.h.

Constructor & Destructor Documentation

◆ VTKFileInspector()

template<typename T >
InspectorsImpl< T >::VTKFileInspector::VTKFileInspector ( const Parameters params = Parameters())

Definition at line 717 of file InspectorsImpl.cpp.

Member Function Documentation

◆ availableParameters()

template<typename T >
static const ParametersDoc InspectorsImpl< T >::VTKFileInspector::availableParameters ( )
inlinestatic

Definition at line 165 of file InspectorsImpl.h.

◆ closeStream()

template<typename T >
void InspectorsImpl< T >::VTKFileInspector::closeStream ( std::ostream *  stream)
protectedvirtual

Implements InspectorsImpl< T >::AbstractVTKInspector.

Definition at line 785 of file InspectorsImpl.cpp.

◆ description()

template<typename T >
static const std::string InspectorsImpl< T >::VTKFileInspector::description ( )
inlinestatic

Definition at line 161 of file InspectorsImpl.h.

◆ finish()

template<typename T >
void InspectorsImpl< T >::VTKFileInspector::finish ( const size_t  iterationCount)
virtual

Tell the inspector the ICP operation is completed.

Reimplemented from InspectorsImpl< T >::AbstractVTKInspector.

Definition at line 746 of file InspectorsImpl.cpp.

◆ init()

template<typename T >
void InspectorsImpl< T >::VTKFileInspector::init
virtual

Start a new ICP operation or sequence.

Reimplemented from InspectorsImpl< T >::AbstractVTKInspector.

Definition at line 729 of file InspectorsImpl.cpp.

◆ openStream() [1/2]

template<typename T >
std::ostream * InspectorsImpl< T >::VTKFileInspector::openStream ( const std::string &  role)
protectedvirtual

Implements InspectorsImpl< T >::AbstractVTKInspector.

Definition at line 753 of file InspectorsImpl.cpp.

◆ openStream() [2/2]

template<typename T >
std::ostream * InspectorsImpl< T >::VTKFileInspector::openStream ( const std::string &  role,
const size_t  iterationCount 
)
protectedvirtual

Implements InspectorsImpl< T >::AbstractVTKInspector.

Definition at line 774 of file InspectorsImpl.cpp.

Member Data Documentation

◆ baseFileName

template<typename T >
const std::string InspectorsImpl< T >::VTKFileInspector::baseFileName

Definition at line 180 of file InspectorsImpl.h.

◆ bDumpDataLinks

template<typename T >
const bool InspectorsImpl< T >::VTKFileInspector::bDumpDataLinks

Definition at line 182 of file InspectorsImpl.h.

◆ bDumpIterationInfo

template<typename T >
const bool InspectorsImpl< T >::VTKFileInspector::bDumpIterationInfo

Definition at line 181 of file InspectorsImpl.h.

◆ bDumpReading

template<typename T >
const bool InspectorsImpl< T >::VTKFileInspector::bDumpReading

Definition at line 183 of file InspectorsImpl.h.

◆ bDumpReference

template<typename T >
const bool InspectorsImpl< T >::VTKFileInspector::bDumpReference

Definition at line 184 of file InspectorsImpl.h.

◆ precision

template<typename T >
const unsigned InspectorsImpl< T >::VTKFileInspector::precision

Definition at line 185 of file InspectorsImpl.h.


The documentation for this struct was generated from the following files:


libpointmatcher
Author(s):
autogenerated on Mon Sep 16 2024 02:24:11