[][src]Struct cam_geom::IntrinsicParametersPerspective

pub struct IntrinsicParametersPerspective<R: RealField> { /* fields omitted */ }

A pinhole perspective camera model. Implements IntrinsicParameters.

Create an IntrinsicParametersPerspective as described for PerspectiveParams by using .into().


impl<R: RealField> IntrinsicParametersPerspective<R>[src]

pub fn from_normalized_3x4_matrix(p: MatrixMN<R, U3, U4>) -> Result<Self, Error>[src]

Create a new instance given an intrinsic parameter matrix.

Returns an error if the intrinsic parameter matrix is not normalized or otherwise does not represent a perspective camera model.

pub fn fx(&self) -> R[src]

Get X focal length

pub fn fy(&self) -> R[src]

Get Y focal length

pub fn skew(&self) -> R[src]

Get skew

pub fn cx(&self) -> R[src]

Get X center

pub fn cy(&self) -> R[src]

Get Y center

Trait Implementations

impl<R: Clone + RealField> Clone for IntrinsicParametersPerspective<R>[src]

impl<R: RealField> Debug for IntrinsicParametersPerspective<R>[src]

impl<'de, R: RealField + Deserialize<'de>> Deserialize<'de> for IntrinsicParametersPerspective<R>[src]

impl<R: RealField> From<PerspectiveParams<R>> for IntrinsicParametersPerspective<R>[src]

impl<R> IntrinsicParameters<R> for IntrinsicParametersPerspective<R> where
    R: RealField, 

type BundleType = SharedOriginRayBundle<R>

What type of ray bundle is returned when projecting pixels to rays.

impl<R: PartialEq + RealField> PartialEq<IntrinsicParametersPerspective<R>> for IntrinsicParametersPerspective<R>[src]

impl<R: RealField> Serialize for IntrinsicParametersPerspective<R> where
    R: Serialize

impl<R: RealField> StructuralPartialEq for IntrinsicParametersPerspective<R>[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for IntrinsicParametersPerspective<R> where
    R: RefUnwindSafe + Scalar

impl<R> Send for IntrinsicParametersPerspective<R> where
    R: Scalar

impl<R> Sync for IntrinsicParametersPerspective<R> where
    R: Scalar

impl<R> Unpin for IntrinsicParametersPerspective<R> where
    R: Scalar + Unpin

impl<R> UnwindSafe for IntrinsicParametersPerspective<R> where
    R: Scalar + UnwindSafe

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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>,