ENH: Associate CPACK_PACKAGE_INSTALL_DIRECTORY with application name

This should allow easier customization of the Slicer install directory.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23753 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Ensure vtkGUISupportQtOpenGL is packaged on MacOSX. Fixes #3872

This commit add vtkGUISupportQtOpenGL to the VTK component list so that
it show up as a dependency when fixup script are used to create the MacOSX
package.

This is required because "find_package(VTK..)" is used in SlicerConfig.cmake
without specifying a list of component and the complete list of VTK libraries
is used to build extensions.

Ideally, the same list of components should also be used when calling
find_package(VTK ...) from SlicerConfig.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23755 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fixed two minor issues of slice view annotations

* Fixed the error in the terminal No scalar values found for texture input!
* New slices that are added to the layout would have the same font
 settings as the other slices.

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

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23756 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fixed exception, added tooltip

Slice annotation failed with an exception when series time was empty.
Added tooltip to "Background DICOM annotations persistence" checkbox, as it was very difficult to figure out what was it for.

From: Andras Lasso <lasso@queensu.ca>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23757 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Fixed error message occurring after disabling SliceViewAnnotations

This commit fixes error message like this one:

Traceback (most recent call last):
  File "/path/to/Slicer-build/lib/Slicer-4.3/qt-scripted-modules/DataProbeLib/SliceViewAnnotations.py", line 596, in updateCornerAnnotations
    self.makeAnnotationText(caller)
  File "/path/to/Slicer-build/lib/Slicer-4.3/qt-scripted-modules/DataProbeLib/SliceViewAnnotations.py", line 838, in makeAnnotationText
    self.drawCornerAnnotations()
  File "/path/to/Slicer-build/lib/Slicer-4.3/qt-scripted-modules/DataProbeLib/SliceViewAnnotations.py", line 993, in drawCornerAnnotations
    sliceCornerAnnotation = self.sliceCornerAnnotations[self.currentSliceViewName]
KeyError: 'Red'

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

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23758 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Increase maximum value for dimension widget in volume info. Fixes #3790

This commit changes the maximum value from "100000" to "1000000'

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23759 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Update VTK to fix VS2013 compilation errors.

Co-authored-by: Dzenan Zukic <dzenan.zukic@kitware.com>

// -------------
$ git shortlog c9862c5..b55dad7 --no-merges
Jean-Christophe Fillion-Robin (1):
      Fix VS2013 compilation. Add missing <algorithm> include. Needed for std::max

Utkarsh Ayachit (1):
      Add missing <algorithm> include. Needed for std::max/min.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23760 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: generalise comparing volume geometries

Added CompareVolumeGeometry and call it from CheckForLabelVolumeValidity

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23761 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: link resample and check methods, add a test

Added documentation links between the method that checks
for geometry mismatch and the one that resamples to fix it.
Added basic tests for the new logic methods.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23762 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix crash when editing scripted screen shots

Fixed the default screen shot type to use the defined full layout
integer.
Added checks to avoid crashes for scripts that are in extensions.

The default screen shot type was set to -1 in the python scripts
and templates, but in the Qt widget, the screen shot type was
only defined from 0-4. Trying to open the scripted screen shot
node in the Qt widget would cause a crash since the -1 type was
cast to the enumerated WidgetType in qMRMLScreenShotDialog
resulting in an invalid number and a null widget.

Issue #3879

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23763 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: get the screenshot type without making a widget

From JC: avoid creation an instance of the widget to get the
value of the enum

Issue #3879

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23764 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: update landmark registration

commit fbf515ecd91b26177bad25e0336c24deec8bf69b
Author: Steve Pieper <pieper@bwh.harvard.edu>
Date:   Wed Oct 29 19:32:50 2014 -0400

    ENH: improve the support for imported fiducial lists for LandmarkRegistration

    - detect and set display style
    - add associated node linkage
    - avoid detecting storage nodes
    - trigger registration when switching registration plugins

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23765 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Use Slicer VTK components in SlicerConfig. Fixes #3872

This commit revert r23755 and ensure extension will find only the
VTK components required by Slicer itself.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23766 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Fix VS2013 compilation error including missing algorithm header

From: Dzenan Zukic <dzenan.zukic@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23767 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Also exclude ExtensionWizard configuration when python is disabled.

Co-authored-by: Dzenan Zukic <dzenan.zukic@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23768 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Ensure vtk FreeTypeFontConfig component is consistently specified.

This commit fixes an inconsistency between

- External_VTKv6.cmake where the component was build only if FontConfig
was found.

and

- CMakeLists.txt where the VTK component was systematically expected.

This commit now makes sure that "find_package(FontConfig QUIET)" is
systematically used.

Co-authored-by: Dzenan Zukic <dzenan.zukic@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23769 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Update CTK project - Fix compilation error when python is disabled

$ git shortlog 68a1ce2..1c97e54 --no-merges
Dzenan Zukic (1):
      Ensure CTKVisualizationVTKWidget build with VTK6 and python disabled.

Sascha Zelzer (2):
      Added an option to skip install commands for plugins.
      Using : as separator might conflict with absolute paths on Windows.

From: Dzenan Zukic <dzenan.zukic@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23770 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Fix VS2013 compilation issue removing unused "isnan" define.

From: Dzenan Zukic <dzenan.zukic@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23771 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Save vtkMRMLInteractionNode::PlaceModePersistence in the scene

From: Andras Lasso <lasso@queensu.ca>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23772 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Update Documentation to 4.4

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