[][src]Trait pointcloud::MetaCloud

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

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

Associated Types

type Metadata: ?Sized

Underlying metadata

type MetaSummary: Summary<Label = Self::Metadata>

A summary of the underlying metadata

Loading content...

Required methods

fn metadata(&self, pn: PointIndex) -> PointCloudResult<Option<&Self::Metadata>>

Expensive metadata object for the sample

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

Expensive metadata summary over the samples

Loading content...

Implementors

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

Loading content...