ColorReconstruction.GetCurrentWorldToVolumeTransform Method
Kinect for Windows 1.8
Gets the current internal world-to-volume transform.
Syntax
public Matrix4 GetCurrentWorldToVolumeTransform ()
Return Value
Type: Matrix4
Returns the current world-to-volume transform. This is a similarity transformation that converts world coordinates to volume coordinates.
Remarks
A right handed coordinate system is used, with the origin of the volume (that is, voxel 0,0,0) at the top left of the front plane of the cube. Similar to bitmap images with top left origin, +X is to the right, +Y down, and +Z is forward from the origin into the reconstruction volume..
The default transformation is a combination of translation in x-axis and y-axis to locate the world origin at the center of the front face of the reconstruction volume cube, and scaling by the ReconstructionParameters.VoxelsPerMeter property to convert from the world coordinate system to volume voxel indices.
Requirements
Namespace: Microsoft.Kinect.Toolkit.Fusion
Assembly: Microsoft.Kinect.Toolkit.Fusion (in microsoft.kinect.toolkit.fusion.dll)
See Also
Reference
ColorReconstruction Class
ColorReconstruction Members
Microsoft.Kinect.Toolkit.Fusion Namespace