Point Cloud Library (PCL)  1.14.0-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 ()=default
 
 ~IFSWriter ()=default
 
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 142 of file ifs_io.h.

Constructor & Destructor Documentation

◆ IFSWriter()

pcl::IFSWriter::IFSWriter ( )
default

◆ ~IFSWriter()

pcl::IFSWriter::~IFSWriter ( )
default

Member Function Documentation

◆ write() [1/2]

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().

◆ write() [2/2]

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 171 of file ifs_io.h.

References pcl::write().


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