diff --git a/src/ofxOpenNITypes.h b/src/ofxOpenNITypes.h index 5c5f9a3..52f211d 100644 --- a/src/ofxOpenNITypes.h +++ b/src/ofxOpenNITypes.h @@ -449,13 +449,14 @@ class ofxOpenNIUser { //return *this; } - + + vector joints; // harlequin hack private: friend class ofxOpenNI; // so we can access directly in ofxOpenNI ofPoint center; - vector joints; +// vector joints; // harlequin hack vector limbs; ofMesh pointCloud[2]; ofMesh* backPointCloud; diff --git a/src/ofxOpenNIUtils.h b/src/ofxOpenNIUtils.h index a61dff6..0816077 100644 --- a/src/ofxOpenNIUtils.h +++ b/src/ofxOpenNIUtils.h @@ -110,6 +110,7 @@ enum DepthColoring { COLORING_RAINBOW, COLORING_CYCLIC_RAINBOW, COLORING_BLUES, + COLORING_BLUES_INV, COLORING_GREY, COLORING_STATUS, COLORING_COUNT @@ -442,6 +443,36 @@ inline void getDepthColor(DepthColoring depthColoring, const unsigned short & de color.r = 255; } break; + case COLORING_BLUES_INV: + // 3 bytes of depth: white (111) << cyan (011) <