View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003820||Slicer4||Module Colors||public||2014-08-26 12:52||2014-08-27 13:37|
|Product Version||Slicer 4.3.1-2|
|Target Version||Fixed in Version|
|Summary||0003820: Adding the Paraview scalar bar actor changes to the Slicer scalar bar|
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:
|Tags||No tags attached.|
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.
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.