#include <line.h>
Inheritance diagram for LinePicker:
Public Member Functions | |
LinePicker (ImageValue *I) | |
virtual Value * | value () |
virtual void | nextPoint (PointValue point, bool right) |
Private Attributes | |
LineValue | line |
bool | first |
Definition at line 35 of file line.h.
|
Definition at line 40 of file line.h. 00040 : ImagePicker(I), first(true) {};
|
|
Implements ImagePicker. Definition at line 34 of file line.cpp. References LineValue::a, LineValue::b, first, and line. 00035 { 00036 if (first) 00037 { 00038 line.a=p; 00039 first = false; 00040 } 00041 else 00042 { 00043 line.b=p; 00044 accept(); 00045 } 00046 }
|
|
Implements ImagePicker. Definition at line 41 of file line.h. References line. Referenced by Runtime::line().
|
|
Definition at line 38 of file line.h. Referenced by nextPoint(). |
|
Definition at line 37 of file line.h. Referenced by nextPoint(), and value(). |