Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ELLIPSE Class Reference

Inheritance diagram for ELLIPSE:

Inheritance graph
[legend]
Collaboration diagram for ELLIPSE:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 780 of file gesture.C.


Constructor & Destructor Documentation

ELLIPSE::ELLIPSE CPIXEL c,
CVEXEL x,
double  r1,
double  r2,
int  res = 32
[inline]
 

Definition at line 793 of file gesture.C.

References set().

virtual ELLIPSE::~ELLIPSE  )  [inline, virtual]
 

Definition at line 797 of file gesture.C.


Member Function Documentation

double ELLIPSE::avg_dist CPIXEL_list pts  )  [inline]
 

Definition at line 814 of file gesture.C.

References _pts, RunningAvg< T >::add(), mlib::Pointlist< L, P, V, S >::dist(), and RunningAvg< T >::val().

void ELLIPSE::rebuild int  res  ) 
 

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().

virtual void ELLIPSE::set CPIXEL c,
CVEXEL x,
double  r1,
double  r2,
int  res
[inline, virtual]
 

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().


Member Data Documentation

PIXEL ELLIPSE::_center [protected]
 

Definition at line 782 of file gesture.C.

Referenced by DEBUG_ELLIPSE::draw(), rebuild(), and set().

PIXEL_list ELLIPSE::_pts [protected]
 

Definition at line 787 of file gesture.C.

Referenced by avg_dist(), DEBUG_ELLIPSE::draw(), and rebuild().

double ELLIPSE::_r1 [protected]
 

Definition at line 785 of file gesture.C.

Referenced by DEBUG_ELLIPSE::draw(), rebuild(), and set().

double ELLIPSE::_r2 [protected]
 

Definition at line 786 of file gesture.C.

Referenced by DEBUG_ELLIPSE::draw(), rebuild(), and set().

VEXEL ELLIPSE::_x [protected]
 

Definition at line 783 of file gesture.C.

Referenced by DEBUG_ELLIPSE::draw(), rebuild(), and set().

VEXEL ELLIPSE::_y [protected]
 

Definition at line 784 of file gesture.C.

Referenced by DEBUG_ELLIPSE::draw(), rebuild(), and set().


The documentation for this class was generated from the following file:
Generated on Mon Sep 18 11:45:16 2006 for jot by  doxygen 1.4.4