scenerygraphics / sciview

sciview is a tool for visualization and interaction with ND image and mesh data
BSD 2-Clause "Simplified" License
68 stars 17 forks source link

Show more metadata about selected Volume #509

Closed kephale closed 1 year ago

kephale commented 1 year ago

When you select a volume in tree view, the attributes shown in the Properties panel are primarily things to edit. However, there are some read-only attributes that are interesting, like image size, pixel size, etc..

This could be easily implemented in the Properties class.

kephale commented 1 year ago

Labeling this as 1.0.0 it isn't critical, but is pretty easy and people always want the metadata info for volumes

kephale commented 1 year ago

@ctrueden this is a little weird, but can we have @Parameters that are static? I was hoping to follow the pattern we have here https://github.com/scenerygraphics/sciview/blob/a17d4ee09d673660c81b2287dbe3bb83e964e7ac/src/main/kotlin/sc/iview/commands/edit/Properties.kt#L130-L133 and just add more @Parameters for at least voxel dimensions and image size that get updated by the Node but cannot be changed in the Properties panel.