Struct opencv_ros_camera::NamedIntrinsicParameters[][src]

pub struct NamedIntrinsicParameters<R: RealField> {
    pub name: String,
    pub width: usize,
    pub height: usize,
    pub intrinsics: RosOpenCvIntrinsics<R>,
}

A struct with RosOpenCvIntrinsics, camera name and image sensor dimensions.

This is primarily used to read YAML files saved by ROS. Create this struct with the from_ros_yaml function.

To extract a RosOpenCvIntrinsics structure from this struct, use the intrinsics field.

See the module-level documentation for more information.

Fields

name: String

Name of the camera.

width: usize

The width of the image sensor (in pixels).

height: usize

The height of the image sensor (in pixels).

intrinsics: RosOpenCvIntrinsics<R>

The intrinsic parameters.

Trait Implementations

impl<R: RealField> From<NamedIntrinsicParameters<R>> for RosCameraInfo<R>[src]

impl<R: RealField> TryFrom<RosCameraInfo<R>> for NamedIntrinsicParameters<R>[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<R> RefUnwindSafe for NamedIntrinsicParameters<R> where
    R: RefUnwindSafe

impl<R> Send for NamedIntrinsicParameters<R>

impl<R> Sync for NamedIntrinsicParameters<R>

impl<R> Unpin for NamedIntrinsicParameters<R> where
    R: Unpin

impl<R> UnwindSafe for NamedIntrinsicParameters<R> where
    R: UnwindSafe

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