Share via


ColorReconstruction.CalculateMesh Method

Kinect for Windows 1.8

Exports a polygon mesh of the zero-crossing dense surfaces from the reconstruction volume with per-vertex color.

Syntax

public ColorMesh CalculateMesh (
         int voxelStep
)

Parameters

  • voxelStep
    Type: Int32
    The step value in voxels for sampling points to use in the volume when exporting a mesh, which determines the final resolution of the mesh. Use higher values for lower resolution meshes. This value must be greater than zero and smaller than the smallest volume axis voxel resolution. To mesh the volume at its full resolution, use a step value of one.

    Note

    Any value higher than one for this parameter runs the risk of missing zero crossings, and hence missing surfaces or surface details.

Return Value

Type: ColorMesh
Returns the created ColorMesh object.

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