#[non_exhaustive]pub enum BlendMode {
Composite,
MaximumIntensity,
MinimumIntensity,
AverageIntensity,
Additive,
Isosurface {
iso_value: f64,
},
}Expand description
Compositing algorithm used during GPU raycasting.
§VTK Equivalent
vtkGPUVolumeRayCastMapper::SetBlendMode.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Composite
Front-to-back alpha compositing (default for anatomical rendering).
MaximumIntensity
Maximum intensity projection — displays the brightest voxel along each ray.
MinimumIntensity
Minimum intensity projection.
AverageIntensity
Mean intensity along the ray.
Additive
Additive accumulation (unweighted).
Isosurface
Render the isosurface at a given scalar value using Phong shading.
Trait Implementations§
impl Copy for BlendMode
impl StructuralPartialEq for BlendMode
Auto Trait Implementations§
impl Freeze for BlendMode
impl RefUnwindSafe for BlendMode
impl Send for BlendMode
impl Sync for BlendMode
impl Unpin for BlendMode
impl UnsafeUnpin for BlendMode
impl UnwindSafe for BlendMode
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