IO Functions and classes that are dependant on scalar type are defined in this templatized class.
More...
Classes |
struct | CsvDescriptor |
| A structure to hold information about descriptors contained in a CSV file. More...
|
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...
|
class | PLYElement |
| Interface for all PLY elements. Implementations must provide definition of getPMType() More...
|
class | PLYElementF |
| Factory for PLY elements. More...
|
struct | PLYProperty |
| Interface for PLY property. More...
|
class | PLYVertex |
| Implementation of PLY vertex element. More...
|
Public Types |
typedef PointMatcher< T >
::DataPoints | DataPoints |
| alias
|
typedef std::map< std::string,
DescAssociationPair > | DescAssociationMap |
typedef std::pair< int,
std::string > | DescAssociationPair |
| Pair descriptor column, descriptor name.
|
typedef PointMatcher< T >
::DataPoints::Label | Label |
| alias
|
typedef PointMatcher< T >::Matrix | Matrix |
| alias
|
typedef PointMatcher< T >::Matrix | Parameters |
| alias
|
typedef std::map< std::string,
std::vector< PLYProperty > > | PLYDescPropMap |
enum | SupportedVTKDataTypes { POLYDATA,
UNSTRUCTURED_GRID
} |
| Enumeration of legacy VTK data types that can be parsed. More...
|
typedef PointMatcher< T >
::TransformationParameters | TransformationParameters |
| alias
|
typedef PointMatcher< T >::Vector | Vector |
| alias
|
Static Public Member Functions |
static bool | colLabelRegistered (const std::string &colLabel) |
| returns true if a particular descriptor dim label is registered (ie nx, red...)
|
static std::string | getColLabel (const Label &label, const int row) |
| convert a descriptor label to an appropriate sub-label
|
static DescAssociationMap | getDescAssocationMap () |
| map to store association between common 1d descriptor labels and their PM label and span dimension
|
static DescAssociationPair | getDescAssociationPair (const std::string &colLabel) |
| get PM descriptor label associated with sublabel colLabel
|
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 DataPoints | loadPCD (const std::string &fileName) |
static DataPoints | loadPCD (std::istream &is) |
| Load PCD file.
|
static DataPoints | loadPLY (const std::string &fileName) |
| Load polygon file format (ply) file.
|
static DataPoints | loadPLY (std::istream &is) |
| Load polygon file format (PLY) file.
|
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 bool | plyPropTypeValid (const std::string &type) |
| Check that property defined by type is a valid PLY type note: type must be lowercase.
|
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 void | savePCD (const DataPoints &data, const std::string &fileName) |
| save datapoints to PCD point cloud format
|
static void | savePLY (const DataPoints &data, const std::string &fileName) |
| save datapoints to PLY point cloud format
|
static void | saveVTK (const DataPoints &data, const std::string &fileName) |
| Save point cloud to a file as VTK.
|
template<typename T>
struct PointMatcherIO< T >
IO Functions and classes that are dependant on scalar type are defined in this templatized class.
Definition at line 43 of file IO.h.