Struct pointcloud::SimpleNamedCloud [−][src]
pub struct SimpleNamedCloud<D, N> { /* fields omitted */ }
Simply shoves together a point cloud and a name set, for a modular name system
Implementations
impl<D: PointCloud, N: NamedSet> SimpleNamedCloud<D, N>
[src]
impl<D: PointCloud, N: NamedSet> SimpleNamedCloud<D, N>
[src]Trait Implementations
impl<D: Debug, N: Debug> Debug for SimpleNamedCloud<D, N>
[src]
impl<D: Debug, N: Debug> Debug for SimpleNamedCloud<D, N>
[src]impl<D: PointCloud, N: NamedSet> PointCloud for SimpleNamedCloud<D, N>
[src]
impl<D: PointCloud, N: NamedSet> PointCloud for SimpleNamedCloud<D, N>
[src]type Metric = D::Metric
Underlying metric this point cloud uses
type Point = D::Point
The derefrenced, raw point. Think f32
type PointRef = D::PointRef
type Metadata = D::Metadata
Underlying metadata
type MetaSummary = D::MetaSummary
A summary of the underlying metadata
type Label = D::Label
The label type. Summary of a set of labels Read more
type LabelSummary = D::LabelSummary
Summary of a set of labels
fn dim(&self) -> usize
[src]
fn len(&self) -> usize
[src]
fn is_empty(&self) -> bool
[src]
fn reference_indexes(&self) -> Vec<usize>
[src]
fn point<'a, 'b: 'a>(&'b self, i: usize) -> PointCloudResult<Self::PointRef>
[src]
fn metadata(&self, pn: usize) -> PointCloudResult<Option<&Self::Metadata>>
[src]
fn metasummary(
&self,
pns: &[usize]
) -> PointCloudResult<SummaryCounter<Self::MetaSummary>>
[src]
&self,
pns: &[usize]
) -> PointCloudResult<SummaryCounter<Self::MetaSummary>>
Expensive metadata summary over the samples
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.
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.
fn name(&self, pi: usize) -> PointCloudResult<String>
[src]
Grabs the name of the point. Returns an error if the access errors out, and a None if the name is unknown
fn index(&self, pn: &str) -> PointCloudResult<usize>
[src]
Converts a name to an index you can use
fn names(&self) -> Vec<String>
[src]
Gather’s all valid known names
fn point_dense_array(&self, index: usize) -> PointCloudResult<Array1<f32>>
[src]
fn points_dense_matrix(
&self,
indexes: &[usize]
) -> PointCloudResult<Array2<f32>>
[src]
&self,
indexes: &[usize]
) -> PointCloudResult<Array2<f32>>
fn distances_to_point_index(
&self,
i: usize,
indexes: &[usize]
) -> PointCloudResult<Vec<f32>>
[src]
&self,
i: usize,
indexes: &[usize]
) -> PointCloudResult<Vec<f32>>
fn distances_to_point<T: Deref<Target = Self::Point> + Send + Sync>(
&self,
x: &T,
indexes: &[usize]
) -> PointCloudResult<Vec<f32>>
[src]
&self,
x: &T,
indexes: &[usize]
) -> PointCloudResult<Vec<f32>>
fn moment_1(&self, indexes: &[usize]) -> PointCloudResult<Vec<f32>> where
f32: AddAssign,
[src]
f32: AddAssign,
fn moment_2(&self, indexes: &[usize]) -> PointCloudResult<Vec<f32>> where
f32: Mul<Output = f32> + AddAssign,
[src]
f32: Mul<Output = f32> + AddAssign,
Auto Trait Implementations
impl<D, N> RefUnwindSafe for SimpleNamedCloud<D, N> where
D: RefUnwindSafe,
N: RefUnwindSafe,
impl<D, N> RefUnwindSafe for SimpleNamedCloud<D, N> where
D: RefUnwindSafe,
N: RefUnwindSafe,
impl<D, N> Send for SimpleNamedCloud<D, N> where
D: Send,
N: Send,
impl<D, N> Send for SimpleNamedCloud<D, N> where
D: Send,
N: Send,
impl<D, N> Sync for SimpleNamedCloud<D, N> where
D: Sync,
N: Sync,
impl<D, N> Sync for SimpleNamedCloud<D, N> where
D: Sync,
N: Sync,
impl<D, N> Unpin for SimpleNamedCloud<D, N> where
D: Unpin,
N: Unpin,
impl<D, N> Unpin for SimpleNamedCloud<D, N> where
D: Unpin,
N: Unpin,
impl<D, N> UnwindSafe for SimpleNamedCloud<D, N> where
D: UnwindSafe,
N: UnwindSafe,
impl<D, N> UnwindSafe for SimpleNamedCloud<D, N> where
D: UnwindSafe,
N: UnwindSafe,