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
ENH: rebased svn, fixed fiducials under nonlinear transform

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

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22876 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fixed DataProbe module to work with non-linear transform

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

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22877 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix table range on color nodes

Color table range values were being set to the number of entries
in the look up table, rather than the range of scalar values that
are to be mapped through the table. This restricts that mapping (especially
when using them with volumes) to for example scalar values from 0-43
in the fMRI table, rather than allowing mapping of 0-255, the default
that is input to the map scalars to colors filter in the
slice pipeline.

Reset the table ranges on the fMRI, fMRIPA, Iron nodes, as well as
the default range for Copy and the color table storage node, to
allow mapping 0-255 rather than 0-number of colors.

Issue #3586



git-svn-id: http://svn.slicer.org/Slicer4/trunk@22878 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fixed usage of GetXYToIJKTransform in Editor PaintEffectTool

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22879 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fixed usage of GetXYToIJKTransform in Editor tools

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22880 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: back out table range for LUTs from file

Painting in the editor is not showing the correct
colors when the table range is set to 0-255, go back
to using the maxID as the upper range for now.

Issue #3586



git-svn-id: http://svn.slicer.org/Slicer4/trunk@22881 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix BSpline transform reducing "event thrashing"

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22882 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add second pimpl constructor to qMRMLTreeView

Adding a second protected constructor that takes the pimpl instance as argument allows subclassing and using qMRMLTreeViewPrivate from a subclass of the tree view.

Export qMRMLWidgets_INCLUDE_DIRS CMake variable from SlicerConfig to be able to include those directories without CMake path construction magic.

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

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22883 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fixed usage of GetXYToIJKTransform in Editor tools

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22884 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Rename DiffusionTensorScalarMeasurements option name

The original option name was misleading, it has been renamed to better
guide the user.

Fixes #3591

Co-authored-by: Sonia Pujol <spujol@bwh.harvard.edu>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22885 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Added new vtkMRMLTransformNode attribute: readWriteAsTransformToParent

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22886 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Added tests for BSpline and Grid transforms and corresponding MRML nodes.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22887 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Support Numpy building using VS Express and Windows SDK

See inline comments added to "python_patch.cmake" for more details.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22888 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Tweak msvc9compiler patch to also use with older installation of SDK

While this version allow to compile on modern version of Visual Studio,
it broke the build on older version.

For example, on the dashboard District9, with the following version
installed:
  Microsoft Visual Studio 2008
  Version 9.0.30729.1 SP
  Microsoft .NET Framework
  Version 3.5 SP1

It will ensure the following paths are also returned:

  include:
    C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;
  lib:
    C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\lib;
  libpath:
    c:\\WINDOWS\\Microsoft.NET\\Framework\\v3.5;
    c:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727;
  path:
     c:\\WINDOWS\\Microsoft.NET\\Framework\\v3.5;
     c:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727;
     C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\bin;

Instead of tweaking the updated "query_vcvarsall", a "dumb" approach
as been considered. The unpatched version of the function has been re-added
as "query_vcvarsall_default" and path discovered by new and original approach
are merged into the same dictionary.

Note that the "query_vcvarsall_default" doesn't raise an exception anymore
if no interesting path are found.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22889 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Fix loadable module template build error (introduced by r22759)

Thanks to "Zian Fanti" for reporting the error.

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