Point Cloud Data (FILE) file format writer. More...
#include <pcl/io/file_io.h>
Public Member Functions | |
FileWriter () | |
Empty constructor. More... |
|
virtual | ~FileWriter () |
Empty destructor. More... |
|
virtual int | write (const std::string &file_name, const pcl::PCLPointCloud2 &cloud, const Eigen::Vector4f &origin=Eigen::Vector4f::Zero(), const Eigen::Quaternionf &orientation=Eigen::Quaternionf::Identity(), const bool binary=false)=0 |
Save point cloud data to a FILE file containing n-D points. More... |
|
int | write (const std::string &file_name, const pcl::PCLPointCloud2::ConstPtr &cloud, const Eigen::Vector4f &origin=Eigen::Vector4f::Zero(), const Eigen::Quaternionf &orientation=Eigen::Quaternionf::Identity(), const bool binary=false) |
Save point cloud data to a FILE file containing n-D points. More... |
|
template<typename PointT > | |
int | write (const std::string &file_name, const pcl::PointCloud< PointT > &cloud, const bool binary=false) |
Save point cloud data to a FILE file containing n-D points. More... |
|
Point Cloud Data (FILE) file format writer.
Any (FILE) format file reader should implement its virtual methods
| inlinevirtual |
| pure virtual |
Save point cloud data to a FILE file containing n-D points.
[in] | file_name | the output file name |
[in] | cloud | the point cloud data message |
[in] | origin | the sensor acquisition origin |
[in] | orientation | the sensor acquisition orientation |
[in] | binary | set to true if the file is to be written in a binary FILE format, false (default) for ASCII |
Implemented in pcl::PLYWriter, and pcl::PCDWriter.
| inline |
Save point cloud data to a FILE file containing n-D points.
[in] | file_name | the output file name |
[in] | cloud | the point cloud data message (boost shared pointer) |
[in] | binary | set to true if the file is to be written in a binary FILE format, false (default) for ASCII |
[in] | origin | the sensor acquisition origin |
[in] | orientation | the sensor acquisition orientation |
Definition at line 194 of file file_io.h.
References pcl::write().
| inline |
Save point cloud data to a FILE file containing n-D points.
[in] | file_name | the output file name |
[in] | cloud | the pcl::PointCloud data |
[in] | binary | set to true if the file is to be written in a binary FILE format, false (default) for ASCII |
Definition at line 209 of file file_io.h.
References pcl::PointCloud< PointT >::sensor_orientation_, pcl::PointCloud< PointT >::sensor_origin_, pcl::toPCLPointCloud2(), and pcl::write().
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1_file_writer.html