pub struct RegisterOptions {
pub icp: IcpOptions,
pub max_samples: usize,
pub apply: bool,
pub max_rmse: Option<f64>,
}Expand description
Options for Scene::register.
Fields§
§icp: IcpOptionsThe solver’s options: iterations, tolerance, overlap and maximum distance, in world units.
max_samples: usizeThe most surface points of the moving mesh to use, evenly spaced over
its triangles’ centroids and its vertices
(fast_mesh_ops::sample_surface); at least 1. The rmse is measured
on these. Default 100,000.
apply: boolWhether a good result becomes the moving mesh’s placement, as one undo
step: it must converge and pass the guards in NotApplied. Default
true.
max_rmse: Option<f64>The largest rmse, in world units, that may be applied; None means
DEFAULT_MAX_RMSE_FRACTION of the moving points’ extent. Zero or
greater; f64::INFINITY turns the guard off.
Trait Implementations§
Source§impl Clone for RegisterOptions
impl Clone for RegisterOptions
Source§fn clone(&self) -> RegisterOptions
fn clone(&self) -> RegisterOptions
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 moreimpl Copy for RegisterOptions
Source§impl Debug for RegisterOptions
impl Debug for RegisterOptions
Source§impl Default for RegisterOptions
impl Default for RegisterOptions
Source§impl PartialEq for RegisterOptions
impl PartialEq for RegisterOptions
impl StructuralPartialEq for RegisterOptions
Auto Trait Implementations§
impl Freeze for RegisterOptions
impl RefUnwindSafe for RegisterOptions
impl Send for RegisterOptions
impl Sync for RegisterOptions
impl Unpin for RegisterOptions
impl UnsafeUnpin for RegisterOptions
impl UnwindSafe for RegisterOptions
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