Point Cloud Library (PCL)  1.8.1-dev
List of all members | Public Member Functions
pcl::IFSWriter Class Reference

Point Cloud Data (IFS) file format writer. More...

#include <pcl/io/ifs_io.h>

Public Member Functions

 IFSWriter ()
 
 ~IFSWriter ()
 
int write (const std::string &file_name, const pcl::PCLPointCloud2 &cloud, const std::string &cloud_name="cloud")
 Save point cloud data to an IFS file containing 3D points. More...
 
template<typename PointT >
int write (const std::string &file_name, const pcl::PointCloud< PointT > &cloud, const std::string &cloud_name="cloud")
 Save point cloud data to an IFS file containing 3D points. More...
 

Detailed Description

Point Cloud Data (IFS) file format writer.

Author
Nizar Sallem

Definition at line 144 of file ifs_io.h.

Constructor & Destructor Documentation

pcl::IFSWriter::IFSWriter ( )
inline

Definition at line 147 of file ifs_io.h.

pcl::IFSWriter::~IFSWriter ( )
inline

Definition at line 148 of file ifs_io.h.

Member Function Documentation

int pcl::IFSWriter::write ( const std::string &  file_name,
const pcl::PCLPointCloud2 cloud,
const std::string &  cloud_name = "cloud" 
)

Save point cloud data to an IFS file containing 3D points.

Parameters
[in]file_namethe output file name
[in]cloudthe point cloud data
[in]cloud_namethe point cloud name to be stored inside the IFS file.
Returns
  • 0 on success
  • < 0 on error

Referenced by pcl::io::saveIFSFile().

template<typename PointT >
int pcl::IFSWriter::write ( const std::string &  file_name,
const pcl::PointCloud< PointT > &  cloud,
const std::string &  cloud_name = "cloud" 
)
inline

Save point cloud data to an IFS file containing 3D points.

Parameters
[in]file_namethe output file name
[in]cloudthe point cloud
[in]cloud_namethe point cloud name to be stored inside the IFS file.
Returns
  • 0 on success
  • < 0 on error

Definition at line 173 of file ifs_io.h.

References pcl::write().


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