mod_cell_rectangle Module

class mod_cell_rectangle.CellWrapper(movie, nb_image, label, use_gtk)

Bases: ct_Cells.Cell

add_point(point, frame)
calc_rect(c, pt)

Function that returns a rectangle centered on c and with pt as a vertex

distance(p1, p2)
draw_center_tmp(image, i)

Draws the center of a rectangle

draw_polygon(image, i, cv, debug=False)
get_center(i)

Returns the center of a RECTANGLE given with point order given in the convention defined in the calc_rect function

get_reference_poly(i)
get_save_dict()
get_type()
move(pt, im)

Functions that moves a point

move2(point_m, i)

Function that really does the movement and updates everything

set_save_dict(dic)
mod_cell_rectangle.get_name()

This Page