pub struct PlyStats {
pub num_vertices: usize,
pub bounding_box: ([f32; 3], [f32; 3]),
pub sh_degree: Option<u32>,
pub has_colors: bool,
pub opacity_stats: Option<AttributeStats>,
pub scale_stats: Option<AttributeStats>,
pub file_size_bytes: u64,
pub custom_property_count: usize,
pub opacities: Option<Vec<f32>>,
pub scales: Option<Vec<[f32; 3]>>,
}Expand description
Summary statistics for a PLY file.
Fields§
§num_vertices: usize§bounding_box: ([f32; 3], [f32; 3])§sh_degree: Option<u32>§has_colors: bool§opacity_stats: Option<AttributeStats>§scale_stats: Option<AttributeStats>§file_size_bytes: u64§custom_property_count: usize§opacities: Option<Vec<f32>>Raw opacity values (for histogram rendering)
scales: Option<Vec<[f32; 3]>>Raw scale values (for histogram rendering)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PlyStats
impl RefUnwindSafe for PlyStats
impl Send for PlyStats
impl Sync for PlyStats
impl Unpin for PlyStats
impl UnsafeUnpin for PlyStats
impl UnwindSafe for PlyStats
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> 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 more