-
Notifications
You must be signed in to change notification settings - Fork 40
RAM API Reference Recognizers
motoishmz edited this page Mar 11, 2013
·
5 revisions
This page shows preset recognizers.
- ....
In RAMDanceToolkit 1.0.0, ramRecognizer is an experimental class. There are many case of analysis result which will be returned so currently this class doesn't have regular format. Please post an issue or send pull request if you have an ideas 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 Wiki and API References (RAMDanceToolkit 1.0.0) is created on 2013-03-09