libpointmatcher
1.0.2
|
IO Functions and classes that are dependant on scalar type are defined in this templatized class. More...
#include <IO.h>
Classes | |
struct | FileInfo |
Information to exploit a reading from a file using this library. Fields might be left blank if unused. More... | |
struct | FileInfoVector |
A vector of file info, to be used in batch processing. More... | |
Public Types | |
typedef PointMatcher< T >::Vector | Vector |
alias | |
typedef PointMatcher< T >::Matrix | Matrix |
alias | |
typedef PointMatcher< T > ::DataPoints | DataPoints |
alias | |
typedef PointMatcher< T > ::TransformationParameters | TransformationParameters |
alias | |
typedef PointMatcher< T >::Matrix | Parameters |
alias | |
Static Public Member Functions | |
static DataPoints | loadCSV (const std::string &fileName) |
Load comma separated values (csv) file. | |
static DataPoints | loadCSV (std::istream &is) |
Load comma separated values (csv) file. | |
static void | saveCSV (const DataPoints &data, const std::string &fileName) |
Save point cloud to a file as CSV. | |
static void | saveCSV (const DataPoints &data, std::ostream &os) |
Save point cloud to a stream as CSV. | |
static DataPoints | loadVTK (const std::string &fileName) |
Load point cloud from a file as VTK. | |
static DataPoints | loadVTK (std::istream &is) |
Load point cloud from a stream as VTK. | |
static void | saveVTK (const DataPoints &data, const std::string &fileName) |
Save point cloud to a file as VTK. |
IO Functions and classes that are dependant on scalar type are defined in this templatized class.
template PointMatcher< double >::DataPoints PointMatcherIO< T >::loadCSV | ( | const std::string & | fileName | ) | [static] |
Load comma separated values (csv) file.
fileName | a string containing the path and the file name |
This loader has 3 behaviors since there is no official standard for csv files. A 2D or 3D point cloud will be created automatically if:
Otherwise, the user is asked to enter column id manually which might block automatic processing.
PointMatcher< T >::DataPoints PointMatcherIO< T >::loadCSV | ( | std::istream & | is | ) | [static] |
Load comma separated values (csv) file.