pub struct Transformation<'a> { /* private fields */ }Implementations§
Source§impl<'a> Transformation<'a>
impl<'a> Transformation<'a>
pub fn new( factory: &'a Factory, calibration: &'a Calibration<'_>, ) -> Transformation<'a>
👎Deprecated since 0.2: Factory::transformation_create
pub fn depth_image_to_color_camera_exist_image( &self, depth_image: &Image<'_>, transformed_depth_image: &mut Image<'_>, ) -> Result<(), Error>
pub fn depth_image_to_color_camera( &self, depth_image: &Image<'_>, ) -> Result<Image<'_>, Error>
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>
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>
pub fn color_image_to_depth_camera_exist_image( &self, depth_image: &Image<'_>, color_image: &Image<'_>, transformed_color_image: &mut Image<'_>, ) -> Result<(), Error>
pub fn color_image_to_depth_camera( &self, depth_image: &Image<'_>, color_image: &Image<'_>, ) -> Result<Image<'_>, Error>
pub fn depth_image_to_point_cloud_exist_image( &self, depth_image: &Image<'_>, camera: CalibrationType, xyz_image: &mut Image<'_>, ) -> Result<(), Error>
pub fn depth_image_to_point_cloud( &self, depth_image: &Image<'_>, camera: CalibrationType, ) -> Result<Image<'_>, Error>
Trait Implementations§
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more