#include <dev.H>
Inheritance diagram for DEVice_2d:
Public Member Functions | |
DEVice_2d () | |
virtual | ~DEVice_2d () |
void | offset (mlib::CXYvec &v) |
void | scale (mlib::CXYvec &s) |
mlib::XYpt | cur () |
mlib::XYpt | old () |
mlib::XYvec | delta () |
void | set_cur (mlib::CXYpt &p) |
void | set_old (mlib::CXYpt &p) |
void | set_val (mlib::CXYpt &p) |
virtual mlib::XYpt | map (mlib::CXYpt &p) |
void | set_pressure (double p) |
double | pressure () const |
virtual void | event_delta (mlib::CXYvec &v, Evd::DEVmod mod) |
virtual void | event (mlib::CXYpt &p, Evd::DEVmod mod) |
virtual void | add_handler (DEVhandler *h) |
virtual void | rem_handler (DEVhandler *h) |
Static Public Attributes | |
static DEVice_2d * | last = 0 |
Protected Member Functions | |
virtual void | _event (mlib::CXYpt &p, Evd::DEVmod mod) |
Protected Attributes | |
mlib::XYpt | _cur |
mlib::XYpt | _old |
mlib::XYvec | _offset |
mlib::XYvec | _scale |
double | _pressure |
ARRAY< DEVhandler * > | _handlers |
Definition at line 284 of file dev.H.
|
|
|
|
|
Reimplemented in DEVice_2d_absrel. Definition at line 292 of file dev.H. References DEVice::_handlers, map(), MOV, ARRAY< T >::num(), and set_val(). Referenced by event(). |
|
Definition at line 274 of file dev.H. References DEVice::_handlers. Referenced by TabletMultimode::add_handler(), Tablet::add_handler(), and Mouse::add_handler(). |
|
|
Definition at line 309 of file dev.H. Referenced by Cam_int::choose(), Cam_int_fp::choose(), Cam_int_edit::choose(), Cam_int_fp::cruise_zoom(), Cam_int_fp::grow(), Cam_int_fp::orbit_zoom(), Cam_int::pan2(), Cam_int_edit::pan2(), Cam_int::zoom(), Cam_int_edit::zoom(), Cam_int::zoom2(), and Cam_int_edit::zoom2(). |
|
Definition at line 323 of file dev.H. References _cur, _event(), last, and map(). Referenced by event_delta(), mouse_motion_callback(), and TabletMultimode::sample(). |
|
|
|
Definition at line 313 of file dev.H. |
|
Definition at line 304 of file dev.H. References _offset. |
|
|
Definition at line 319 of file dev.H. References _pressure. Referenced by GEST_INT::down(), and GEST_INT::move(). |
|
Definition at line 275 of file dev.H. References DEVice::_handlers. |
|
Definition at line 305 of file dev.H. References _scale. |
|
Definition at line 310 of file dev.H. References _cur. Referenced by Cam_int::pan2(), Cam_int_edit::pan2(), Cam_int::zoom2(), and Cam_int_edit::zoom2(). |
|
Definition at line 311 of file dev.H. References _old. Referenced by Cam_int::choose(), Cam_int_fp::choose(), and Cam_int_edit::choose(). |
|
Definition at line 318 of file dev.H. References _pressure. Referenced by mouse_motion_callback(), and TabletMultimode::sample(). |
|
Definition at line 312 of file dev.H. Referenced by _event(). |
|
Definition at line 286 of file dev.H. Referenced by cur(), delta(), event(), event_delta(), set_cur(), and set_val(). |
|
Definition at line 260 of file dev.H. Referenced by _event(), DEVice::add_handler(), DEVice_buttons::event(), and DEVice::rem_handler(). |
|
|
|
|
|
Definition at line 290 of file dev.H. Referenced by pressure(), and set_pressure(). |
|
|
|
Definition at line 300 of file dev.H. Referenced by event(), Cam_int::focus(), VisRefImage::get_cursor(), Pen::get_last_position(), Pen::get_ptr_position(), GEST_INT::move(), and GEST_INT::up(). |