// ctor //-------------------------------------------------------------- ofxHandGenerator::ofxHandGenerator(){ // set defaults setMinDistBetweenHands(100); setMaxNumHands(2); setSmoothing(1); setMinTimeBetweenHands(1000); }
ofxSimpleGuiSliderBase<Type>::ofxSimpleGuiSliderBase(string name, Type &value, Type min, Type max) : ofxSimpleGuiControl(name) { this->value = &value; defaultValue = value; this->min = min; this->max = max; targetValue = value; oldValue = targetValue; controlType = "SliderBase"; setIncrement(0); setSmoothing(0); setup(); }
void Joint::clone(Joint* other, SmoothingTechnique technique) { setPoint(other->getPoint()); setType(other->getType()); setTrackingState(other->getTrackingState()); setSmoothing(technique); }
void Joint::clone(Joint* other) { setPoint(other->getPoint()); setType(other->getType()); setTrackingState(other->getTrackingState()); setSmoothing(other->getSmoothing()); }