[x] Unit displayed in Annotation Thickness, Slice Step Size and Slice offset boxes is um
[x] Exploration mode is selected
[x] Structure ontology is selected
[x] Slice Step Size is 25
[x] Reset button is enabled
[x] Apply button is disabled
[x] Annotation Thickness slider is disabled
[x] Annotation Type is Spline
[x] Filename text box is None
[x] Coronal reference view is selected
Ontology combo box
located in the lower left corner
[x] Check that Ontology is visible in 2D and 3D views
[x] Select Layer -> Check that 2D and 3D views are updated
[x] Select None -> idem
DataProbe
located in status bar, right of Ontology combo box
[x] Mouse over slice in 2D view -> Confirm coordinate and structure name are displayed
[x] Select Layer ontology -> Mouse over slice in 2D view -> Check that layer name are displayed
Contrast slider
[x] Select None in ontology combo box
[x] Click in between min/max and hold -> move mouse to translate range -> Check that 2D and 3D views are updated
[x] Click on handle min handle -> move mouse -> max handle should be symmetrically updated -> Check that 2D and 3D views are updated
[x] Click Reset button -> Check min/max are set -> Check that 2D and 3D views are updated
ReferenceView combo box
[x] Select Axial -> 2D and 3D views are updated and have same orientation
[x] Select Sagittal -> idem
[x] Select Coronal -> idem
"Adjust Slice Viewer FOV" button
located on the left of the Reference View combo box
[x] Select "Coronal" -> Move slider -> Click on button -> expected offset is 6600 -> 2D and 3D views are updated
[x] Select "Axial" -> idem -3975 -> idem
[x] Select "Sagittal" -> idem 5699 -> idem
Slice offset slider
[x] Move Slider -> check that TextBox, 2D and 3D views are updated
[x] Use mouse wheel in 2D view -> check that Slider, TextBox, 2D and 3D views are updated
[ ] Enter value in TextBox -> check that Slider, 2D and 3D view are updated.
Known issues: #73
Slice Step Size slider
[x] Set Slice Step Size to 5
2D view
[x] Click once on 2D view -> use right&left arrow -> check slice offset is updated by 5 increment in 2D and 3D views updated
[x] Click once on 2D view -> move mouse cursor outside of 2D view -> use right&left arrow -> idem
3D view
[ ] Click once on 3D view slice plane -> use right&left arrow -> check slice offset is updated by 5 increment, 2D and 3D views updated.
Known issues:#83
[ ] Click once on 3D view slice plane -> move mouse cursor outside slice plane -> use right&left arrow -> nothing happen.
Known issues:#84
[ ] Use mouse wheel to zoom in until no background is visible -> move mouse cursor outside -> use right&left arrow -> check slice offset updated by 5 increment in 2D and 3D views updated.
Known issues:#83
Roll/Pitch/Yaw sliders
[x] Move Roll, Pitch and Yaw sliders -> Apply button is enabled -> wait few seconds, no update should happen -> click Apply -> 2D and 3D views should be updated
[x] Click Reset -> Raw/Pitch/Yaw reset to 0 -> Apply button disabled, slice offset set to 6600
[x] Update Roll, Pitch, Yaw spin boxes with 25, 35 and 50 -> wait few seconds, nothing should happen -> click Apply -> 2D and 3D views should be updated, slice offset is set to 9478.087
[x] Click Reset
[x] Move Roll slider -> wait few seconds, no update should happen -> press Enter or Return -> 2D and 3D views should be updated
[x] Move Pitch slider -> idem
[x] Move Yaw slider -> idem
[x] Update Roll spin box -> wait few seconds, no update should happen -> press Enter or Return -> 2D and 3D views should be updated
[x] Update Pitch spin box -> idem
[x] Update Yaw spin box -> idem
3D View
[x] Click and hold outside slice plane + move mouse cursor -> camera is updated
[x] Click and hold on slice plane + move mouse cursor -> slice offset is updated
[x] Click and hold on slice plane red orthogonal arrow + move mouse cursor -> raw/pitch/yaw are updated, slice offset is updated -> Apply button is disabled
Annotation creation and updates (Edit mode vs Exploration mode)
[x] Select Edit mode -> Click on slice plane in 3D view -> nothing happen
[x] Click once on 2D view -> Annotation point is added -> click multiple time -> annotation is created
[x] Click and hold annotation point -> move mouse cursor -> point position is updated
[x] Click and hold near annotation line and away of point -> move mouse cursor -> entire annotation is moved
Update slice offset
[x] Using slider -> annotation position is updated
[x] Using right&left arrow -> idem
[x] Click and hold on image slice plane in 3D, move mouse -> idem
Update raw/pitch/yaw
[x] Click and hold on slice plane red orthogonal arrow in 3D view + move mouse cursor -> annotation position is updated
[x] Update Roll/Pitch/Yaw text boxes -> idem
[x] Select Exploration mode -> annotation point or line can NOT be selected and translated
[x] Select Edit mode -> annotation point or line can be updated
[x] Close application -> Confirmation dialog -> Click "Save" -> Save Dialog show -> Click Cancel -> Application stays open
[x] Close application -> Confirmation dialog -> Click "Save" -> Save Dialog show -> Select location -> Click Save -> Application is closed
[x] Start application -> Select Edit mode -> Add points -> Close application -> Confirmation dialog -> Click "Exit (discard modification)" -> Exit without saving annotation -> Application is closed
Check current filename is displayed
[x] Click New -> Enter annotation.json -> Click Save
-> Check that filename text box displays /path/to/annotation.json
[x] Click New -> Enter annotation2.json -> Click Save
-> Check that filename text box displays /path/to/annotation2.json
[x] Click Load -> Select annotation.json -> Click Load
-> Check that filename text box displays /path/to/annotation.json
[x] Click SaveAs -> Enter annotation3.json-> Click Save
-> Check that filename text box displays /path/to/annotation3.json
Test Cancelling New/SaveAs/Load is a no-op
[x] Click New -> Click Cancel -> Click Save -> Existing annotation should be saved without showing "Save As" dialog
[x] Click SaveAs -> idem
[x] Click Load -> idem
[ ] Click SaveAs -> Check that "Save As" dialog is shown
Known issues:#86
Test Save -> New -> Load -> Save
Create annotation:
[x] Start application -> Set ReferenceView to Sagittal
[x] Select Edit mode -> Add 3 points
[x] Set properties
Raw/Pitch/Yaw set to 10/20/30
Slice Step Size to 10
Annotation thickness to 60
Annotation Type to PolyLine
[x] Click Save -> popup -> Enter annotation.json -> Click Save
Then:
[x] Click New -> popup -> Enter annotation2.json -> Click Save -> Click Reset -> Set Reference View to Axial
[x] Click Load -> Check that properties match the one entered above
[x] CTRL + W -> Application state is reset -> Click Load -> Check that properties match the ones entered above
[x] Close Application -> no confirmation dialog expected
-> Start application -> Click Load -> Check that properties match the ones entered above
Known issues:#87
[x] Click SaveAs -> Enter annotation3.json -> Click Save
[x] Check that file annotation.json and annotation3.json are identical.
Known issues:#78
Remembering directory used for last saving
[x] Start application -> Click Save -> Choose a different directory -> Choose Save -> Close application
[x] Start application -> Click Save -> Check suggest directory is the one of previous step
[ ] Start application -> Click Load -> idem
Known issues:#85
Checklist
Click means Left-Click
Data, Units and default values
um
25
None
Ontology combo box
located in the lower left corner
DataProbe
located in status bar, right of Ontology combo box
Contrast slider
ReferenceView combo box
"Adjust Slice Viewer FOV" button
located on the left of the Reference View combo box
6600
-> 2D and 3D views are updated-3975
-> idem5699
-> idemSlice offset slider
Slice Step Size slider
5
5
increment in 2D and 3D views updated5
increment, 2D and 3D views updated. Known issues: #835
increment in 2D and 3D views updated. Known issues: #83Roll/Pitch/Yaw sliders
6600
9478.087
3D View
Annotation creation and updates (Edit mode vs Exploration mode)
Keyboard Accelerators and Mouse Operations
See https://github.com/BICCN/cell-locator#keyboard-accelerators-and-mouse-operations
General
2D Viewer
2D Viewer / Zoom and Pan
2D Viewer / Annotation
3D Viewer
SpinBoxes and Sliders
Annotation Type
Annotation Thickness
Confirm Exit Dialog
Check current filename is displayed
annotation.json
-> Click Save -> Check that filename text box displays/path/to/annotation.json
annotation2.json
-> Click Save -> Check that filename text box displays/path/to/annotation2.json
annotation.json
-> Click Load -> Check that filename text box displays/path/to/annotation.json
annotation3.json
-> Click Save -> Check that filename text box displays/path/to/annotation3.json
Test Cancelling New/SaveAs/Load is a no-op
Test Save -> New -> Load -> Save
Create annotation:
annotation.json
-> Click SaveThen:
annotation2.json
-> Click Save -> Click Reset -> Set Reference View to Axialannotation3.json
-> Click Saveannotation.json
andannotation3.json
are identical. Known issues: #78Remembering directory used for last saving