#![warn(missing_docs)]
#![warn(unused_extern_crates)]
#![warn(unused_qualifications)]
use kiss3d::resource::GPUVec;
use na::Point3;
use nalgebra as na;
#[derive(Debug)]
pub struct BBox2D {
xmin: Point3<f32>,
}
#[derive(Debug)]
pub struct BBox3D {
xmin: Point3<f32>,
}
#[derive(Debug, Clone, Default)]
pub struct PointCloud {
pub data: Vec<Point3<f32>>,
}
impl PointCloud {
pub fn new() -> Self {
Self { data: vec![] }
}
pub fn append(&mut self, other: &mut Vec<Point3<f32>>) {
self.data.append(other);
}
pub fn push(&mut self, point: Point3<f32>) {
self.data.push(point);
}
}
pub type PointCloudGPU = GPUVec<Point3<f32>>;
#[macro_use]
pub mod viewer;
pub mod annotation;
pub mod pclparser;
pub mod renderer;