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