Point Cloud Library (PCL) 1.12.0
Loading...
Searching...
No Matches
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.
 
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.
 

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

Definition at line 145 of file ifs_io.h.

◆ ~IFSWriter()

pcl::IFSWriter::~IFSWriter ( )
inline

Definition at line 146 of file ifs_io.h.

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(), and 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: