public ConvertRealWorldToProjective ( |
||
realWorldPoint | ||
return |
public Point3D ConvertRealWorldToProjective(Point3D realWorldPoint)
{
Point3D[] realWorldPoints = new Point3D[1];
realWorldPoints[0] = realWorldPoint;
return ConvertRealWorldToProjective(realWorldPoints)[0];
}
DepthGenerator::ConvertRealWorldToProjective ( |
private static SkeletonJointPosition Joint(SkeletonCapability skeletonCapability, DepthGenerator depthGenerator, uint user, SkeletonJoint joint) { var pos = new SkeletonJointPosition(); skeletonCapability.GetSkeletonJointPosition(user, joint, ref pos); if (pos.position.Z == 0) { pos.fConfidence = 0; } else { pos.position = depthGenerator.ConvertRealWorldToProjective(pos.position); } return pos; }