STYLE: Fix casing of CMake macro add_subdirectory

See http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/Style_Guide/CMake

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21888 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Remove extra space in CMakeLists.txt

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21889 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Set "Slicer_LANGUAGES" global property only if i18n support is enabled

Prevent confusion and make global property definition consistent.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21890 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix import of Tkinter and Fix compilation errors on VS 2010 and 2012

Updated CMake'ified python external project to include the following
topics:
* 60ee828 - Merge branch 'add-lib-tk-to-pythonpath'
* 8a3c51a - Merge branch '8-add-ctestconfig'
* 22a0870 - Merge branch 'fix-msvc2012-build-error'
* a70729f - Merge branch 'fix-msvc2012-link-error'

See https://github.com/davidsansome/python-cmake-buildsystem/pull/13
Fixes python-cmake-buildsystem issue 13

See http://www.na-mic.org/Bug/view.php?id=3065
Fixes #3065

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21891 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: #3076 make sure scalar range is updated after edit operations.

This new method unifies the updating of the image data and volume
node to trigger rendering.  By calling modified on the point scalars,
this GetScalarRange call returns the correct data.

http://na-mic.org/Bug/view.php?id=3076

This is confirmed by looking at the results of the call after
editing in new colors as shown below.

>>> l = getNode('*label')
>>> l
(vtkMRMLScalarVolumeNode)0x131766ba8
>>> l.GetImageData().GetScalarRange()
(0.0, 15.0)
>>> l.GetImageData().GetScalarRange()
(0.0, 18.0)
>>>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21892 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix spacing buttons in slice controller widget

Ensures automatic spacing button in slice view controller widget toggles automatic spacing on and off, and updates the icon in the widget to reflect the spacing mode. Ensures automatic spacing, manual spacing, and field of view buttons are synchronized with MRML slice nodes. Ensures automatic spacing, manual spacing, and field of view buttons for each of R, Y, G update together appropriately when linked. #2993, in part similar to #2676-2685.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21893 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fixed issue with SetSceneReference and bug 3067

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21894 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Display Slicer revision at configuring time. Fixes #2020

See http://www.na-mic.org/Bug/view.php?id=2020

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21895 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Change configure time message to use main application name.

If SlicerApp_APPLICATION_NAME is set to "Foo", message like the following
will be displayed instead:

-- Configuring Foo version [4.2.0-2013-04-16]
-- Configuring Foo revision [21891]
-- Configuring Foo for [linux-amd64]

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21896 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: External link in extension manager now open in browser. Fixes #3045

To determine if a link should be open in the extension manager or in an
external browser, the "host" of the clicked url and the server url are
compared.

See http://qt-project.org/doc/qt-4.8/qurl.html#setAuthority for more details.

See http://www.na-mic.org/Bug/view.php?id=3045

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21897 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: 3060. Made 
const std::vector<vtkMRMLDisplayNode*>& vtkMRMLDisplayableNode::GetDisplayNodes();
 - Obsolete
 utility function that provides an unsafe API. Please use GetNumberOfDisplayNodes() and GetNthDisplayNode() instead 

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21898 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: 2916. Moved vtkSlicerModelsLogicAutoRemoveTest into the data module testing directory and use a datamodule logic instead of a models logic. Removed unused AutoRemoveDisplayAndStorageNodes  property of vtkSlicerModelsModuleLogic.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21899 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: 3009. Updated vtkMRMLScalarVolumeDisplayNode visualization pipeline to fix alpha compositing problem.
See diagram in http://na-mic.org/Mantis/view.php?id=3009 for more details.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21900 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: 2970. Reverted changes to Chart colormaps.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21901 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix lost on focus when modifying spinbox

Previously, the spinbox would lose focus when modifying the value due to
an update by the node. Using the new ctkSpinBox that actually checks
if the values are the same before updating fixes this.

See Issue #2986

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21902 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Reorder CLI description XML elements

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21903 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add drag&drop support for registered IO dialogs.

To support drag&drop, a qSlicerFileDialog derived class should reimplement:
 * qSlicerFileDialog::dragEnterEvent()
 * qSlicerFileDialog::dropEvent()

By default, qSlicerDataDialog supports drag&drop.

Issue #3081

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21904 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add vtkProperty properties to display node

Issue #2946

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21905 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Reset BRAINSTools to build without the ITK_FUTURE_LEGACY_REMOVE

The inconsistent use of ITK_FUTURE_LEGACY_REMOVE was causing major runtime
errors with regards to virtual functions being located in different places
in the object files between compilation units.

This update also turns off many new tools that are not ready for
distribution with Slicer.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21906 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: 3084. Fixed multiple usability issues in ROI selection in Tractography Display module.
1. Changing Percentage Fibers Shown does not update display
2. Percentage Fibers Shown should update on mouse release not on drag
3. The ROI selection controls should be inactive until Fiber and ROI are selected to prompt users to select
4. Better name for ROI nodes needed
5. Tube slices do not show up on the newly created Fibers 

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