View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014272VTK(No Category)public2013-09-11 08:592016-08-12 09:55
ReporterKevin Wang 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version6.0.0 
Target VersionFixed in Version 
Summary0014272: vtkScalarBarActor improvement
DescriptionHi vtk-developers,

I am developing modules in Slicer and found one limitation in vtkScalarBarActor.

Currently vtk scalarbar widget only shows scalar value as labels. It would be useful in some applications to show the color names as labels. For example: when using the Slicer3_2010_label_Colors color table in slicer, instead of showing the scalar values, it would be nice to show the color names as labels in scalarbar widget. Please find more info about this at http://na-mic.org/Mantis/view.php?id=2919 [^]

To enable this feature, I have created a new sub class of vtkScalarBarActor which allows adding color names with a method:

int SetColorName(int ind, const char *name);

It also has a variable to enable/disable using the color as label. Please see the code as https://github.com/kevinwangcanada/Slicer/blob/2919-Add-UseColorNameAsLabel-for-scalarbar-widget/Modules/Loadable/Colors/VTKRendering/vtkSlicerScalarBarActor.h [^]

Before we merge this into the slicer trunk, we would like to know if you think it is relevant and something like this can be merged into VTK.

Thanks for your consideration.

Kevin

TagsNo tags attached.
ProjectTBD
Typefeature
Attached Files

 Relationships
related to 0014752closedKitware Robot vtkScalarBarActor DrawAnnotations flag is all or none 

  Notes
(0036250)
Berk Geveci (administrator)
2016-07-06 16:48

Setting to status of bugs that have not been updated in the last year to expired. Please re-open if still important.
(0037308)
Kitware Robot (administrator)
2016-08-12 09:55

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2013-09-11 08:59 Kevin Wang New Issue
2014-10-05 19:19 Cory Quammen Relationship added related to 0014752
2016-07-06 16:48 Berk Geveci Status backlog => expired
2016-07-06 16:48 Berk Geveci Note Added: 0036250
2016-08-12 09:55 Kitware Robot Note Added: 0037308
2016-08-12 09:55 Kitware Robot Status expired => closed
2016-08-12 09:55 Kitware Robot Resolution open => moved
2016-08-12 09:55 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team