A generic class for handling cell creation (get polygon as successive clicks)
Function that receive a click from the viewer. This function returns True if the click lies inside the cell (core or reference polygon) In theory, the coordinates already have been converted
Draw the polygon on the image :param im: the image to draw on. :param type: a numpy matrix (x*y*3) :returns: numpy matrix – the output image
Bases: Cell_gtk.GtkCell
A generic class to handle polygons as untilted rectangles
Bases: Cell_gtk.GtkRect
Bases: Cell_gtk.GtkRect