Public Member Functions | |
ELLIPSE (CPIXEL &c, CVEXEL &x, double r1, double r2, int res=32) | |
virtual | ~ELLIPSE () |
virtual void | set (CPIXEL &c, CVEXEL &x, double r1, double r2, int res) |
void | rebuild (int res) |
double | avg_dist (CPIXEL_list &pts) |
Protected Attributes | |
PIXEL | _center |
VEXEL | _x |
VEXEL | _y |
double | _r1 |
double | _r2 |
PIXEL_list | _pts |
Definition at line 780 of file gesture.C.
|
Definition at line 793 of file gesture.C. References set(). |
|
|
|
Definition at line 814 of file gesture.C. References _pts, RunningAvg< T >::add(), mlib::Pointlist< L, P, V, S >::dist(), and RunningAvg< T >::val(). |
|
Definition at line 823 of file gesture.C. References _center, _pts, _r1, _r2, _x, _y, mlib::Pointlist< L, P, V, S >::clear(), mlib::gEpsAbsMath, mlib::Vec2< V >::is_null(), and ARRAY< T >::realloc(). Referenced by set(). |
|
Reimplemented in DEBUG_ELLIPSE. Definition at line 801 of file gesture.C. References _center, _r1, _r2, _x, _y, mlib::Vec2< V >::normalized(), mlib::Vec2< V >::perpend(), and rebuild(). Referenced by ELLIPSE(), and DEBUG_ELLIPSE::set(). |
|
Definition at line 782 of file gesture.C. Referenced by DEBUG_ELLIPSE::draw(), rebuild(), and set(). |
|
Definition at line 787 of file gesture.C. Referenced by avg_dist(), DEBUG_ELLIPSE::draw(), and rebuild(). |
|
Definition at line 785 of file gesture.C. Referenced by DEBUG_ELLIPSE::draw(), rebuild(), and set(). |
|
Definition at line 786 of file gesture.C. Referenced by DEBUG_ELLIPSE::draw(), rebuild(), and set(). |
|
Definition at line 783 of file gesture.C. Referenced by DEBUG_ELLIPSE::draw(), rebuild(), and set(). |
|
Definition at line 784 of file gesture.C. Referenced by DEBUG_ELLIPSE::draw(), rebuild(), and set(). |