MCPcopy Create free account
hub / github.com/computationalpathologygroup/ASAP / cancelAnnotation

Method cancelAnnotation

ASAP/annotation/AnnotationTool.cpp:125–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125void AnnotationTool::cancelAnnotation() {
126 if (_generating) {
127 _annotationPlugin->finishAnnotation(true);
128 _start = Point(-1, -1);
129 _last = _start;
130 _generating = false;
131 }
132}
133
134void AnnotationTool::mousePressEvent(QMouseEvent *event) {
135 if (_viewer) {

Callers 2

setActiveMethod · 0.95
clearMethod · 0.45

Calls 2

PointClass · 0.85
finishAnnotationMethod · 0.80

Tested by

no test coverage detected