Difference between revisions of "2017 Winter Project Week/SubjectHierarchyRefactoring"
From NAMIC Wiki
(Created page with "__NOTOC__ <gallery> Image:PW-Winter2017.png|link=2017_Winter_Project_Week#Projects|Projects List <!-- Use the "Upload file" link on the l...") |
m |
||
Line 26: | Line 26: | ||
* Node selector based on subject hierarchy (e.g. where it's possible to start selecting by patient in some way) cannot be implemented without major changes | * Node selector based on subject hierarchy (e.g. where it's possible to start selecting by patient in some way) cannot be implemented without major changes | ||
These issues are due to | These issues are due to | ||
− | * The | + | * The overly complex Qt MRML scene model infrastructure, which is rigid in some ways, and bloated in others |
− | * Unstable workarounds implemented in the current subject hierarchy infrastructure to accommodate certain use cases | + | ** Can only show nodes, so if an item is needed to be shown, a new node needs to be created (thus the lot of SH nodes and the virtual branches, see below). Also pointer tracking of nodes complicates things. |
+ | ** Index calculation is very complex and gets even more complex in the sub classes. | ||
+ | ** The features that are needed for specific models but are implemented in the base model overcomplicate the implementation (e.g. pre- and post items) | ||
+ | * Unstable workarounds implemented in the current subject hierarchy infrastructure to accommodate certain use cases | ||
** Nested associations that use the MRML hierarchy associations in a nested way so that the same nodes can be added both to model and subject hierarchies | ** Nested associations that use the MRML hierarchy associations in a nested way so that the same nodes can be added both to model and subject hierarchies | ||
** Virtual branches to accommodate data that do not correspond to MRML nodes one-on-one (segments contained by segmentations, fiducials contained by markups) | ** Virtual branches to accommodate data that do not correspond to MRML nodes one-on-one (segments contained by segmentations, fiducials contained by markups) |
Revision as of 18:58, 2 January 2017
Home < 2017 Winter Project Week < SubjectHierarchyRefactoringKey Investigators
- Csaba Pinter (Queen's)
- ? (JC, Steve, Andras)
Project Description
Objective | Approach and Plan | Progress and Next Steps |
---|---|---|
Although the subject hierarchy mechanism is in place and is already used, there are several issues and limitations that cannot be addressed in its current form:
These issues are due to
This necessitates a re-design of the subject hierarchy mechanism. The proposed solution is to store the whole subject hierarchy tree in one node, the internals of which are synchronized with the data nodes of the scene. A new Qt item model needs to be implemented for this node that supplies the information to the tree view and the future node selectors to show the information. |
|
|