View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004221 | Slicer4 | Core: GUI | public | 2016-06-22 13:22 | 2016-06-22 13:24 |
Reporter | hastings.greer | Assigned To | hastings.greer | ||
Priority | low | Severity | feature | Reproducibility | N/A |
Status | assigned | Resolution | open | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0004221: Refactor qMRMLThreeDView and vtkThreeDViewInteractorStyle to put logic into common class, vtkMRMLThreeDViewLogic | ||||
Description | Currently qMRMLThreeDView and vtkThreeDViewInteractorStyle share several tasks such as moving the camera and recentering the camera. However, neither has a pointer to the other, and so the logic of actions such as re-centering the camera is duplicated, encouraging bugs. I propose to create a class vtkMRMLThreeDViewLogic which functions analogously to vtkMRMLSliceLogic, and both qMRMLThreeDView and vtkThreeDViewInteractorStyle will have pointers to the same vtkMRMLThreeDView logic and call functions in that class which implement the details of behavior. This will encourage consistent behavior between mouse interaction (qMRMLThreeDView) and keyboard interaction (vtkThreeDViewInteractorStyle) | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-06-22 13:22 | hastings.greer | New Issue | |
2016-06-22 13:22 | hastings.greer | Status | new => assigned |
2016-06-22 13:22 | hastings.greer | Assigned To | => hastings.greer |
2016-06-22 13:23 | hastings.greer | Summary | Refector qMRMLThreeDView and vtkThreeDViewInteractorStyle to put logic into common class, vtkMRMLThreeDViewLogic => Refactor qMRMLThreeDView and vtkThreeDViewInteractorStyle to put logic into common class, vtkMRMLThreeDViewLogic |
2016-06-22 13:24 | hastings.greer | Relationship added | related to 0004209 |