pub trait PointCloudReader: Send + Sync {
// Required methods
fn read_point_cloud(&self, path: &Path) -> Result<PointCloud<Point3f>>;
fn can_read(&self, path: &Path) -> bool;
fn format_name(&self) -> &'static str;
}
Expand description
Trait for reading point clouds from files
Required Methods§
Sourcefn read_point_cloud(&self, path: &Path) -> Result<PointCloud<Point3f>>
fn read_point_cloud(&self, path: &Path) -> Result<PointCloud<Point3f>>
Read a point cloud from the given path
Sourcefn can_read(&self, path: &Path) -> bool
fn can_read(&self, path: &Path) -> bool
Check if this reader can handle the given file by examining its header
Sourcefn format_name(&self) -> &'static str
fn format_name(&self) -> &'static str
Get the format name this reader handles