-
Notifications
You must be signed in to change notification settings - Fork 40
RAM API Reference Recognizers
yosuke sakai edited this page Mar 28, 2014
·
5 revisions
This page shows some preset recognizers.
- [Introduction to ramBaseRecognizer](Introduction to ramBaseRecognizer)
- ramGeometry
- ramMovementAnalyser
- ramTimerdMovementAnalyser
- ramBalancer
In RAMDanceToolkit 1.0.0, ramRecognizer is an experimental class. There are many cases of analysis result which will be returned, so currently this class doesn't have a regular format. Please post an issue or send pull request if you have an idea concerning this class.
Current ramBaseRecognizer is empty:
class ramBaseRecognizer : public ramUnit {
public:
};
See also Notation scene as recognizer example.
ramGeometry is used in Notation scene, Three Points scene, Four Points scene . To use these methods, include ramGeometry.h to 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