Struct ICoordinateMapperVtbl

Source
#[repr(C)]
pub struct ICoordinateMapperVtbl {
Show 20 fields pub QueryInterface: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>, pub AddRef: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper) -> ULONG>, pub Release: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper) -> ULONG>, pub SubscribeCoordinateMappingChanged: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, waitableHandle: *mut WAITABLE_HANDLE) -> HRESULT>, pub UnsubscribeCoordinateMappingChanged: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, waitableHandle: WAITABLE_HANDLE) -> HRESULT>, pub GetCoordinateMappingChangedEventData: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, waitableHandle: WAITABLE_HANDLE, eventData: *mut *mut ICoordinateMappingChangedEventArgs) -> HRESULT>, pub MapCameraPointToDepthSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, cameraPoint: CameraSpacePoint, depthPoint: *mut DepthSpacePoint) -> HRESULT>, pub MapCameraPointToColorSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, cameraPoint: CameraSpacePoint, colorPoint: *mut ColorSpacePoint) -> HRESULT>, pub MapDepthPointToCameraSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, depthPoint: DepthSpacePoint, depth: UINT16, cameraPoint: *mut CameraSpacePoint) -> HRESULT>, pub MapDepthPointToColorSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, depthPoint: DepthSpacePoint, depth: UINT16, colorPoint: *mut ColorSpacePoint) -> HRESULT>, pub MapCameraPointsToDepthSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, cameraPointCount: UINT, cameraPoints: *const CameraSpacePoint, depthPointCount: UINT, depthPoints: *mut DepthSpacePoint) -> HRESULT>, pub MapCameraPointsToColorSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, cameraPointCount: UINT, cameraPoints: *const CameraSpacePoint, colorPointCount: UINT, colorPoints: *mut ColorSpacePoint) -> HRESULT>, pub MapDepthPointsToCameraSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, depthPointCount: UINT, depthPoints: *const DepthSpacePoint, depthCount: UINT, depths: *const UINT16, cameraPointCount: UINT, cameraPoints: *mut CameraSpacePoint) -> HRESULT>, pub MapDepthPointsToColorSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, depthPointCount: UINT, depthPoints: *const DepthSpacePoint, depthCount: UINT, depths: *const UINT16, colorPointCount: UINT, colorPoints: *mut ColorSpacePoint) -> HRESULT>, pub MapDepthFrameToCameraSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, depthPointCount: UINT, depthFrameData: *const UINT16, cameraPointCount: UINT, cameraSpacePoints: *mut CameraSpacePoint) -> HRESULT>, pub MapDepthFrameToColorSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, depthPointCount: UINT, depthFrameData: *const UINT16, colorPointCount: UINT, colorSpacePoints: *mut ColorSpacePoint) -> HRESULT>, pub MapColorFrameToDepthSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, depthDataPointCount: UINT, depthFrameData: *const UINT16, depthPointCount: UINT, depthSpacePoints: *mut DepthSpacePoint) -> HRESULT>, pub MapColorFrameToCameraSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, depthDataPointCount: UINT, depthFrameData: *const UINT16, cameraPointCount: UINT, cameraSpacePoints: *mut CameraSpacePoint) -> HRESULT>, pub GetDepthFrameToCameraSpaceTable: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, tableEntryCount: *mut UINT, tableEntries: *mut *mut PointF) -> HRESULT>, pub GetDepthCameraIntrinsics: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, cameraIntrinsics: *mut CameraIntrinsics) -> HRESULT>,
}

Fields§

§QueryInterface: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>§AddRef: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper) -> ULONG>§Release: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper) -> ULONG>§SubscribeCoordinateMappingChanged: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, waitableHandle: *mut WAITABLE_HANDLE) -> HRESULT>§UnsubscribeCoordinateMappingChanged: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, waitableHandle: WAITABLE_HANDLE) -> HRESULT>§GetCoordinateMappingChangedEventData: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, waitableHandle: WAITABLE_HANDLE, eventData: *mut *mut ICoordinateMappingChangedEventArgs) -> HRESULT>§MapCameraPointToDepthSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, cameraPoint: CameraSpacePoint, depthPoint: *mut DepthSpacePoint) -> HRESULT>§MapCameraPointToColorSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, cameraPoint: CameraSpacePoint, colorPoint: *mut ColorSpacePoint) -> HRESULT>§MapDepthPointToCameraSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, depthPoint: DepthSpacePoint, depth: UINT16, cameraPoint: *mut CameraSpacePoint) -> HRESULT>§MapDepthPointToColorSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, depthPoint: DepthSpacePoint, depth: UINT16, colorPoint: *mut ColorSpacePoint) -> HRESULT>§MapCameraPointsToDepthSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, cameraPointCount: UINT, cameraPoints: *const CameraSpacePoint, depthPointCount: UINT, depthPoints: *mut DepthSpacePoint) -> HRESULT>§MapCameraPointsToColorSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, cameraPointCount: UINT, cameraPoints: *const CameraSpacePoint, colorPointCount: UINT, colorPoints: *mut ColorSpacePoint) -> HRESULT>§MapDepthPointsToCameraSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, depthPointCount: UINT, depthPoints: *const DepthSpacePoint, depthCount: UINT, depths: *const UINT16, cameraPointCount: UINT, cameraPoints: *mut CameraSpacePoint) -> HRESULT>§MapDepthPointsToColorSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, depthPointCount: UINT, depthPoints: *const DepthSpacePoint, depthCount: UINT, depths: *const UINT16, colorPointCount: UINT, colorPoints: *mut ColorSpacePoint) -> HRESULT>§MapDepthFrameToCameraSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, depthPointCount: UINT, depthFrameData: *const UINT16, cameraPointCount: UINT, cameraSpacePoints: *mut CameraSpacePoint) -> HRESULT>§MapDepthFrameToColorSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, depthPointCount: UINT, depthFrameData: *const UINT16, colorPointCount: UINT, colorSpacePoints: *mut ColorSpacePoint) -> HRESULT>§MapColorFrameToDepthSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, depthDataPointCount: UINT, depthFrameData: *const UINT16, depthPointCount: UINT, depthSpacePoints: *mut DepthSpacePoint) -> HRESULT>§MapColorFrameToCameraSpace: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, depthDataPointCount: UINT, depthFrameData: *const UINT16, cameraPointCount: UINT, cameraSpacePoints: *mut CameraSpacePoint) -> HRESULT>§GetDepthFrameToCameraSpaceTable: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, tableEntryCount: *mut UINT, tableEntries: *mut *mut PointF) -> HRESULT>§GetDepthCameraIntrinsics: Option<unsafe extern "C" fn(This: *mut ICoordinateMapper, cameraIntrinsics: *mut CameraIntrinsics) -> HRESULT>

Trait Implementations§

Source§

impl Debug for ICoordinateMapperVtbl

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ICoordinateMapperVtbl

Source§

fn default() -> ICoordinateMapperVtbl

Returns the “default value” for a type. Read more

Auto Trait Implementations§

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.