Transformation

Struct Transformation 

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

Implementations§

Source§

impl<'a> Transformation<'a>

Source

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

👎Deprecated since 0.2: Factory::transformation_create
Source

pub fn depth_image_to_color_camera_exist_image( &self, depth_image: &Image<'_>, transformed_depth_image: &mut Image<'_>, ) -> Result<(), Error>

Source

pub fn depth_image_to_color_camera( &self, depth_image: &Image<'_>, ) -> Result<Image<'_>, Error>

Source

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: TransformationInterpolationType, invalid_custom_value: u32, ) -> Result<(), Error>

Source

pub fn depth_image_to_color_camera_custom( &self, depth_image: &Image<'_>, custom_image: &Image<'_>, interpolation_type: TransformationInterpolationType, invalid_custom_value: u32, ) -> Result<(Image<'_>, Image<'_>), Error>

Source

pub fn color_image_to_depth_camera_exist_image( &self, depth_image: &Image<'_>, color_image: &Image<'_>, transformed_color_image: &mut Image<'_>, ) -> Result<(), Error>

Source

pub fn color_image_to_depth_camera( &self, depth_image: &Image<'_>, color_image: &Image<'_>, ) -> Result<Image<'_>, Error>

Source

pub fn depth_image_to_point_cloud_exist_image( &self, depth_image: &Image<'_>, camera: CalibrationType, xyz_image: &mut Image<'_>, ) -> Result<(), Error>

Source

pub fn depth_image_to_point_cloud( &self, depth_image: &Image<'_>, camera: CalibrationType, ) -> Result<Image<'_>, Error>

Trait Implementations§

Source§

impl Drop for Transformation<'_>

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for Transformation<'a>

§

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§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

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

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.