Azure Kinect Sensor SDK  refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK
k4a::transformation Class Reference

Wrapper for k4a_transformation_t. More...

#include <k4a/k4a.hpp>

Public Member Functions

 transformation (const k4a_calibration_t &calibration) noexcept
 Creates a transformation associated with calibration. More...
 
 transformation (k4a_transformation_t handle=nullptr) noexcept
 Creates a transformation from a k4a_transformation_t Takes ownership of the handle, i.e. More...
 
 transformation (transformation &&other) noexcept
 Moves another tranformation into a new transformation.
 
 transformation (const transformation &)=delete
 
transformationoperator= (transformation &&other) noexcept
 Moves another image into this image; other is set to invalid.
 
transformationoperator= (std::nullptr_t) noexcept
 Invalidates this transformation.
 
transformationoperator= (const transformation &)=delete
 
void destroy () noexcept
 Invalidates this transformation.
 
void depth_image_to_color_camera (const image &depth_image, image *transformed_depth_image) const
 Transforms the depth map into the geometry of the color camera. More...
 
image depth_image_to_color_camera (const image &depth_image) const
 Transforms the depth map into the geometry of the color camera. More...
 
void depth_image_to_color_camera_custom (const image &depth_image, const image &custom_image, image *transformed_depth_image, image *transformed_custom_image, k4a_transformation_interpolation_type_t interpolation_type, uint32_t invalid_custom_value) const
 Transforms depth map and a custom image into the geometry of the color camera. More...
 
std::pair< image, imagedepth_image_to_color_camera_custom (const image &depth_image, const image &custom_image, k4a_transformation_interpolation_type_t interpolation_type, uint32_t invalid_custom_value) const
 Transforms depth map and a custom image into the geometry of the color camera. More...
 
void color_image_to_depth_camera (const image &depth_image, const image &color_image, image *transformed_color_image) const
 Transforms the color image into the geometry of the depth camera. More...
 
image color_image_to_depth_camera (const image &depth_image, const image &color_image) const
 Transforms the color image into the geometry of the depth camera. More...
 
void depth_image_to_point_cloud (const image &depth_image, k4a_calibration_type_t camera, image *xyz_image) const
 Transforms the depth image into 3 planar images representing X, Y and Z-coordinates of corresponding 3d points. More...
 
image depth_image_to_point_cloud (const image &depth_image, k4a_calibration_type_t camera) const
 Transforms the depth image into 3 planar images representing X, Y and Z-coordinates of corresponding 3d points. More...
 

Detailed Description

Wrapper for k4a_transformation_t.

Wraps a handle for a transformation.


The documentation for this class was generated from the following file: