[][src]Struct cv_core::CameraPoint

pub struct CameraPoint(pub Vector3<f32>);

A 3d vector which is relative to the camera's optical center and orientation where the positive Y axis is up and positive Z axis is forwards from the center of the camera. The unit of distance of a CameraPoint is unspecified and relative to the current reconstruction.

A CameraPoint can be turned into a NormalizedKeyPoint by using the Into or From impl. This is done by projecting the CameraPoint onto the virtual plane at a depth z = 1.0. The operation cannot be done in reverse because the depth (z component) or distance from optical center (length) is unknown.

Trait Implementations

impl AsMut<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>> for CameraPoint[src]

impl AsRef<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>> for CameraPoint[src]

impl Clone for CameraPoint[src]

impl Copy for CameraPoint[src]

impl Debug for CameraPoint[src]

impl Deref for CameraPoint[src]

type Target = Vector3<f32>

The resulting type after dereferencing.

impl DerefMut for CameraPoint[src]

impl From<CameraPoint> for Vector3<f32>[src]

impl From<CameraPoint> for NormalizedKeyPoint[src]

impl From<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>> for CameraPoint[src]

impl PartialEq<CameraPoint> for CameraPoint[src]

impl PartialOrd<CameraPoint> for CameraPoint[src]

impl StructuralPartialEq for CameraPoint[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>,