Skip to content

BrushingModel

thorbenk edited this page Jul 23, 2011 · 1 revision

holds the state of the brush (size, color, number) and emits updates on strokes drawn by the user during the last elapsed period (currently 300ms in ilastik 05.06)

public API:
  • properties:
    • drawInto #data sink to draw into
    • brushSize
    • brushColor
    • brushNumber #number to be 'drawn' into an array
  • signals:
    • brushSizeChanged
    • brushColorChanged
    • brushNumberChanged
    • strokeAvailable(int = id, object = BrushStroke)
    • removeStroke(id)
Clone this wiki locally