pub struct PointCloud3d<R: Scalar> { /* private fields */ }Expand description
A point cloud in 3D
Implementations§
Trait Implementations§
Source§impl<R: Clone + Scalar> Clone for PointCloud3d<R>
impl<R: Clone + Scalar> Clone for PointCloud3d<R>
Source§fn clone(&self) -> PointCloud3d<R>
fn clone(&self) -> PointCloud3d<R>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<R: Default + Scalar> Default for PointCloud3d<R>
impl<R: Default + Scalar> Default for PointCloud3d<R>
Source§fn default() -> PointCloud3d<R>
fn default() -> PointCloud3d<R>
Returns the “default value” for a type. Read more
Source§impl<R: Real> IntoVtkUnstructuredGridPiece for &PointCloud3d<R>
Available on crate feature vtk_extras only.
impl<R: Real> IntoVtkUnstructuredGridPiece for &PointCloud3d<R>
Available on crate feature
vtk_extras only.fn into_unstructured_grid(self) -> UnstructuredGridPiece
Source§impl<R: Real> IntoVtkUnstructuredGridPiece for PointCloud3d<R>
Available on crate feature vtk_extras only.
impl<R: Real> IntoVtkUnstructuredGridPiece for PointCloud3d<R>
Available on crate feature
vtk_extras only.fn into_unstructured_grid(self) -> UnstructuredGridPiece
Source§impl<R: Real> Mesh3d<R> for PointCloud3d<R>
impl<R: Real> Mesh3d<R> for PointCloud3d<R>
Source§fn vertices_mut(&mut self) -> &mut [Vector3<R>] ⓘ
fn vertices_mut(&mut self) -> &mut [Vector3<R>] ⓘ
Returns a mutable slice of all vertices of the mesh
Source§fn from_vertices_and_connectivity(
points: Vec<Vector3<R>>,
cells: Vec<PointCell>,
) -> Self
fn from_vertices_and_connectivity( points: Vec<Vector3<R>>, cells: Vec<PointCell>, ) -> Self
Constructs a mesh from the given vertices and connectivity (does not check inputs for validity)
Source§fn vertex_vertex_connectivity(&self) -> Vec<Vec<usize>>
fn vertex_vertex_connectivity(&self) -> Vec<Vec<usize>>
Returns a mapping of all mesh vertices to the set of their connected neighbor vertices
Source§fn vertex_cell_connectivity(&self) -> Vec<Vec<usize>>
fn vertex_cell_connectivity(&self) -> Vec<Vec<usize>>
Returns a mapping of all mesh vertices to the set of the cells they belong to
Source§fn keep_cells(&self, cell_indices: &[usize], keep_vertices: bool) -> Self
fn keep_cells(&self, cell_indices: &[usize], keep_vertices: bool) -> Self
Returns a new mesh containing only the specified cells and removes all unreferenced vertices
Auto Trait Implementations§
impl<R> Freeze for PointCloud3d<R>
impl<R> RefUnwindSafe for PointCloud3d<R>where
R: RefUnwindSafe,
impl<R> Send for PointCloud3d<R>where
R: Send,
impl<R> Sync for PointCloud3d<R>where
R: Sync,
impl<R> Unpin for PointCloud3d<R>where
R: Unpin,
impl<R> UnsafeUnpin for PointCloud3d<R>
impl<R> UnwindSafe for PointCloud3d<R>where
R: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoVtkDataSet for Twhere
T: IntoVtkUnstructuredGridPiece,
impl<T> IntoVtkDataSet for Twhere
T: IntoVtkUnstructuredGridPiece,
Source§fn into_dataset(self) -> DataSet
fn into_dataset(self) -> DataSet
Available on crate feature
vtk_extras only.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.