Kinect Scol plugin
|
DataSkeleton.cpp
53 bool DataSkeleton::GetBoneCurrentPosition(nite::JointType jointType, nite::Point3f &position, float minConfidence)
55 if (p_User && p_User->GetParentDevice()->GetUserGenerator() != 0 && p_User->GetParentDevice()->GetUserGenerator()->IsValid())
57 nite::UserTracker* pUserTracker = p_User->GetParentDevice()->GetUserGenerator()->GetUserTraker();
58 nite::UserTrackerFrameRef* pTrakerFrame = p_User->GetParentDevice()->GetUserGenerator()->GetTrakerFrame();
77 bool DataSkeleton::GetBoneImgCoordinates(nite::JointType jointType, nite::Point3f &v, float minConfidence)
79 if (p_User && p_User->GetParentDevice()->GetUserGenerator() != 0 && p_User->GetParentDevice()->GetUserGenerator()->IsValid())
81 nite::UserTracker* pUserTracker = p_User->GetParentDevice()->GetUserGenerator()->GetUserTraker();
82 nite::UserTrackerFrameRef* pTrakerFrame = p_User->GetParentDevice()->GetUserGenerator()->GetTrakerFrame();
94 if (pUserTracker->convertJointCoordinatesToDepth(joint.getPosition().x, joint.getPosition().y, joint.getPosition().z, &x, &y) != nite::STATUS_OK)
108 bool DataSkeleton::GetBoneCurrentOrientation(nite::JointType jointType, Quaternion* mQuat, float minConfidence)
110 if (p_User && p_User->GetParentDevice()->GetUserGenerator() != 0 && p_User->GetParentDevice()->GetUserGenerator()->IsValid())
112 nite::UserTracker* pUserTracker = p_User->GetParentDevice()->GetUserGenerator()->GetUserTraker();
113 nite::UserTrackerFrameRef* pTrakerFrame = p_User->GetParentDevice()->GetUserGenerator()->GetTrakerFrame();
Definition: common.h:95
Generated on Thu Aug 24 2017 10:30:39 for Kinect Scol plugin by 1.8.13