pub struct FieldVisualizationConfig {
pub resolution: [usize; 3],
pub bounds: [[f32; 3]; 2],
pub color_scheme: ColorScheme,
pub opacity: f32,
pub mode: RenderingMode,
}Expand description
Configuration for scalar field visualization
Fields§
§resolution: [usize; 3]Sampling resolution in each dimension [x, y, z]
bounds: [[f32; 3]; 2]Spatial bounds [[min_x, min_y, min_z], [max_x, max_y, max_z]]
color_scheme: ColorSchemeColor mapping scheme
opacity: f32Overall opacity for the visualization
mode: RenderingModeRendering method
Trait Implementations§
Source§impl Clone for FieldVisualizationConfig
impl Clone for FieldVisualizationConfig
Source§fn clone(&self) -> FieldVisualizationConfig
fn clone(&self) -> FieldVisualizationConfig
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 Debug for FieldVisualizationConfig
impl Debug for FieldVisualizationConfig
Auto Trait Implementations§
impl Freeze for FieldVisualizationConfig
impl RefUnwindSafe for FieldVisualizationConfig
impl Send for FieldVisualizationConfig
impl Sync for FieldVisualizationConfig
impl Unpin for FieldVisualizationConfig
impl UnwindSafe for FieldVisualizationConfig
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 more