pub struct Detail_ProjectorBase { /* private fields */ }
Expand description

Base class for warping logic implementation.

Trait Implementations§

source§

impl Boxed for Detail_ProjectorBase

source§

unsafe fn from_raw(ptr: *mut c_void) -> Self

Wrap the specified raw pointer Read more
source§

fn into_raw(self) -> *mut c_void

Return an the underlying raw pointer while consuming this wrapper. Read more
source§

fn as_raw(&self) -> *const c_void

Return the underlying raw pointer. Read more
source§

fn as_raw_mut(&mut self) -> *mut c_void

Return the underlying mutable raw pointer Read more
source§

impl Clone for Detail_ProjectorBase

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for Detail_ProjectorBase

source§

fn default() -> Self

Forwards to infallible Self::default()

source§

impl Detail_ProjectorBaseTrait for Detail_ProjectorBase

source§

fn as_raw_mut_Detail_ProjectorBase(&mut self) -> *mut c_void

source§

fn set_scale(&mut self, val: f32)

source§

fn k(&mut self) -> &mut [f32; 9]

source§

fn rinv(&mut self) -> &mut [f32; 9]

source§

fn r_kinv(&mut self) -> &mut [f32; 9]

source§

fn k_rinv(&mut self) -> &mut [f32; 9]

source§

fn t(&mut self) -> &mut [f32; 3]

source§

fn set_camera_params( &mut self, k: &dyn ToInputArray, r: &dyn ToInputArray, t: &dyn ToInputArray ) -> Result<()>

C++ default parameters Read more
source§

impl Detail_ProjectorBaseTraitConst for Detail_ProjectorBase

source§

impl Drop for Detail_ProjectorBase

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl From<Detail_CompressedRectilinearPortraitProjector> for Detail_ProjectorBase

source§

fn from(s: Detail_CompressedRectilinearPortraitProjector) -> Self

Converts to this type from the input type.
source§

impl From<Detail_CompressedRectilinearProjector> for Detail_ProjectorBase

source§

fn from(s: Detail_CompressedRectilinearProjector) -> Self

Converts to this type from the input type.
source§

impl From<Detail_CylindricalPortraitProjector> for Detail_ProjectorBase

source§

fn from(s: Detail_CylindricalPortraitProjector) -> Self

Converts to this type from the input type.
source§

impl From<Detail_CylindricalProjector> for Detail_ProjectorBase

source§

fn from(s: Detail_CylindricalProjector) -> Self

Converts to this type from the input type.
source§

impl From<Detail_FisheyeProjector> for Detail_ProjectorBase

source§

fn from(s: Detail_FisheyeProjector) -> Self

Converts to this type from the input type.
source§

impl From<Detail_MercatorProjector> for Detail_ProjectorBase

source§

fn from(s: Detail_MercatorProjector) -> Self

Converts to this type from the input type.
source§

impl From<Detail_PaniniPortraitProjector> for Detail_ProjectorBase

source§

fn from(s: Detail_PaniniPortraitProjector) -> Self

Converts to this type from the input type.
source§

impl From<Detail_PaniniProjector> for Detail_ProjectorBase

source§

fn from(s: Detail_PaniniProjector) -> Self

Converts to this type from the input type.
source§

impl From<Detail_PlanePortraitProjector> for Detail_ProjectorBase

source§

fn from(s: Detail_PlanePortraitProjector) -> Self

Converts to this type from the input type.
source§

impl From<Detail_PlaneProjector> for Detail_ProjectorBase

source§

fn from(s: Detail_PlaneProjector) -> Self

Converts to this type from the input type.
source§

impl From<Detail_SphericalPortraitProjector> for Detail_ProjectorBase

source§

fn from(s: Detail_SphericalPortraitProjector) -> Self

Converts to this type from the input type.
source§

impl From<Detail_SphericalProjector> for Detail_ProjectorBase

source§

fn from(s: Detail_SphericalProjector) -> Self

Converts to this type from the input type.
source§

impl From<Detail_StereographicProjector> for Detail_ProjectorBase

source§

fn from(s: Detail_StereographicProjector) -> Self

Converts to this type from the input type.
source§

impl From<Detail_TransverseMercatorProjector> for Detail_ProjectorBase

source§

fn from(s: Detail_TransverseMercatorProjector) -> Self

Converts to this type from the input type.
source§

impl Send for Detail_ProjectorBase

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.