[][src]Struct azure_kinect::transformation::Transformation

pub struct Transformation<'a> { /* fields omitted */ }

Implementations

impl<'_> Transformation<'_>[src]

pub fn new<'a>(
    factory: &'a Factory,
    calibration: &'a Calibration
) -> Transformation<'a>
[src]

pub fn depth_image_to_color_camera_exist_image(
    &self,
    depth_image: &Image,
    transformed_depth_image: &mut Image
) -> Result<(), Error>
[src]

pub fn depth_image_to_color_camera(
    &self,
    depth_image: &Image
) -> Result<Image, Error>
[src]

pub fn depth_image_to_color_camera_custom_exist_image(
    &self,
    depth_image: &Image,
    custom_image: &Image,
    transformed_depth_image: &mut Image,
    transformed_custom_image: &mut Image,
    interpolation_type: k4a_transformation_interpolation_type_t,
    invalid_custom_value: u32
) -> Result<(), Error>
[src]

pub fn depth_image_to_color_camera_custom(
    &self,
    depth_image: &Image,
    custom_image: &Image,
    interpolation_type: k4a_transformation_interpolation_type_t,
    invalid_custom_value: u32
) -> Result<(Image, Image), Error>
[src]

pub fn color_image_to_depth_camera_exist_image(
    &self,
    depth_image: &Image,
    color_image: &Image,
    transformed_color_image: &mut Image
) -> Result<(), Error>
[src]

pub fn color_image_to_depth_camera(
    &self,
    depth_image: &Image,
    color_image: &Image
) -> Result<Image, Error>
[src]

pub fn depth_image_to_point_cloud_exist_image(
    &self,
    depth_image: &Image,
    camera: k4a_calibration_type_t,
    xyz_image: &mut Image
) -> Result<(), Error>
[src]

pub fn depth_image_to_point_cloud(
    &self,
    depth_image: &Image,
    camera: k4a_calibration_type_t
) -> Result<Image, Error>
[src]

Trait Implementations

impl<'_> Drop for Transformation<'_>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Transformation<'a>

impl<'a> !Send for Transformation<'a>

impl<'a> !Sync for Transformation<'a>

impl<'a> Unpin for Transformation<'a>

impl<'a> !UnwindSafe for Transformation<'a>

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