View Issue Details

IDProjectCategoryView StatusLast Update
0003820Slicer4Module Colorspublic2014-08-27 13:37
Reportermehrtash Assigned Tonicole  
PrioritynormalSeverityfeatureReproducibilityalways
Status assignedResolutionopen 
Product VersionSlicer 4.3.1-2 
Target VersionFixed in Version 
Summary0003820: Adding the Paraview scalar bar actor changes to the Slicer scalar bar
Description

It would be very helpful to add vtkPVScalarBarActor features/enhancements to slicerScalarBarActor. There are mainly two features in PV scalar bar that dataprobe slice annotations can benefit from which are:

  • Fixed size fonts.
  • Tick labels vary in precision.
  • The scalar bar is dynamic and only round numbers are displayed which is more useful for the user.

[1] http://www.paraview.org/ParaView3/Doc/Nightly/html/classvtkPVScalarBarActor.html

TagsNo tags attached.

Activities

nicole

nicole

2014-08-27 10:48

administrator   ~0012433

First pass of adding these features to the Slicer scalar bar actor class shows that there are some clashes in the way the two classes handle the labels/ticks, working through them now, but it's not a minor change.

nicole

nicole

2014-08-27 13:37

administrator   ~0012436

A simple union of the two classes isn't going to work because of assumptions about the data type being formatted in the label and conflicting methods generating two sets of text actors.

The pop up Slice View Annotations Setting widget isn't using the ctkVTKScalarBarWidget, which in any case needs a lot of updating for new VTK6 options, as well as to add the text labels and the new PV settings.

I'd like to see the combination of the functionality, especially since having different scalar bar actors for 2d and 3d will be jarring, but they are two distinct subclasses of the VTK scalar bar actor and it's not going to be a quick fix to combine them.

Issue History

Date Modified Username Field Change
2014-08-26 12:52 mehrtash New Issue
2014-08-26 12:53 mehrtash Status new => assigned
2014-08-26 12:54 mehrtash Assigned To => nicole
2014-08-27 10:48 nicole Note Added: 0012433
2014-08-27 13:37 nicole Note Added: 0012436