Trait BaseSFMTrait

Source
pub trait BaseSFMTrait: BaseSFMTraitConst {
    // Required method
    fn as_raw_mut_BaseSFM(&mut self) -> *mut c_void;

    // Provided methods
    fn run(&mut self, points2d: &impl ToInputArray) -> Result<()> { ... }
    fn run_1(
        &mut self,
        points2d: &impl ToInputArray,
        k: &mut impl ToInputOutputArray,
        rs: &mut impl ToOutputArray,
        ts: &mut impl ToOutputArray,
        points3d: &mut impl ToOutputArray,
    ) -> Result<()> { ... }
    fn run_2(&mut self, images: &Vector<String>) -> Result<()> { ... }
    fn run_3(
        &mut self,
        images: &Vector<String>,
        k: &mut impl ToInputOutputArray,
        rs: &mut impl ToOutputArray,
        ts: &mut impl ToOutputArray,
        points3d: &mut impl ToOutputArray,
    ) -> Result<()> { ... }
    fn get_points(&mut self, points3d: &mut impl ToOutputArray) -> Result<()> { ... }
    fn get_cameras(
        &mut self,
        rs: &mut impl ToOutputArray,
        ts: &mut impl ToOutputArray,
    ) -> Result<()> { ... }
    fn set_reconstruction_options(
        &mut self,
        libmv_reconstruction_options: libmv_ReconstructionOptions,
    ) -> Result<()> { ... }
    fn set_camera_intrinsic_options(
        &mut self,
        libmv_camera_intrinsics_options: libmv_CameraIntrinsicsOptions,
    ) -> Result<()> { ... }
}
Expand description

Mutable methods for crate::sfm::BaseSFM

Required Methods§

Provided Methods§

Source

fn run(&mut self, points2d: &impl ToInputArray) -> Result<()>

Source

fn run_1( &mut self, points2d: &impl ToInputArray, k: &mut impl ToInputOutputArray, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray, points3d: &mut impl ToOutputArray, ) -> Result<()>

Source

fn run_2(&mut self, images: &Vector<String>) -> Result<()>

Source

fn run_3( &mut self, images: &Vector<String>, k: &mut impl ToInputOutputArray, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray, points3d: &mut impl ToOutputArray, ) -> Result<()>

Source

fn get_points(&mut self, points3d: &mut impl ToOutputArray) -> Result<()>

Source

fn get_cameras( &mut self, rs: &mut impl ToOutputArray, ts: &mut impl ToOutputArray, ) -> Result<()>

Source

fn set_reconstruction_options( &mut self, libmv_reconstruction_options: libmv_ReconstructionOptions, ) -> Result<()>

Source

fn set_camera_intrinsic_options( &mut self, libmv_camera_intrinsics_options: libmv_CameraIntrinsicsOptions, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§