pub struct IsoSurfaceParams {
pub isovalue: Option<f64>,
pub relative_isovalue: Option<f32>,
pub wireframe: Option<bool>,
pub opacity: Option<f32>,
}Expand description
Params for an isosurface volume representation.
isovalue is an absolute data-unit threshold; relative_isovalue is expressed in
standard deviations above the mean and is the more common way to specify a contour
level since raw absolute values vary widely between maps.
Fields§
§isovalue: Option<f64>§relative_isovalue: Option<f32>§wireframe: Option<bool>§opacity: Option<f32>Trait Implementations§
Source§impl Clone for IsoSurfaceParams
impl Clone for IsoSurfaceParams
Source§fn clone(&self) -> IsoSurfaceParams
fn clone(&self) -> IsoSurfaceParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IsoSurfaceParams
impl Debug for IsoSurfaceParams
Source§impl Default for IsoSurfaceParams
impl Default for IsoSurfaceParams
Source§fn default() -> IsoSurfaceParams
fn default() -> IsoSurfaceParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IsoSurfaceParams
impl<'de> Deserialize<'de> for IsoSurfaceParams
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
Auto Trait Implementations§
impl Freeze for IsoSurfaceParams
impl RefUnwindSafe for IsoSurfaceParams
impl Send for IsoSurfaceParams
impl Sync for IsoSurfaceParams
impl Unpin for IsoSurfaceParams
impl UnsafeUnpin for IsoSurfaceParams
impl UnwindSafe for IsoSurfaceParams
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