#include <standardfeatures.h>
Inheritance diagram for SinInitAngleFeature:

Public Member Functions | |
| virtual const std::string & | key () const |
| virtual const std::string & | title () const |
| virtual const std::string & | description () const |
| StlFeatureResultT | calcValue (const StlStroke &stroke, bool *ok=0) const |
Static Public Member Functions | |
| static const std::string & | classKey () |
| static const std::string & | classTitle () |
| static const std::string & | classDescription () |
| static StlFeatureResultT | classCalcValue (const StlStroke &stroke, bool *ok=0) |
From: Rubine, D. Specifying Gestures by Example. Computer Graphics 25, 4 (July 1991), 329-337. Page 333:
f2 = sin a = (y2-y0) / sqrt( (x2-x0)^2 + (y2-y0)^2 )
Note: "The initial angle features, f1 and f2, are computed from the first and third mouse point because the result is generally less noisy than when computed from the first two points." - Bottom of first column, page 333.
| static const std::string& SinInitAngleFeature::classKey | ( | ) | [inline, static] |
| virtual const std::string& SinInitAngleFeature::key | ( | ) | const [inline, virtual] |
Implements StlFeatureInterface.
| static const std::string& SinInitAngleFeature::classTitle | ( | ) | [inline, static] |
| virtual const std::string& SinInitAngleFeature::title | ( | ) | const [inline, virtual] |
Implements StlFeatureInterface.
| const std::string & SinInitAngleFeature::classDescription | ( | ) | [static] |
| virtual const std::string& SinInitAngleFeature::description | ( | ) | const [inline, virtual] |
Implements StlFeatureInterface.
| StlFeatureResultT SinInitAngleFeature::classCalcValue | ( | const StlStroke & | stroke, | |
| bool * | ok = 0 | |||
| ) | [static] |
Note: ok is true IFF there are three or more points in the given stroke.
| StlFeatureResultT SinInitAngleFeature::calcValue | ( | const StlStroke & | stroke, | |
| bool * | ok = 0 | |||
| ) | const [inline, virtual] |
Implements StlFeatureInterface.
1.5.2