ENH: Make layoutManager() method in qMRMLLayoutWidget Q_INVOKABLE

To make it accessible from python

From: Csaba Pinter <csaba.pinter@queensu.ca>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22856 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Updating SimpleFilter remote module

This updates adds a check box to set output as LabelMap, A Restore
defaults button, and print of filter to be run in python code to set
filter.

$ git log --oneline fc1f06..3bc2f
3bc2fdc Adding button "Restore" defaults
0d27412 ENH: improving responsiveness of main_queue_process
51d14b7 STYLE: move apply bottom to match CLI interface
49ec882 ENH: print object oriented python code to create filter before running
5d0a528 ENH: When a labelmap input is selected the output changes to labelmap
aa7ddc5 Update node selector and checkbox with LabelMap state
d4a5116 move output box and labelmap checkbox to self variables
648f736 Adding CheckBox to set output volume as label map

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22857 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: avoid a warning dialog in Editor when scene is closed

The warning message was triggered because the validity of the
volume state is checked when nodes are added or removed from the
scene, but it doesn't make sense to warn about the missing master
volume if there is also no merge volume.

Thanks to Alexandra Prior for pointing this out.

http://slicer-users.65878.n3.nabble.com/Editor-td4027182.html

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22858 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: #3568 Fix warning message about missing files

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22859 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Set default value for slicer.util.loadLabelVolume 'properties' parameter

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22860 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Ensure qMRMLColorModel::ItemDataRole can be used from python

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22861 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Restore stored label when selecting editor effect different from erase

Selecting the "EraseLabel" effect was storing the current label into
the 'storedLabel' parameter node attribute but this one was never restored
when selecting an other effect.

This commit fix the issue by ensuring the stored label is restored and also
introduce two new functions: 'backupLabel' and 'restoreLabel'

Fixes #3576

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22862 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Build 'DICOMDiffusionVolumePlugin' only if diffusion support is enabled

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22863 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add convenience function 'slicer.util.getFirstNodeByClassAndName'

This is required because the function vtkMRMLScene::GetFirstNode
is not wrapped. Indeed, his third parameter is a pointer to
an integer.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22864 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Ensure label can be changed if it was been toggled.

Following commit r22862 fixing issue #3576 to ensure label is restored
after switching effect, the label couldn't be changed after it being
toggled.

This commit now ensures that label is reset when eraseLabel has been
enabled and effect is switched.

See #3576

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22865 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Update CTK - Expose ctkPathLineEdit::nameFilters as property

$ git shortlog 15dc10d..7466ab0 --no-merges
Jean-Christophe Fillion-Robin (1):
      Set ctkPathLineEdit::nameFilters as property for use in designer and python

Johan Andruejol (1):
      Add location to ctkVTKDataSetModel

Nicole Aucoin (1):
      BUG: listen for unique signals from the title text property

achronop (1):
      Correct odd slider range when moves symmetrically. Fixes #432

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22866 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Updating ITK to v4.5.0 + release branch patches

$ git shortlog  b95e6a..754278cb --no-merges
Bill Lorensen (1):
      ENH: Restore/convert/repair ImageRegistrationHistogramPlotter

Bradley Lowekamp (12):
      DOC: Fixing BinShrink image caption
      BUG: Fix up-casting causing inf loop
      BUG: remove HDF5 configuration option propagated to the top
      BUG: initialize member variables in LabelVoting filter
      BUG: Add missing cmake file for MRCIO and wrapITK
      BUG: Fix rounding issue with HistogramPlotter test
      COMP: Remove unused method to manage warning
      COMP: Prevent compile-time numeric warnings in Float Exception test
      BUG: Add new baseline and relax tolerance for histogram plotter
      BUG: Correctly re-throw exception to restore AbortEvent, ProcessAborted
      BUG: Adding export specification to Exception objects
      BUG: disable ipa-cp-clone in GDCM

Brian Helba (2):
      BUG: Put ImageIOBase helper function in anonymous namespace
      BUG: Remove an invalid test case that will always fail

Constantine Zakkaroff (1):
      DOC: ITK Software Guide Reference Label Fix

Hans Johnson (1):
      COMP: SimpleITK linkage failure

Kent Williams (1):
      COMP: Remove outdated conditionals/pragmas

Matthew McCormick (12):
      ENH: Wrap additional dimensions for TileImageFilter.
      BUG: LeafTreeIterator does not produce correct output.
      COMP: Fix BSplineDeformableTransformTest for GCC4.8.2.
      COMP: Disable -Warray-bounds for GCC 4.7, 4.8.
      COMP: Fix HDF5 add_custom_command TARGET does not exist warnings.
      COMP: ImageRegistrationHistogramPlotter HistogramWriter visibility.
      BUG: Do not clobber Git origin pushurl.
      COMP: Fix signed/unsigned comparison in itkBinShrinkImageFilterTest1.
      BUG: Fix BinShrinkImageFilter 32-bit failures with rounding.
      BUG: Make RealTimeClock on Windows report consistent time.
      ENH: Mark ImageRegistrationHistogramPlotterTest as RUNS_LONG.
      COMP: Update libminc to latest version.

Paolo Zaffino (1):
      ENH: wrap CenteredTransformInitializer 2D images

Xiaoxiao Liu (3):
      BUG: Fix remote image IO module registration.
      BUG: itkVTKTetrahedraMeshReader fails on a win64 build.
      BUG: SCIFIO auto image factory registration.

From: Bradley Lowekamp <blowekamp@mail.nih.gov>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22867 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: add missing return statements when read fails - led to crash

ReadDataInternal is meant to return a status code indicating success
or failure, however some branches that generated error messages
neglected to return 0 meaning that the calling code interpreted
this as a success condition.  In some cases this led to a crash, for
example when importing RGB dicom files.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22868 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add support for user-defined stereo-viewing options

This will make it easier to implement support new stereoscopic 3D devices.

From: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22869 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Adding support for Apple's Retina display for fonts

Enable improved rendering of fonts on Apple's retina displays by
adding a custom bundle plist file with the following additional
elements:

<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHighResolutionCapable</key>
<string>True</string>

The remainder of the input plist file is based on the current in file
from CMake.

For reference: https://blog.qt.digia.com/blog/2013/04/25/retina-display-support-for-mac-os-ios-and-x11/

Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>

From: Bradley Lowekamp <blowekamp@mail.nih.gov>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22870 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Update VTK - Add support for additional observer CallDataType

//--------------
vtkPythonCommand - Add support for additional call data types

This commit extends the mechanism added in 9366ca67 to support additional
data types.

Supported types now includes 'string0', 'vtkobject', 'int', 'long',
'double' and 'float'.

Also added convenience decorator 'set_call_data_type'

See inlined comments for more details.

The integration in VTK proper has been proposed here:
http://review.source.kitware.com/#/t/3966/
//--------------

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22871 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Remove trailing white space from vtkImageResliceMask files

From: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22872 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Move vtkImageResliceMask from MRML/Logic to MRML/Core

This is done anticipating the implementation of the
non-linear transform support that will expect MRML node to depend on the
functionality of the vtkImageResliceMask filter.

Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>

From: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22873 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: changes to support non-linear transforms

From: Alex Yarmarkovich <alexy@bwh.harvard.edu>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22874 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Made Markup and Annotation work with non-linear transforms

From: Alex Yarmarkovich <alexy@bwh.harvard.edu>

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