View Issue Details

IDProjectCategoryView StatusLast Update
0004221Slicer4Core: GUIpublic2016-06-22 13:24
Reporterhastings.greer Assigned Tohastings.greer  
PrioritylowSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0004221: 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)

TagsNo tags attached.

Relationships

related to 0004209 closedjcfr center view button does not update clipping distance 

Activities

There are no notes attached to this issue.

Issue History

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