Public Member Functions | List of all members
lvr2::PCDIO Class Reference

A import / export class for point cloud data in the PointCloudLibrary file format. More...

#include <PCDIO.hpp>

Inheritance diagram for lvr2::PCDIO:
Inheritance graph
[legend]

Public Member Functions

 PCDIO ()
 Default constructor. More...
 
virtual ModelPtr read (string filename)
 Reads the given file and stores point and normal information in the given parameters. More...
 
virtual void save (string filename)
 
- Public Member Functions inherited from lvr2::BaseIO
 BaseIO ()
 
virtual ModelPtr getModel ()
 Get the model for io operations. More...
 
virtual ModelPtr read (std::string filename)=0
 Parse the given file and load supported elements. More...
 
virtual void save (ModelPtr model, std::string filename)
 Set the model and save the loaded elements to the given file. More...
 
virtual void save (std::string filename)=0
 Save the loaded elements to the given file. More...
 
virtual void setModel (ModelPtr m)
 Set the model for io operations to use. More...
 
virtual ~BaseIO ()
 

Additional Inherited Members

- Protected Attributes inherited from lvr2::BaseIO
ModelPtr m_model
 

Detailed Description

A import / export class for point cloud data in the PointCloudLibrary file format.

Definition at line 54 of file PCDIO.hpp.

Constructor & Destructor Documentation

◆ PCDIO()

lvr2::PCDIO::PCDIO ( )
inline

Default constructor.

Definition at line 61 of file PCDIO.hpp.

Member Function Documentation

◆ read()

ModelPtr lvr2::PCDIO::read ( string  filename)
virtual

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

Parameters
filenameThe file to read

Definition at line 116 of file PCDIO.cpp.

◆ save()

void lvr2::PCDIO::save ( string  filename)
virtual
Todo:
: Implement save method for ASCII Files...
Parameters
filename

Definition at line 125 of file PCDIO.cpp.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:27