Share via


CameraSpacePoint Structure

A 3D location in camera space.

Syntax

typedef struct _CameraSpacePoint {
    float X;
    float Y;
    float Z;
} CameraSpacePoint;

Members

  • X
    The X component in camera space.
  • Y
    The Y component in camera space.
  • Z
    The Z component in camera space.

Remarks

Camera space refers to the 3D coordinate system used by Kinect. The coordinate system is defined as follows:

  • The origin (x=0, y=0, z=0) is located at the center of the IR sensor on Kinect
  • X grows to the sensor’s left
  • Y grows up (note that this direction is based on the sensor’s tilt)
  • Z grows out in the direction the sensor is facing
  • 1 unit = 1 meter

Requirements

Header: kinect.h

Library: kinect20.lib

See also

Reference

Body tracking