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
BUG: Fix #3585. Python bool('string') == True for any non-empty string

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22891 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Update OpenIGTLinkIF to fix TDATA segfault

For reference, see:

  https://github.com/openigtlink/OpenIGTLinkIF/pull/23

and

  https://github.com/SlicerIGT/OpenIGTLinkRemote/issues/18

From: Isaiah Norton <inorton@bwh.harvard.edu>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22892 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Implemented GetMarkupIndexByID and GetMarkupByID methods

From: Laurent Chauvin <lchauvin@bwh.harvard.edu>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22893 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Remove redundant Error/Warning Ctest custom match expression.

As of kitware/CMake@b2634b6aaor for any version of CMake >= v2.8.3, these
expressions are already included in the default CTest list
implemented in cmCTestBuildHandler.cxx

See [1], [2] and [3]

Co-authored-by: Christopher Mullins <christopher.mullins@kitware.com>
Co-authored-by: Matt McCormick <matt.mccormick@kitware.com>

[1] http://cmake.org/gitweb?p=cmake.git;a=commit;h=b2634b6aa3a0203e3a97060cf9e3206245a85080
[2] http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/CTest/cmCTestBuildHandler.cxx;h=c5deb964a38fe7ed37c08562112800b961788269;hb=HEAD#l70
[3] http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/CTest/cmCTestBuildHandler.cxx;h=c5deb964a38fe7ed37c08562112800b961788269;hb=HEAD#l136

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22894 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Disable slice view reset (volume propagation) if CLI Autorun is enabled.

Disable slice view reset (volume propagation) is important, because when
we change a CLI parameter we want to keep all the carefully chosen slice
view settings (background/foreground volume selection, slice selection,
transparency, zoom, etc.). Before this change all the slice view settings
had to be set again after each parameter change, which basically rendered
the Autorun feature useless for modules with volume output.

From: Andras Lasso <lasso@queensu.ca>

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