pub trait PointCloudWriter: Send + Sync {
// Required methods
fn write_point_cloud(
&self,
cloud: &PointCloud<Point3f>,
path: &Path,
) -> Result<()>;
fn format_name(&self) -> &'static str;
}
Expand description
Trait for writing point clouds to files
Required Methods§
Sourcefn write_point_cloud(
&self,
cloud: &PointCloud<Point3f>,
path: &Path,
) -> Result<()>
fn write_point_cloud( &self, cloud: &PointCloud<Point3f>, path: &Path, ) -> Result<()>
Write a point cloud to the given path
Sourcefn format_name(&self) -> &'static str
fn format_name(&self) -> &'static str
Get the format name this writer handles