PYME.LMVis.Extras.annotation module

class PYME.LMVis.Extras.annotation.AnnotationOverlayLayer(annotator, **kwargs)

Bases: OverlayLayer

This OverlayLayer creates the lines of a box. The dimensions of the box are determined by the selection_settings

render(gl_canvas)
Parameters
gl_canvas

zc is used to set the z value of the Overlay

Returns
——-
class PYME.LMVis.Extras.annotation.Annotator(vis_fr)

Bases: AnnotateBase

Parameters
winPYME.ui.AUIFrame (or derived class) instance.

Window to add annotation contols to. Must implement AddMenuItem()

selectorPYME.ui.selection.Selection instance

class holding info about the current selection.

apply_labels_to_points(event=None)
PYME.LMVis.Extras.annotation.Plug(vis_fr)