[−][src]Trait pointcloud::LabeledCloud
A point cloud that is labeled
Associated Types
type Label: ?Sized
[src]
Underlying type.
type LabelSummary: Summary<Label = Self::Label>
[src]
Summary of a set of labels
Required methods
pub fn label(&self, pn: usize) -> PointCloudResult<Option<&Self::Label>>
[src]
Grabs a label reference. Supports errors (the label could be remote), and partially labeled datasets with the option.
pub fn label_summary(
&self,
pns: &[usize]
) -> PointCloudResult<SummaryCounter<Self::LabelSummary>>
[src]
&self,
pns: &[usize]
) -> PointCloudResult<SummaryCounter<Self::LabelSummary>>
Grabs a label summary of a set of indexes.
Implementors
impl<D, L: LabelSet> LabeledCloud for SimpleLabeledCloud<D, L>
[src]
type Label = L::Label
type LabelSummary = L::LabelSummary
pub fn label(&self, pn: usize) -> PointCloudResult<Option<&Self::Label>>
[src]
pub fn label_summary(
&self,
pns: &[usize]
) -> PointCloudResult<SummaryCounter<Self::LabelSummary>>
[src]
&self,
pns: &[usize]
) -> PointCloudResult<SummaryCounter<Self::LabelSummary>>
impl<D: LabeledCloud> LabeledCloud for HashGluedCloud<D>
[src]
type Label = D::Label
type LabelSummary = D::LabelSummary
pub fn label(&self, pn: usize) -> PointCloudResult<Option<&Self::Label>>
[src]
pub fn label_summary(
&self,
pns: &[usize]
) -> PointCloudResult<SummaryCounter<Self::LabelSummary>>
[src]
&self,
pns: &[usize]
) -> PointCloudResult<SummaryCounter<Self::LabelSummary>>