#include "disp/colors.H"
#include "geom/gl_view.H"
#include "geom/world.H"
#include "gest_int.H"
#include "mlib/point2.H"
#include "std/config.H"
#include "std/run_avg.H"
Include dependency graph for gesture.C:
Go to the source code of this file.
Classes | |
class | ELLIPSE |
class | DEBUG_ELLIPSE |
Functions | |
template<class A> | |
void | clip_tip (A &array, int num_to_clip) |
double | angle (CPIXEL &a, CPIXEL &b, CPIXEL &c) |
double | linear_interp (double x1, double y1, double x2, double y2, double x) |
double | ellipse_max_err (const GESTURE *gest) |
PIXEL_list | get_section (PIXEL_list &pts, double s0, double s1) |
PIXEL_list | trim_endpt_overlap (CPIXEL_list &pts) |
double | pressure_to_grey (double p) |
Variables | |
const double | MIN_GESTURE_LENGTH = 15 |
const double | MIN_GESTURE_SPREAD = 10 |
|
Definition at line 223 of file gesture.C. Referenced by mlib::Point2list< L, P, V, S >::fix_endpoints(), Cam_int_edit::rot_x(), Cam_int_edit::rot_y(), Cam_int_edit::rot_z(), and mlib::Mat4< M, P, V, L, Q >::rotation(). |
|
Definition at line 89 of file gesture.C. Referenced by GESTURE::trim(). |
|
Definition at line 752 of file gesture.C. References Config::get_var_dbl(), GESTURE::length(), linear_interp(), and GESTURE::speed(). Referenced by GESTURE::is_ellipse(). |
|
Definition at line 944 of file gesture.C. References ARRAY< T >::empty(), err_msg(), in_interval(), mlib::Pointlist< L, P, V, S >::interpolate(), and mlib::Pointlist< L, P, V, S >::update_length(). Referenced by trim_endpt_overlap(). |
|
Definition at line 746 of file gesture.C. Referenced by ellipse_max_err(). |
|
Definition at line 1293 of file gesture.C. References max(). Referenced by GestureDrawer::draw(). |
|
Definition at line 974 of file gesture.C. References mlib::Pointlist< L, P, V, S >::closest(), get_section(), mlib::Pointlist< L, P, V, S >::interpolate(), and ARRAY< T >::pop(). Referenced by GESTURE::is_ellipse(). |
|
Definition at line 11 of file gesture.C. Referenced by GESTURE::below_min_length(). |
|
Definition at line 12 of file gesture.C. Referenced by GESTURE::below_min_spread(). |