[][src]Enum azure_kinect::bindings::k4a_color_resolution_t

#[repr(u32)]pub enum k4a_color_resolution_t {
    K4A_COLOR_RESOLUTION_OFF,
    K4A_COLOR_RESOLUTION_720P,
    K4A_COLOR_RESOLUTION_1080P,
    K4A_COLOR_RESOLUTION_1440P,
    K4A_COLOR_RESOLUTION_1536P,
    K4A_COLOR_RESOLUTION_2160P,
    K4A_COLOR_RESOLUTION_3072P,
}

Color sensor resolutions.

\xmlonly k4atypes.h (include k4a/k4a.h) \endxmlonly

Variants

K4A_COLOR_RESOLUTION_OFF

< Color camera will be turned off with this setting

K4A_COLOR_RESOLUTION_720P

< 1280 * 720 16:9

K4A_COLOR_RESOLUTION_1080P

< 1920 * 1080 16:9

K4A_COLOR_RESOLUTION_1440P

< 2560 * 1440 16:9

K4A_COLOR_RESOLUTION_1536P

< 2048 * 1536 4:3

K4A_COLOR_RESOLUTION_2160P

< 3840 * 2160 16:9

K4A_COLOR_RESOLUTION_3072P

< 4096 * 3072 4:3

Implementations

impl k4a_color_resolution_t[src]

pub fn get_dimension(&self) -> Dimension[src]

Gets the dimensions of the color images that the color camera will produce for a given color resolution

Trait Implementations

impl Clone for k4a_color_resolution_t[src]

impl Copy for k4a_color_resolution_t[src]

impl Debug for k4a_color_resolution_t[src]

impl Eq for k4a_color_resolution_t[src]

impl Hash for k4a_color_resolution_t[src]

impl PartialEq<k4a_color_resolution_t> for k4a_color_resolution_t[src]

impl StructuralEq for k4a_color_resolution_t[src]

impl StructuralPartialEq for k4a_color_resolution_t[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.