pub struct SimplifyOptions {
pub epsilon_mm: f32,
pub group: Option<String>,
pub default_width_mm: f32,
pub default_tension: f32,
pub _parallel_chunks: Option<usize>,
}Fields§
§epsilon_mm: f32Hausdorff tolerance in the same units as the tractogram positions (RAS+ mm for TRX). Smaller values keep more control points.
group: Option<String>If Some, only this group’s streamlines are written to the output.
None keeps all streamlines and preserves every group.
default_width_mm: f32Default width value (mm) written as a per-vertex DPV column. Lets
downstream editors honour future width-driven dispersal without
requiring the user to enter values up-front.
default_tension: f32Default tension value written as a per-vertex DPV column.
_parallel_chunks: Option<usize>Number of streamlines to process in parallel (per Rayon default if
None). Currently the implementation is single-threaded; this knob
is reserved for a future parallel feature gate.
Trait Implementations§
Source§impl Clone for SimplifyOptions
impl Clone for SimplifyOptions
Source§fn clone(&self) -> SimplifyOptions
fn clone(&self) -> SimplifyOptions
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 SimplifyOptions
impl Debug for SimplifyOptions
Auto Trait Implementations§
impl Freeze for SimplifyOptions
impl RefUnwindSafe for SimplifyOptions
impl Send for SimplifyOptions
impl Sync for SimplifyOptions
impl Unpin for SimplifyOptions
impl UnsafeUnpin for SimplifyOptions
impl UnwindSafe for SimplifyOptions
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§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.