Skelton情報描画の入り口は
void ofxUserGenerator::draw(const int width, const int height)
となっているが、実際の描画はofxTrackedUser.h
のなかで宣言されている'struct ofxLimb'で
void debugDraw() {
if(!found)
return;
glPushMatrix();
glLineWidth(5);
//glColor3f(1,0,0);
glColor3f(0,0,1);
glBegin(GL_LINES);
glVertex2i(position[0].X, position[0].Y);
glVertex2i(position[1].X, position[1].Y);
glEnd();
glPopMatrix();
}
で行われている。描画座標を変更したい場合、もしくは、Skeltonの色を調整したい場合は個々をいじくる必要がある。