Struct azure_kinect::factory::Factory [−][src]
pub struct Factory { /* fields omitted */ }
Implementations
pub fn set_debug_message_handler(
self,
debug_message_handler: Box<DebugMessageHandler>,
min_level: LogLevel
) -> Self
pub fn set_debug_message_handler(
self,
debug_message_handler: Box<DebugMessageHandler>,
min_level: LogLevel
) -> Self
Sets and clears the callback function to receive debug messages from the Azure Kinect device.
Clears the callback function to receive debug messages from the Azure Kinect device.
Gets the number of connected devices
pub fn calibration_get_from_raw(
&self,
raw_calibration: &Vec<u8>,
target_depth_mode: DepthMode,
target_color_resolution: ColorResolution
) -> Result<Calibration<'_>, Error>
pub fn calibration_get_from_raw(
&self,
raw_calibration: &Vec<u8>,
target_depth_mode: DepthMode,
target_color_resolution: ColorResolution
) -> Result<Calibration<'_>, Error>
Get the camera calibration for a device from a raw calibration blob.
pub fn image_create(
&self,
format: ImageFormat,
width_pixels: i32,
height_pixels: i32,
stride_bytes: i32
) -> Result<Image<'_>, Error>
pub fn image_create(
&self,
format: ImageFormat,
width_pixels: i32,
height_pixels: i32,
stride_bytes: i32
) -> Result<Image<'_>, Error>
Create a blank image
Create an image from a pre-allocated buffer
Create an image from a pre-allocated buffer
pub fn image_create_from_buffer_with_info<T: PreAllocatedBufferInfo + Drop>(
&self,
buffer_info: Box<T>
) -> Result<Image<'_>, Error>
pub fn image_create_from_buffer_with_info<T: PreAllocatedBufferInfo + Drop>(
&self,
buffer_info: Box<T>
) -> Result<Image<'_>, Error>
Create an image from a pre-allocated buffer
pub fn transformation_create<'a>(
&'a self,
calibration: &'a Calibration<'_>
) -> Transformation<'a>
pub fn transformation_create<'a>(
&'a self,
calibration: &'a Calibration<'_>
) -> Transformation<'a>
Get handle to transformation handle.