Static Public Member Functions | Static Private Member Functions

lssr::AsciiIO< T > Class Template Reference

A import / export class for point cloud data in plain text formats. Currently the file extensions .xyz, .txt, .3d and .pts are supported. More...

#include <AsciiIO.hpp>

List of all members.

Static Public Member Functions

static T ** read (string filename, size_t &count)
 Reads the given file and stores point and normal information in the given parameters.

Static Private Member Functions

static int getEntriesInLine (string filename)
 TODO: Coordinate mapping for ascii files.

Detailed Description

template<typename T>
class lssr::AsciiIO< T >

A import / export class for point cloud data in plain text formats. Currently the file extensions .xyz, .txt, .3d and .pts are supported.

Definition at line 20 of file AsciiIO.hpp.


Member Function Documentation

template<typename T >
static int lssr::AsciiIO< T >::getEntriesInLine ( string  filename  )  [static, private]

TODO: Coordinate mapping for ascii files.

Helper method. Returns the number of columns in the given file.

template<typename T >
static T** lssr::AsciiIO< T >::read ( string  filename,
size_t &  count 
) [static]

Reads the given file and stores point and normal information in the given parameters.

Parameters:
filename The file to read
count The number of elements read
Returns:
The read point cloud data or a zero pointer of reading failed.

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Defines