ct_Cells Module

class ct_Cells.Cell(movie, center_rect, size, angle)
change_select(widget=None, data=None)

Called when the select button is clicked

draw_rect(cv, image)
get_index()

Returns the cell index

get_rect()

Returns the coordinates of the rectangle surrounding the cell as defined by self.center_rect, self.size and self.angle

is_all_in_screen()
new_frame(gtk)

Creates and return a frame object

set_frame(i)
set_index(i)

Sets a unique index identifier for the cell

set_ref(p)

p is the size of the reference image (int)

update_panel()

Updating the panel

class ct_Cells.Cells(movie)
add_cell(center_rect, size, angle)
clear_cells_list()
get_cells_list()
set_cells_list(l)

This Page