pub struct CoordinateMapper { /* private fields */ }Implementations§
Source§impl CoordinateMapper
impl CoordinateMapper
pub fn subscribe_coordinate_mapping_changed( &self, ) -> Result<WAITABLE_HANDLE, Error>
pub fn unsubscribe_coordinate_mapping_changed( &self, waitable_handle: WAITABLE_HANDLE, ) -> Result<(), Error>
pub fn get_coordinate_mapping_changed_event_data( &self, waitable_handle: WAITABLE_HANDLE, ) -> Result<CoordinateMappingChangedEventArgs, Error>
pub fn map_camera_point_to_depth_space( &self, camera_point: CameraSpacePoint, ) -> Result<DepthSpacePoint, Error>
pub fn map_camera_point_to_color_space( &self, camera_point: CameraSpacePoint, ) -> Result<ColorSpacePoint, Error>
pub fn map_depth_point_to_camera_space( &self, depth_point: DepthSpacePoint, depth: UINT16, ) -> Result<CameraSpacePoint, Error>
pub fn map_depth_point_to_color_space( &self, depth_point: DepthSpacePoint, depth: UINT16, ) -> Result<ColorSpacePoint, Error>
pub fn map_camera_points_to_depth_space( &self, camera_points: &[CameraSpacePoint], depth_points: &mut [DepthSpacePoint], ) -> Result<(), Error>
pub fn map_camera_points_to_color_space( &self, camera_points: &[CameraSpacePoint], color_points: &mut [ColorSpacePoint], ) -> Result<(), Error>
pub fn map_depth_points_to_camera_space( &self, depth_points: &[DepthSpacePoint], depths: &[UINT16], camera_points: &mut [CameraSpacePoint], ) -> Result<(), Error>
pub fn map_depth_points_to_color_space( &self, depth_points: &[DepthSpacePoint], depths: &[UINT16], color_points: &mut [ColorSpacePoint], ) -> Result<(), Error>
pub fn map_depth_frame_to_camera_space( &self, depth_frame_data: &[UINT16], camera_space_points: &mut [CameraSpacePoint], ) -> Result<(), Error>
pub fn map_depth_frame_to_color_space( &self, depth_frame_data: &[UINT16], color_space_points: &mut [ColorSpacePoint], ) -> Result<(), Error>
pub fn map_color_frame_to_depth_space( &self, depth_frame_data: &[UINT16], depth_space_points: &mut [DepthSpacePoint], ) -> Result<(), Error>
pub fn map_color_frame_to_camera_space( &self, depth_frame_data: &[UINT16], camera_space_points: &mut [CameraSpacePoint], ) -> Result<(), Error>
pub fn get_depth_frame_to_camera_space_table( &self, ) -> Result<(UINT, *mut PointF), Error>
pub fn get_depth_camera_intrinsics(&self) -> Result<CameraIntrinsics, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CoordinateMapper
impl RefUnwindSafe for CoordinateMapper
impl !Send for CoordinateMapper
impl !Sync for CoordinateMapper
impl Unpin for CoordinateMapper
impl UnwindSafe for CoordinateMapper
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