[][src]Trait pointcloud::MetaCloud

pub trait MetaCloud {
    type Metadata: ?Sized;
    type MetaSummary: Summary<Label = Self::Metadata>;
    pub fn metadata(
        &self,
        pn: usize
    ) -> PointCloudResult<Option<&Self::Metadata>>;
pub fn metasummary(
        &self,
        pns: &[usize]
    ) -> PointCloudResult<SummaryCounter<Self::MetaSummary>>; }

Allows for expensive metadata, this is identical to the label trait, but enables slower update

Associated Types

type Metadata: ?Sized[src]

Underlying metadata

type MetaSummary: Summary<Label = Self::Metadata>[src]

A summary of the underlying metadata

Loading content...

Required methods

pub fn metadata(&self, pn: usize) -> PointCloudResult<Option<&Self::Metadata>>[src]

Expensive metadata object for the sample

pub fn metasummary(
    &self,
    pns: &[usize]
) -> PointCloudResult<SummaryCounter<Self::MetaSummary>>
[src]

Expensive metadata summary over the samples

Loading content...

Implementors

impl<D: PointCloud + MetaCloud> MetaCloud for HashGluedCloud<D>[src]

type Metadata = D::Metadata

type MetaSummary = D::MetaSummary

Loading content...