BUG: fix loading of ruler files from Add Data dialogue.

Needed to call Initialize on the ruler to add the needed display nodes.

Issue #1406



git-svn-id: http://svn.slicer.org/Slicer4/trunk@21477 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Issue #2821 fiducial moves on mouse over

Only respond to InteractionEvents from the widget when the
seed widget is in MovingSeed mode.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21478 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Remove unused file vtkSlicerExtensionsLogic.{cxx,h}

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21479 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Remove unused file "point.h"

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21480 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Remove unused file "slicerPython.h"

Similar role is now fulfilled by https://github.com/commontk/PythonQt/blob/patched-2/src/PythonQtPythonInclude.h

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21481 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Support per user per revision extensions settings

There is now a clear distinction between:
 - userSettings -> i.e. ~/.config/NA-MIC/Slicer.ini
 - revisionUserSettings -> i.e. ~/.config/NA-MIC/Slicer-<revision>.ini

The following slicer settings are now revision specific:
 - Extensions/ManagerEnabled
 - Extensions/ServerUrl
 - Extensions/InstallPath
 - Modules/AdditonalPath
 - Modules/IgnoreModules

Additionally, the launcher version has also been updated to be able to
consider settings associated with a user, application and revision. This is
captured by the new parameter APPLICATION_REVISION, ORGANIZATION_DOMAIN,
ORGANIZATION_NAME and USER_ADDITIONAL_SETTINGS_FILEBASENAME passed to the CMake
function "ctkAppLauncherConfigure".

qSlicerCoreApplication API has also been extended and now includes methods
like:
  - QSettings* userSettings()  [settings() method is deprecated and kept for backward compatibility]
  - QSettings* revisionUserSettings()
  - QString launcherRevisionUserSettingsFilePath()
  - QString slicerUserSettingsFilePath()
  - QString slicerRevisionUserSettingsFilePath()

In addition to the settings, the extensions install path is also revision
specific, it means that it's now possible to have multiple version of slicer
running with different set of extensions.

Fixes #2791, #2143, #2720, #2533


Since the version of the launcher is updated, launcher will return EXIT_FAILURE
also when no application is been set in the launcher settings.

Fixes #2767

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21482 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Remove private member to be consistent with setter/getter function name

Function is named "userRevisionSettings()" and associated member is now
named "RevisionUserSettings" instead of "RevisionSpecificUserSettings"

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21490 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix crash by ensuring private member is initialized.

Thanks to Bill Lorensen, Alex Yarmarkovich and Csaba Pinter for pointing
out the problem.

To provide some background:

  While working on the commit r21482 that introduced the problem, the
variable was automatically initialized to 0 on my workstattion and I didn't
 face the issue.

  Having valgrind reporting uninitialized variable on the dashboard would
also be helpful.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21491 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix fiducial display in light box mode.

Use the renderer from the light box proxy manager if it's defined
When in light box mode, switch to using 2d point handles for fiducials.
Avoid seed widget and representation having different renderers on creation.
Unify light box index calculation.
Fix the annotations showing up in the 0th light box when the annotation
should be in the -1th. 
Take into account volume spacing, calculate the distance between the fiducial
and the slice at this light box index using distance from the fiducial point and the slice plane.
Reset the glyph type when changing in and out of lightbox mode.

Issue #1690


git-svn-id: http://svn.slicer.org/Slicer4/trunk@21494 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: remove unintended check ins

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21495 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: update links to pubdb for brain and knee atlas

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21496 3bd1e089-480b-0410-8dfb-8563597acbee
BUG 2758. Reworked vtkMRMLCameraDisplayableManager class to select a correct camera on scene load

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21497 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: fix dcmtk build option to match ITK internal usage

Apparently this flag changed or the original use was
never properly tested.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21498 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: allow restriction only one build type at cmake time

By including only a single configuration type, visual studio
will bring that up by default.  This helps when building
release on windows, since you can restrict the projects to
only support release and avoid getting builds with both
libraries by mistake.  By passing this to the slicer project
you can open that and build without needing to remember to
change the build type.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21499 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Remove unnecessary qDebug

While using the Volume Rendering module, qDebug reports many lines containing
Default: "" on stdout.
This polluted the console with unnecessary lines.



git-svn-id: http://svn.slicer.org/Slicer4/trunk@21500 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Tweak dashboard script to allow checkout of given SVN branch and rev

Additionally, the script will now ensure that the project is checked out
in either Continuous, Experimental or Nightly sub directory.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21501 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Pass CMAKE_CONFIGURATION_TYPES only if it applies

This will avoid CMake "unused variable" warning when using generator that
don't support multiple config. (i.e Makefile)

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21506 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Fix Windows build ensuring CMAKE_CONFIGURATION_TYPES is properly passed

This is a follow up of commit r21499

List can't be passed directly to ExternalProject, they have to be converted
to string with a separator different from ";".

The function "list_to_string" allows to easily convert list to string
using a given separator.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21510 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: add web instpector option to web view example

Supports better introspection html/css/javascript internals.

Thanks for finding this Luca!

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21515 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Remove unused code from qSlicerCLIModuleWidget

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