-
Notifications
You must be signed in to change notification settings - Fork 66
BrushStroke
thorbenk edited this page Jul 24, 2011
·
3 revisions
list of QPointF with associated brush size
Currently in ilastik, the brush strokes the user draws on top of one of the slice views are first rendered as a collection of QGraphicsLineItems. After 300ms, the accumulated lines are bundled together and sent along for the classifier to be updated with more labels. This class would represent such an aggregation of strokes that happened within a short time. As one could change the brush size in-between, we need to supply that as well.
- functions:
-
asQImage()
-> returns tuple QPointF offset, QImage renderedStroke
-