[−][src]Trait pointcloud::PointRef
A trait to ensure that we can create matrices and statiscial vectors from your point reference.
See crate::points
for some pre-baked implementations.
Associated Types
Loading content...Required methods
pub fn dense_iter(&self) -> Self::DenseIter
[src]
The actual call to the dense iterator that PointCloud
uses.
Provided methods
pub fn dense(&self) -> Vec<f32>
[src]
provided because this could be faster than iteration (for example a memcpy).
Implementations on Foreign Types
impl<'a> PointRef for &'a [f32]
[src]
type DenseIter = Copied<Iter<'a, f32>>
pub fn dense(&self) -> Vec<f32>
[src]
pub fn dense_iter(&self) -> Self::DenseIter
[src]
impl<'a> PointRef for &'a [i8]
[src]
type DenseIter = Converteri8<'a>
pub fn dense(&self) -> Vec<f32>
[src]
pub fn dense_iter(&self) -> Self::DenseIter
[src]
impl<'a> PointRef for &'a [u8]
[src]
type DenseIter = Converteru8<'a>
pub fn dense(&self) -> Vec<f32>
[src]
pub fn dense_iter(&self) -> Self::DenseIter
[src]
impl<'a> PointRef for &'a [i16]
[src]
type DenseIter = Converteri16<'a>
pub fn dense(&self) -> Vec<f32>
[src]
pub fn dense_iter(&self) -> Self::DenseIter
[src]
impl<'a> PointRef for &'a [u16]
[src]
type DenseIter = Converteru16<'a>
pub fn dense(&self) -> Vec<f32>
[src]
pub fn dense_iter(&self) -> Self::DenseIter
[src]
impl<'a> PointRef for &'a [i32]
[src]
type DenseIter = Converteri32<'a>
pub fn dense(&self) -> Vec<f32>
[src]
pub fn dense_iter(&self) -> Self::DenseIter
[src]
impl<'a> PointRef for &'a [u32]
[src]
type DenseIter = Converteru32<'a>
pub fn dense(&self) -> Vec<f32>
[src]
pub fn dense_iter(&self) -> Self::DenseIter
[src]
Implementors
impl<'a, T, S> PointRef for SparseRef<'a, T, S> where
T: Debug + Copy + Into<f32> + Send + Sync,
S: TryInto<usize> + Ord + TryFrom<usize> + Debug + Copy + Send + Sync + 'static,
[src]
T: Debug + Copy + Into<f32> + Send + Sync,
S: TryInto<usize> + Ord + TryFrom<usize> + Debug + Copy + Send + Sync + 'static,