Share via


ColorReconstruction.ResetReconstruction Method (Matrix4)

Kinect for Windows 1.8

Clears the reconstruction volume and sets a new world-to-camera transform (camera view pose).

Syntax

public void ResetReconstruction (
         Matrix4 initialWorldToCameraTransform
)

Parameters

  • initialWorldToCameraTransform
    Type: Matrix4
    The initial camera pose of the reconstruction volume, with respect to the world origin. To use the default camera pose, specify identity.

Remarks

This internally sets the default world-to-volume transform. where the Kinect camera is translated in X,Y to the center of the front face of the volume cube, looking into the cube, and the world coordinates are scaled to volume indices according to the voxels per meter setting.

This method sets the internal world-to-volume transform. This 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