COMP: Fix compilation issue for BRAINSTools

The testing data from BRAINSTools does not work from within slicer.
The External_add_test data path is outside the slicer source tree,
and this causes a configuration failure.  I've disabled all testing of BRAINSTools
so that the builds can proceed.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21465 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: VolumeRendering: Support short scalar range volumes

Closes #2797

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21466 3bd1e089-480b-0410-8dfb-8563597acbee
BUG 2785. Call Modified on vtkPoints to force bounds update.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21473 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix typo in iterator loop

See issue #2811

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21475 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Set ITKv4 version to v4.3rc03

Updating to the latest release candidate will allow developers to more
easily report and fix issue using a recent version of ITKv4.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21476 3bd1e089-480b-0410-8dfb-8563597acbee
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