Share via


Reconstruction.ResetReconstruction Method (Matrix4)

Clear the volume, and set a new camera pose or identity.

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.

Syntax

public void ResetReconstruction (
         Matrix4 initialWorldToCameraTransform
)

Parameters

  • initialWorldToCameraTransform
    Type: Matrix4
    The initial camera pose with respect to the world origin. Pass identity as the default camera pose.

This method raises the following exceptions:

Exception Raised By
InvalidOperationException Thrown when the Kinect Runtime could not be accessed, the device is not connected, or the call failed for an unknown reason.

Requirements

Namespace: Microsoft.Kinect.Toolkit.Fusion

Assembly: Microsoft.Kinect.Toolkit.Fusion (in microsoft.kinect.toolkit.fusion.dll)

See Also

Reference

Reconstruction Class
Reconstruction Members
Microsoft.Kinect.Toolkit.Fusion Namespace