Share via


INuiFusionColorReconstruction::SetAlignDepthFloatToReconstructionReferenceFrame Method

Sets a reference depth frame that is used internally to help with tracking when calling the AlignDepthFloatToReconstruction method to calculate a new camera pose.

Note

You should call this method only if you are not using the default tracking behavior of Kinect Fusion.

Syntax

public:
HRESULT SetAlignDepthFloatToReconstructionReferenceFrame(
         const NUI_FUSION_IMAGE_FRAME *pReferenceDepthFloatFrame
)

Parameters

  • pReferenceDepthFloatFrame
    Type: NUI_FUSION_IMAGE_FRAME
    A previously-created depth float frame that was successfully aligned, or a raycasted model depth.

Return value

Type: HRESULT
S_OK if successful; otherwise, returns a failure code.

Requirements

Header: nuikinectfusioncolorvolume.h

Library: TBD