Logo Search packages:      
Sourcecode: matplotlib version File versions  Download package

poly_editor::PolygonInteractor Class Reference

List of all members.


Detailed Description

An polygon editor.

Key-bindings

  't' toggle vertex markers on and off.  When vertex markers are on,
      you can move them, delete them

  'd' delete the vertex under point

  'i' insert a vertex at point.  You must be within epsilon of the
      line connecting two existing vertices

Definition at line 12 of file poly_editor.py.


Public Member Functions

def __init__
def __init__
def __init__
def button_press_callback
def button_press_callback
def button_press_callback
def button_release_callback
def button_release_callback
def button_release_callback
def draw_callback
def draw_callback
def draw_callback
def get_ind_under_point
def get_ind_under_point
def get_ind_under_point
def key_press_callback
def key_press_callback
def key_press_callback
def motion_notify_callback
def motion_notify_callback
def motion_notify_callback
def poly_changed
def poly_changed
def poly_changed

Public Attributes

 ax
 background
 canvas
 line
 poly

Static Public Attributes

int epsilon = 5
 showverts = True

Private Attributes

 _ind

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index