pub struct RefinerConfig {
pub range_densification: RangeOptions,
pub range_increasing_colors_sh_degree_max: RangeOptions,
pub threshold_opacity: f64,
pub threshold_position_2d_grad_norm: f64,
pub threshold_scaling: f64,
}
Expand description
Configuration for the refiner.
Fields§
§range_densification: RangeOptions
Range for densification.
range_increasing_colors_sh_degree_max: RangeOptions
Range for increasing the colors SH degree max.
threshold_opacity: f64
Threshold for opacity.
threshold_position_2d_grad_norm: f64
Threshold for the 2D position gradient norm.
threshold_scaling: f64
Threshold for scaling.
Implementations§
source§impl RefinerConfig
impl RefinerConfig
source§impl RefinerConfig
impl RefinerConfig
sourcepub fn with_range_densification(self, range_densification: RangeOptions) -> Self
pub fn with_range_densification(self, range_densification: RangeOptions) -> Self
Range for densification.
sourcepub fn with_range_increasing_colors_sh_degree_max(
self,
range_increasing_colors_sh_degree_max: RangeOptions,
) -> Self
pub fn with_range_increasing_colors_sh_degree_max( self, range_increasing_colors_sh_degree_max: RangeOptions, ) -> Self
Range for increasing the colors SH degree max.
sourcepub fn with_threshold_opacity(self, threshold_opacity: f64) -> Self
pub fn with_threshold_opacity(self, threshold_opacity: f64) -> Self
Threshold for opacity.
sourcepub fn with_threshold_position_2d_grad_norm(
self,
threshold_position_2d_grad_norm: f64,
) -> Self
pub fn with_threshold_position_2d_grad_norm( self, threshold_position_2d_grad_norm: f64, ) -> Self
Threshold for the 2D position gradient norm.
sourcepub fn with_threshold_scaling(self, threshold_scaling: f64) -> Self
pub fn with_threshold_scaling(self, threshold_scaling: f64) -> Self
Threshold for scaling.
Trait Implementations§
source§impl Clone for RefinerConfig
impl Clone for RefinerConfig
source§impl Config for RefinerConfig
impl Config for RefinerConfig
source§impl Debug for RefinerConfig
impl Debug for RefinerConfig
source§impl Default for RefinerConfig
impl Default for RefinerConfig
source§impl<'de> Deserialize<'de> for RefinerConfig
impl<'de> Deserialize<'de> for RefinerConfig
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for RefinerConfig
impl Display for RefinerConfig
source§impl PartialEq for RefinerConfig
impl PartialEq for RefinerConfig
source§impl Serialize for RefinerConfig
impl Serialize for RefinerConfig
impl Copy for RefinerConfig
impl StructuralPartialEq for RefinerConfig
Auto Trait Implementations§
impl Freeze for RefinerConfig
impl RefUnwindSafe for RefinerConfig
impl Send for RefinerConfig
impl Sync for RefinerConfig
impl Unpin for RefinerConfig
impl UnwindSafe for RefinerConfig
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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