PointMatcherIO< T >::FileInfoVector Struct Reference

A vector of file info, to be used in batch processing. More...

#include <IO.h>

Inherits std::vector< FileInfo >.

List of all members.

Public Member Functions

 FileInfoVector (const std::string &fileName, std::string dataPath="", std::string configPath="")
 Load a vector of FileInfo from a CSV file.

Protected Member Functions

std::string localToGlobalFileName (const std::string &path, const std::string &fileName)
 Join parentPath and fileName and return the result as a global path.
bool findTransform (const PointMatcherSupport::CsvElements &data, const std::string &prefix, unsigned dim)
 Return whether there is a valid transformation named prefix in data.
TransformationParameters getTransform (const PointMatcherSupport::CsvElements &data, const std::string &prefix, unsigned dim, unsigned line)
 Return the transformation named prefix from data.

Detailed Description

template<typename T>
struct PointMatcherIO< T >::FileInfoVector

A vector of file info, to be used in batch processing.


Constructor & Destructor Documentation

template<typename T >
PointMatcherIO< T >::FileInfoVector::FileInfoVector ( const std::string &  fileName,
std::string  dataPath = "",
std::string  configPath = "" 
) [inline]

Load a vector of FileInfo from a CSV file.

Parameters:
fileName name of the CSV file
dataPath path relative to which the point cloud CSV or VTK will be resolved
configPath path relative to which the yaml configuration files will be resolved

The first line of the CSV file must contain a header. The supported tags are:

  • reading: file name of the reading point cloud
  • reference: file name of the reference point cloud
  • config: file name of the YAML configuration of the ICP chain
  • iTxy: initial transformation, coordinate x,y
  • gTxy: ground-truth transformation, coordinate x,y Note that the header must at least contain "reading".

The documentation for this struct was generated from the following files:
Generated on Fri May 3 12:51:03 2013 for libpointmatcher by  doxygen 1.6.3