BUG: Fix CMake 3.x configuration warnings

Test done using CMake 3.0.20140413 (g94d5a)

Since project version is explicitly set, avoid warning by setting
policy CMP0048

Since ITKConfig.cmake append value to "ITK_LIBRARIES" and "ITK_INCLUDE_DIRS"
variables, let's make sure that "ITKFactoryRegistration" is not in the list
when configuring "ITKFactoryRegistration". This fixes the following
warnings:

//--------------
CMake Warning (dev) at Libs/ITKFactoryRegistration/CMakeLists.txt:55 (add_library):
  Policy CMP0038 is not set: Targets may not link directly to themselves.
  Run "cmake --help-policy CMP0038" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Target "ITKFactoryRegistration" links to itself.
This warning is for project developers.  Use -Wno-dev to suppress it.
//--------------

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23099 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Update CTK project to include CMake configuration speedup

On Ubuntu 13.10 using CMake 2.8.11.2, an improvement of ~10%
can be observed.

Without CTK tweaks:

real	2m32.996s
user	2m26.225s
sys	0m6.820s

With CTK tweak:

real	2m19.957s
user	2m15.908s
sys	0m3.768s


$ git shortlog 233d87..909073a --no-merges
Jean-Christophe Fillion-Robin (18):
      Remove unused FindCTK.cmake module
      Ensure CTK_ENABLE_Python_Wrapping remain set when CTK_BUILD_ALL is ON
      Print message if CTK_{APP, LIB, PLUGIN} options set to ON because of BUILD_ALL options
      Fix dependency of Scripting/Python/{Core, Widgets} options
      Remove code referencing unexisting variable. See #449
      Remove 'CTK_WRAP_PYTHONQT_FULL' obsolete option. See #449
      Remove setting of INCLUDE_DIRS variable specific to PythonQtGenerator
      Move all PythonQt wrapping code into one script. See #449
      Optimize ctkMacroWrapPythonQt creating required source list in a single loop.
      Configure module init file at configure times. See #449
      Simplify how path of generated file are specified. See #449
      Simplify moc'ing of generated PythonQt wrapper. See #449
      Remove Light wrapping CMake script and directly invoke python executable
      Do not log PythonQt wrapping output. See #449
      Optimize QT4_GENERATE_MOCS macro getting moc flags only when needed
      Simplify QT4_GENERATE_MOCS. See #449
      Re-create python compile script only if needed and fix dependency. See #449
      Fix python script compilation removing inputs from custom target deps. See #449

Julien Finet (2):
      Fix ctkPushButton text alignment with no icon
      Emit ctkSearchBox::textEdited() signal when clear icon is clicked

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23100 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Fix CTK compilation error expecting moc_ file to have cpp/cxx extension

This commit fixes issue introduced by r23100

$ git shortlog 909073..2f1ff44 --no-merges
Jean-Christophe Fillion-Robin (1):
      Fix compilation error introduced by 130deabb4. See #449

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23101 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Added visualization of transforms

New features:
* Support non-linear transforms in the Transforms module: allow Apply, Harden, Invert transform
* Transform information displayed in the Transforms module (type of transform, basic properties)
* Transform visualization:
** Built into the Transforms module
** Three main modes: Glyphs (show an array of arrows, cones, spheres), Grid (show a deformed grid), or Contour (show isolines/isosurfaces for specified displacement magnitude values)
** All transform types are supported (chains of transforms as well)
** Visualization in the slice viewers
** Visualization in the 3D viewers, in the specified region (region can be a slice viewer, a volume, or a ROI widget)
** Real-time update: if the transform (or any visualization parameter) is changed then the visualization is updated immediately (interactive visualization while editing the transform)
** Built-in colormap editor
* MetaImage (mha), NIFTI (nii) vector volumes can be loaded as displacement field (grid) transform


git-svn-id: http://svn.slicer.org/Slicer4/trunk@23102 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: ResampleDTIlog Euclidean was using the measurement frame to transform tensors from local coordinates to world coordinates

It should be using the space direction of the image instead. The measurement frame should only transform gradient vectors from DWI to world coordinates. To be backward compatible, if a measurement frame is detected in the MetaData of the image, the measurement frame is still used as the transform matrix from local to world coordinate unless --noMeasurementFrame is specified. If no measurement frame information is available in the image MetaData, the image space direction is used instead (as well as if --noMeasurementFrame is specified).

From: fbudin69500 <fbudin@unc.edu>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23103 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fixed transform info widget test name

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23104 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Fixed linux build warnings

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23105 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Update CTK do not display ctkWorkflow debug message

$ git shortlog 2f1ff4..880bdd --no-merges
Jean-Christophe Fillion-Robin (1):
      Introduce ctkWorkflow verbose property to print debug msg when needed

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23106 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Update OpenIGTLinkIF SHA1 to add color image support. See #3649

From: Junichi Tokuda <tokuda@bwh.harvard.edu>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23107 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: 3660. Fixed faulty logic checking for coordinate changes in the vtkMRMLMarkupsFiducialDisplayableManager3D.cxx

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23108 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Store a list of disabled plugins when user disable plugins in
advanced mode. All plugins would be enabled by default (both in simple and
advanced mode).

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

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23109 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Added comments describing the grid transform reader behavior

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23110 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: add coordinates to right click menu

When select rows in the Markups table, right click will now add the
coordinate points to the top of the context menu. Works for
multi select, and will work for multiple points per markup.
Adds the label of the markup if there are multiple rows selected.
Adds a separator after the coordinates and before the command
actions.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23111 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: add check box to show/hide coordinate columns

When box is checked, hide the markup coordiante columns in the
table, when unchecked show them.

Issue #3667

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23112 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: label change from XYZ to RAS

After discussion on Slicer Developer hangout, change the GUI
coordinate labels to RAS instead of XYZ.

Issue #3367

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23113 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix behaviour of gui when markup inside transform

When editing the coordinates of a markup that's inside of a
transform, the pairing of getting the untransformed
coordinate and then saving it as transformed was leading to
incorrect values.
Added in a checkbox to select if the GUI table shows the
markup coordinates in transformed or untransformed versions.

Issue #3632

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23114 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: remove compiler warnings

Remove unused variable, mark parameter as unused.

Issue #3632


git-svn-id: http://svn.slicer.org/Slicer4/trunk@23115 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix dashboard submission removing subproject settings

When copied over from CTK, some of the setting related to
"SubProject" were still set. This was causing some issue on the CDash
server. This commit is an attempt to fix the submission error.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23116 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: disable alternate color editors

The color module was just collapsing the color table and
continuous color transfer viewer/editors when the other type
of node was active. User feedback showed this to be confusing
as valid looking data was visible if the sections were
expanded. This change disables the invalid editor on
selection of a color node.

Issue #3573


git-svn-id: http://svn.slicer.org/Slicer4/trunk@23117 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix fiber bundle color display

Check for fiber bundle display nodes and use the old method,
igoring the new scalar range options for models. Fixes bug
introduced with issue #3573 in svn revision 23083

Issue #3672


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