PointCloudReader

Trait PointCloudReader 

Source
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§

Source

fn read_point_cloud(&self, path: &Path) -> Result<PointCloud<Point3f>>

Read a point cloud from the given path

Source

fn can_read(&self, path: &Path) -> bool

Check if this reader can handle the given file by examining its header

Source

fn format_name(&self) -> &'static str

Get the format name this reader handles

Implementors§