32 #ifndef __KINECTUSER_HAND_H__    33 #define __KINECTUSER_HAND_H__    35 #include "lib/common.h"    43     bool Detect(cv::Mat depthMat, cv::Mat depthMatBgr);
    44     std::vector<cv::Point> GetFingersPos();
    45     nite::Point3f GetHandPos();
    47     nite::Point3f GetLastTransVec();
    48     nite::JointType GetType();
    51     boost::mutex handMutex;
    54     nite::JointType mtype;
    56     std::vector<std::vector<cv::Point>> mfingerTipsHistory;
    57     std::vector<cv::Point> mfingerTips;
    58     std::vector<nite::Point3f> mhandPosHistory;
    59     nite::Point3f mhandPos;
    60     nite::Point3f mtransVec;
    62     bool GetHandContour(
const cv::Mat &depthMat, cv::Mat &handMat, nite::Point3f v, vector<cv::Point> &handContour, cv::Point2f ¢er, cv::Mat *debugFrame = NULL);
    63     void DetectFingerTips(cv::Mat &handMat, vector<cv::Point> &handContour, cv::Point2f ¢er, cv::Mat *debugFrame = NULL);
 
Kinect user hand handling. .