[][src]Struct cv_core::RelativeCameraPose

pub struct RelativeCameraPose(pub Isometry3<f32>);

This contains a relative pose, which is a pose that transforms the CameraPoint of one image into the corresponding CameraPoint of another image. This transforms the point from the camera space of camera A to camera B.

Camera space for a given camera is defined as thus:

  • Origin is the optical center
  • Positive z axis is forwards
  • Positive y axis is up
  • Positive x axis is right

Note that this is a left-handed coordinate space.

Methods

impl RelativeCameraPose[src]

pub fn transform(&self, CameraPoint: CameraPoint) -> CameraPoint[src]

Trait Implementations

impl AsMut<Isometry<f32, U3, Unit<Quaternion<f32>>>> for RelativeCameraPose[src]

impl AsRef<Isometry<f32, U3, Unit<Quaternion<f32>>>> for RelativeCameraPose[src]

impl Clone for RelativeCameraPose[src]

impl Copy for RelativeCameraPose[src]

impl Debug for RelativeCameraPose[src]

impl Deref for RelativeCameraPose[src]

type Target = Isometry3<f32>

The resulting type after dereferencing.

impl DerefMut for RelativeCameraPose[src]

impl From<Isometry<f32, U3, Unit<Quaternion<f32>>>> for RelativeCameraPose[src]

impl From<RelativeCameraPose> for Isometry3<f32>[src]

impl PartialEq<RelativeCameraPose> for RelativeCameraPose[src]

impl StructuralPartialEq for RelativeCameraPose[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: PartialEq<T> + Copy + Any + Debug
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,