View Issue Details

IDProjectCategoryView StatusLast Update
0002563Slicer4Core: GUIpublic2014-03-06 05:59
Reporterpinter Assigned Tonicole  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product VersionSlicer 4.1.1 
Target VersionSlicer 4.3.0Fixed in VersionSlicer 4.3.0 
Summary0002563: Add the option to display color names instead of lookup table values for scalar bar
Description

The scalar bar that we can show from the Colors module always shows the vtkLookupTable values, but in case of discrete ("User" type) color tables it would be nice to show the color names from the vtkMRMLColorTable.

In the attached example, we would like to see "5", "10" next to the colors instead of 0.0-5.0.

Maybe a checkbox could be added for switching between the labels.

TagsNo tags attached.

Relationships

duplicate of 0002919 closednicole Add UseColorNameAsLabel for scalar bar widget 

Activities

2012-09-24 12:04

 

nicole

nicole

2012-09-25 06:01

administrator   ~0006201

Last edited: 2012-09-25 06:02

This will require subclassing and extending VTK widget and actor classes (vtkScalarBarWidget, vtkScalarBarActor) as we're currently using them as is. There is a scalar range bug in the current code that would be good to fix as well.
And hte ctkVTKScalarBarWidget would need to be updated to expose the option to switch between numbers and names.

nicole

nicole

2013-07-09 08:20

administrator   ~0008950

Duplicate of 2919.

Issue History

Date Modified Username Field Change
2012-09-24 12:04 pinter New Issue
2012-09-24 12:04 pinter Status new => assigned
2012-09-24 12:04 pinter Assigned To => kikinis
2012-09-24 12:04 pinter File Added: Screenshot_Isodose_ScalarBar.png
2012-09-25 04:35 kikinis Assigned To kikinis => nicole
2012-09-25 06:01 nicole Note Added: 0006201
2012-09-25 06:02 nicole Note Edited: 0006201
2012-12-08 10:12 jcfr Target Version => Slicer 4.3.0
2013-07-09 08:19 nicole Relationship added duplicate of 0002919
2013-07-09 08:20 nicole Note Added: 0008950
2013-07-09 08:20 nicole Status assigned => closed
2013-07-09 08:20 nicole Resolution open => duplicate
2014-03-06 05:59 jcfr Fixed in Version => Slicer 4.3.0