#[repr(C)]pub struct libmv_ReconstructionOptions {
pub keyframe1: i32,
pub keyframe2: i32,
pub refine_intrinsics: i32,
pub select_keyframes: i32,
pub verbosity_level: i32,
}Expand description
Data structure describing the reconstruction options.
§Parameters
- _keyframe1: first keyframe used in order to initialize the reconstruction.
- _keyframe2: second keyframe used in order to initialize the reconstruction.
- _refine_intrinsics: camera parameter or combination of parameters to refine.
- _select_keyframes: allows to select automatically the initial keyframes. If 1 then autoselection is enabled. If 0 then is disabled.
- _verbosity_level: verbosity logs level for Glog. If -1 then logs are disabled, otherwise the log level will be the input integer.
Fields§
§keyframe1: i32§keyframe2: i32§refine_intrinsics: i32§select_keyframes: i32§verbosity_level: i32Implementations§
Source§impl libmv_ReconstructionOptions
impl libmv_ReconstructionOptions
Sourcepub fn new(
_keyframe1: i32,
_keyframe2: i32,
_refine_intrinsics: i32,
_select_keyframes: i32,
_verbosity_level: i32,
) -> Result<libmv_ReconstructionOptions>
pub fn new( _keyframe1: i32, _keyframe2: i32, _refine_intrinsics: i32, _select_keyframes: i32, _verbosity_level: i32, ) -> Result<libmv_ReconstructionOptions>
§C++ default parameters
- _keyframe1: 1
- _keyframe2: 2
- _refine_intrinsics: 1
- _select_keyframes: 1
- _verbosity_level: -1
Sourcepub fn new_def() -> Result<libmv_ReconstructionOptions>
pub fn new_def() -> Result<libmv_ReconstructionOptions>
§Note
This alternative version of [new] function uses the following default values for its arguments:
- _keyframe1: 1
- _keyframe2: 2
- _refine_intrinsics: 1
- _select_keyframes: 1
- _verbosity_level: -1
Trait Implementations§
Source§impl Clone for libmv_ReconstructionOptions
impl Clone for libmv_ReconstructionOptions
Source§fn clone(&self) -> libmv_ReconstructionOptions
fn clone(&self) -> libmv_ReconstructionOptions
Returns a copy 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 libmv_ReconstructionOptions
impl Debug for libmv_ReconstructionOptions
impl Copy for libmv_ReconstructionOptions
impl StructuralPartialEq for libmv_ReconstructionOptions
Auto Trait Implementations§
impl Freeze for libmv_ReconstructionOptions
impl RefUnwindSafe for libmv_ReconstructionOptions
impl Send for libmv_ReconstructionOptions
impl Sync for libmv_ReconstructionOptions
impl Unpin for libmv_ReconstructionOptions
impl UnwindSafe for libmv_ReconstructionOptions
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