-
Notifications
You must be signed in to change notification settings - Fork 40
RAM API Reference Recognizers
This page describes a number of recognizers used in RAMDanceToolkit.
- [Introduction to ramBaseRecognizer](Introduction to ramBaseRecognizer)
- ramGeometry
- ramMovementAnalyser
- ramTimerdMovementAnalyser
- ramBalancer
In RAMDanceToolkit 1.0.0, ramBaseRecognizer is an experimental class. There are many kinds of analysis results that might be returned. Because of this, ramBaseRecognizer doesn't have a uniform format. If you have any issues with this class, plesae create a new issue or send a pull request! ramBaseRecognizer is still a work in progress :)
The Current ramBaseRecognizer implementation is empty:
class ramBaseRecognizer : public ramUnit {
public:
};
For an examlple of how to use a recognizer, please look at the Notation scene example.
ramGeometry is used in the Notation scene, Three Points scene and Four Points scene. To use these methods, include ramGeometry.h in the header file of your scene.
bool lineLineIntersectSegment(ofVec3f p1, ofVec3f p2, ofVec3f p3, ofVec3f p4, ofVec3f &pa, ofVec3f &pb);
void findCircle(const ofVec3f& a, const ofVec3f& b, const ofVec3f& c, ofVec3f& center, ofVec3f& normal, float& radius);
void findSphere(const ofVec3f& a, const ofVec3f& b, const ofVec3f& c, const ofVec3f& d, ofVec3f& center, float& radius);
This Document by YCAM InterLab, Yoshito Onishi, Satoru Higa, Motoi Shimizu, and Kyle McDonald is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
This Wiki and API References (RAMDanceToolkit 1.0.0) is created on 2013-03-09