COMP: Fix CDash errors/warnings reporting for unix parallel build

Setting the variable CTEST_USE_LAUNCHERS_DEFAULT in the environment
to enable CTest launcher reliably will be supported by default in either
CMake 2.8.10 or 2.8.11.

In the mean time, your local installation of CMake can be modified based on
the following topic: https://github.com/jcfr/CMake/tree/fix-ctest-use-launchers-for-superbuild

See http://na-mic.org/Mantis/view.php?id=2468

Fixes #2468

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21112 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Extend vtkMRMLDisplayNode documentation

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21113 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add center view button in 3D view controller toolbar

Issue #2297

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21114 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: flag the Loading and Uninstantiating module print outs via the verbose module discovery flag rather than the testing one

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21115 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Both CTest and CMake should have CTEST_USE_LAUNCHERS set

See http://na-mic.org/Mantis/view.php?id=2468

Fixes #2468

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21116 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: testing the Reporting module found that another extension had registered a node with the same tag, so changing a debug to a warning, and also removing the double register of the scalar volume node

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21117 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: handle case where no dicom database exists for RSNA dicom test

Handles the case of a fresh install where the dicom module
has never been run before.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21118 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: free the indexer instance so that indexing threads will finish

The indexer uses the QFuture mechanism, so the operation may not have
completed when the call returns and the next step begins.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21119 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: better managment of startup conditions for dicom database

In particular for self testing on systems where dicom module
has not previously been run.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21120 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: provide option to wait for index completion

Since dicom indexer uses QFuture threading, it may return before
the database is ready.

Requires:

https://github.com/commontk/CTK/commit/868c4dbb552dbbc076a3ae7aa135e17be5dbfba2

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21121 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: provide access to new dicom indexer API

Addresses #2516 and #2618

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21122 3bd1e089-480b-0410-8dfb-8563597acbee
BUG 2546. Don't save storable nodes in the Main Scene View since they either in the main scene or are deleted on purpose.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21123 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix leak in liver and lung tests

don't use GetNodesByClass (vtkCollection) api to access scene

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21124 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: add additional extensions to support .zip and .xar files

Allow any .zip file to be loaded if it contains for a *.mrml file.

.xar files are generated by xnat, but are just a zip file.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21125 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: #2517 - tests for 2 or 3 parts

Add test for basic 4 minute tutorial and for the ChangeTracker.
PETCT is TBD.

Note that ChangeTracker test triggers assert on closing scene.
Bug report to be filed.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21126 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: add references to all wizard steps from self to facilitate automated testing


git-svn-id: http://svn.slicer.org/Slicer4/trunk@21127 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Reset checked model index list when scene is reset

When the scene is set to 0 in qMRMLDisplayViewNodeComboBox, the
qMRMLSceneModel is reset and becomes empty.
However, ctkCheckableModelHelper may have checked some items/indexes in
that list. And ctkCheckableComboBox keeps a list of those checked indexes.
That list was not cleared, and was pointing to deleted nodes, so when
qMRMLCheckableNodeComboBox::checkedNodes() was called, it returned indexes
but couldn't find the nodes (d->mrmlNodeFromIndex) because the scene was
set to 0 on qMRMLSceneModel.

Closes #2621

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21128 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Inform developer when adding a node already in scene

It can be dangerous to add the same node twice.
An issue is that the node gets a new ID set (and those observing the node
may not listen to that vtkMRMLNode::IDChangedEvent)
Issue #2621 comment 0006422

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21129 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix Drag&Drop of nodes in qMRMLSceneModel on mac os x

The issue couldn't be easilly reproduced and only on release mode.
Increasing the timer seems to fix the problem.

Tune up of commit r18754.
Issue #1510

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21130 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: VR display node was not supposed to be added to the scene after create, see #2621
BUG: some memory leaks fixed, see #2588


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