Skip to content

Support loading custom legend files #41

@jcfr

Description

@jcfr

Remove custom table management:

  • Support for direct loading of CSV file into Slicer. Once a file is loaded, this would create a vtkMRMLTableNode
  • Re-use the node selector associated with vtkMRMLTableNode.
  • Add "Import legend" button to the UI. Once the table node is imported it would be associated with an attribute like Q3DC.TableLegend ensuring only the relevant node are listed in the selector

Approach 1

  • Keep the current CSV format with the region, and implement filtering of table value per-region

Approach 2

  • Change the "legend" format so that we have one file per "region".

Instead of one file called base_fiducial_legend.csv, we would have the following files:

  • CRANIAL BASE.csv:
Region,Landmark,Name
CRANIAL BASE,Ba,Basion
CRANIAL BASE,S,Sella
CRANIAL BASE,N,Nasion
  • NASOMAXILLARY COMPLEX.csv:
NASOMAXILLARY COMPLEX,A,A-point
NASOMAXILLARY COMPLEX,ANS,Anterior Nasal Spine
[...]
  • MANDIBLE.csv:
MANDIBLE,B,B-point
MANDIBLE,Pog,Pogonion
[...]

cc: @aruellas

Metadata

Metadata

Assignees

Labels

Q3DCRelated to the Q3DC module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions