BUG: Fixed bug with respect to Image inhomogeneity; included vtkImageLabelPropagation in SlicerCommonInterFaceTest1 so it would fail as this is also the reason for EMSegCL_Task_MRIHumanBrainFullParcellation_BRAINS_small failing

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23345 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Fix 80 char limit in vtkMRMLDiffusionTensorVolumeDisplayNode

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

* The nrrd reader did not properly propagate the scalar type to the
pipeline on time.
* vtkTeemEstimateDiffusionTensor did not use a proper pipeline of filters
for the baseline and averagedwi outputs.

Fixes DWIToDTIEstimationTest and DiffusionTensorScalarMeasurementsTest

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23347 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix vtkITKImageToImageFilter for VTK 6

The pipeline of filters was broken.

Fixes DiffusionWeightedVolumeMaskingTest

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23348 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fixes auto level for DTI images

* CalculateAutoLevel was not called in VTK 6 when the image was modified
* CalculateAutoLevel was aborting with Diffusion tensor display node
because the scalar image data did not have a Scalars array
* Also use GetDisplayScalarRange() in qSlicerScalarVolumeDisplayWidget

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23349 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Specify minimum set of VTKv6 libraries. Fixes #3741

The VTK utility: Utilities/Maintenance/WhatModulesVTK.py discovers
which modules are used in a project. This patch modifies the Slicer
CMakeLists.txt file to only load the vtk modules used by Slicer. This
should reduce the number of libraries being linked.

This commit also updates CTK project including a patch reducing
the number of library associated with CTKImageProcessingITKCore library.

// ----------------
$ git shortlog 48ef9aeb8..282abc7 --no-merges
Jean-Christophe Fillion-Robin (1):
      CTKImageProcessingITKCore - With ITKv4, link only to the required libraries
// ----------------

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

From: Bill Lorensen <bill.lorensen@gmail.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23350 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: SlicerExecutionModel - Update to explicitly support ITKv4

//-------------
$ git shortlog 865e2a771..ecb58ad --no-merges
Jean-Christophe Fillion-Robin (1):
      COMP: Update GenerateCLP and ModuleDescriptionParser to use ITKv4
//-------------

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

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23351 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Re-enable VTKv6 on MacOSX.

Since following commit r23350, issue #3741 is resolved, this commit
re-enables VTKv6 on MacOSX.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23352 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: On MacOSX, waiting issue #3741 is *really* solved uses VTK 5.10

It turns out that the test build I initiated managed to go way beyond
the original stopping point [See r23344]. That said, there are still
the same issue when building SubjectHierarchy, Annotations module ...

This commits reverts back to VTK 5.10 for MacOSX.

The solution gonna be to continue the work initiated in [1] and
remove the top level call to "find_package()" and instead have
every Slicer libraries/modules including his set of direct dependencies.

[1] http://massmail.spl.harvard.edu/public-archives/slicer-devel/2014/015671.html

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23353 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: FiberBundleLabelSelect - Clean up CMakeLists.txt

This commit removes reference to empty variable vtkTeem_LIB_DIR, additionally
vtkTeem being a target this is not needed.

Change *_(BINARY|SOURCE)_DIR with their *_INCLUDE_DIRS equivalent
COMP: Move VTKv6 and ITKv4 find_package calls into each Slicer sub-project.

To address issue #3741 [1], call to find_package associated to VTK and ITK
have been moved in every Slicer sub project, library or module expecting it.

This allows to reduce both the number of include directories and
the number of libraries passed to the compiler.

Moving forward, every Slicer sub project, library or module will be
responsible to call find_package (optionally specifying a list of
components) and (if it applies) include the associated "use file".

[1] http://na-mic.org/Mantis/view.php?id=3741
COMP: Find LibArchive/CURL/OpenIGTLink/ZLIB package where required.

This commit complements the previous one and will help reducing the number
of parameters passer to the compiler/linker. See #3741
COMP: Directly associate missing VTK library with module library