pub struct GaussianCov3dRotScaleConfig;Expand description
The unconverted rotation and scale covariance 3D configuration of Gaussian.
Instead of storing the covariance matrix, this config stores the rotation and scale directly.
Trait Implementations§
Source§impl GaussianCov3dConfig for GaussianCov3dRotScaleConfig
impl GaussianCov3dConfig for GaussianCov3dRotScaleConfig
Source§fn from_rot_scale(rot: Quat, scale: Vec3) -> Self::Field
fn from_rot_scale(rot: Quat, scale: Vec3) -> Self::Field
Create from
Gaussian::rot and Gaussian::scale.Source§fn to_rot_scale(field: &Self::Field) -> (Quat, Vec3)
fn to_rot_scale(field: &Self::Field) -> (Quat, Vec3)
Convert the field to
Gaussian::rot and Gaussian::scale.Auto Trait Implementations§
impl Freeze for GaussianCov3dRotScaleConfig
impl RefUnwindSafe for GaussianCov3dRotScaleConfig
impl Send for GaussianCov3dRotScaleConfig
impl Sync for GaussianCov3dRotScaleConfig
impl Unpin for GaussianCov3dRotScaleConfig
impl UnwindSafe for GaussianCov3dRotScaleConfig
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