-
Notifications
You must be signed in to change notification settings - Fork 3
const std::string& file_namepcl::PointCloud<pcl::PointXYZRGB>::Ptr point_cloud
void
Load a point cloud from a PLY file named file_name, the point cloud is saved in point_cloud. file_name must be *.ply and file must follow PLY format.
const std::string& file_namepcl::PointCloud<pcl::PointXYZRGB>::Ptr point_cloudbool binary_mode = false
void
Save a point cloud to a PLY file named file_name, the point cloud is saved in point_cloud, binary_mode control the writing format, true for binary and false for ascii, false by default. file_name must be *.ply and file must follow PLY format.
const std::string& file_namepcl::PointCloud<pcl::PointXYZRGB>::Ptr point_cloudunsigned int unique_color = 0x000000bool binary_mode = false
void
Save a point cloud to a PLY file named file_name, the point cloud is saved in point_cloud, binary_mode control the writing format, true for binary and false for ascii, false by default. Set all points color to unique_color, 0x00rrggbb, 0x00000000 black by default. file_name must be *.ply and file must follow PLY format.
common::Patch& _patchconst std::string& _name
void
Load a patch from a binary file named _name. _name must be *.patch, _patch should be an empty patch because this method will reset _patch.cloud to a new cloud malloced here.
const common::Patch& _patchconst std::string& _name
void
Save a patch to a binary file named _name. _name must be *.patch.
common::Slice& _sliceconst std::string& _name
void
Load a slice from a binary file named _name. _name must be *.slice, _slice should be an empty patch because this method will call _slice.clear() and reset _slice.geometry _slice.color to new vector malloced here.
const common::Slice& _sliceconst std::string& _name
void
Save a slice to a binary file named _name. _name must be *.slice.