Import 2017-06-07 23:51:09: master 7a3a55a7

Author Committer Branch Timestamp Parent
jcfr jcfr master 2014-09-12 23:07:33 master 4ddf3c33
Changeset

ENH: Fixed color scalar bar by using vtkPVScalarBarActor

  • Color scalar bar was enhanced and the bugs were fixed by adding Paraview vtkPVScalarBarActor to module's logic
  • Replaced vtkScalarBarActor with vtkPVScalarBarActor
  • Made the logic sensitive to dicom volume. (for none dicom volumes the
    color scalar bar would occupy 100% of the view's width)
  • Change the format of foreground volume and label opacities to percentage
    (e.g. from 0.4 to 40%)

From: Alireza Mehrtash <mehrtash@bwh.harvard.edu>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23675 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Modules/Scripted/DataProbe/CMakeLists.txt Diff File
mod - Modules/Scripted/DataProbe/DataProbeLib/SliceViewAnnotations.py Diff File
add - Modules/Scripted/DataProbe/Logic/CMakeLists.txt Diff File
add - Modules/Scripted/DataProbe/Logic/vtkPVScalarBarActor.cxx Diff File
add - Modules/Scripted/DataProbe/Logic/vtkPVScalarBarActor.h Diff File