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
COMP:Update CTestCustom to ignore "detached HEAD" git warning

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21132 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Verify CTK AppLauncher package by specifying md5

This will fix the following warning:

// ---------------------
-- verifying file...
     file='/Users/kitware/Dashboards/Nightly/Slicer-build-64bits-QT4.7.4-PythonQt-With-Tcl-CLI-Release-nightly/CTKAPPLAUNCHER-prefix/src/CTKAppLauncher-0.1.8-macosx-amd64.tar.gz'
-- verifying file... warning: did not verify file - no URL_MD5 checksum argument? corrupt file?
// ---------------------

See http://slicer.cdash.org/viewBuildError.php?type=1&buildid=42212

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21133 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Attempt to automatically link module python library with its dependencies

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

Fixes #2627

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21134 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Expose qMRMLAnnotationTreeView and qMRMLSceneAnnotationModel

to other modules. Those classes can be handy when modules implement their
own annotation nodes.
To be "public", classes must be in subdirectories such as MRML, Logic or Widgets.

Issue #2606

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21135 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: VR logic CreateVolumeRenderingDisplayNode should not add node to scene

Because the method name has the format "CreateXXX", it is implied that the
method does not add the instantiated node into the scene. It is instead the
caller's responsability.
vtkSlicerVolumesLogic::CreateLabelVolume() should also be changed (maybe
add utility CreateAndAddLabelVolume())
Issue #2626

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21136 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Volume logic CreateLabelVolume should not add node to scene

Only CreateAndAddLabelVolume() can add a node to the scene.
Closes #2626

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21137 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: CreateVolumeRenderingDisplayNode() no longer adds to the scene, account for this


git-svn-id: http://svn.slicer.org/Slicer4/trunk@21138 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Add backward compatible functions CreateLabelVolume

Issue #2626

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21139 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix memory leaks

GetNodesByClass() requires manual dereferencing, as described in
http://wiki.slicer.org/slicerWiki/index.php/Documentation/4.1/Developers/Tutorials/MemoryManagement


git-svn-id: http://svn.slicer.org/Slicer4/trunk@21140 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Add more cheks and tests in VR logic methods for robustness

Crashed was happening if the VR display node was not in the scene.
Issue #2622

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21141 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix memory leaks in the last step of the wizard


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

VR display node needs to be added to the scene before being initialized


git-svn-id: http://svn.slicer.org/Slicer4/trunk@21143 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix the issue with VR turning off when ChangeTracker is exited (see Slicer issue 2589)
        
VR display node needs to be associated with the volume node


git-svn-id: http://svn.slicer.org/Slicer4/trunk@21144 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Missing returning node in vtkSlicerVolumesLogic::CreateLabelVolume

Add warning message for deprecated function.
Issue #2626

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21145 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Correctly initialize ROI node in VR module

Closes #2620

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21146 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: 2534. Linking panning of Slice viewers

Decoupling the Slice viewer resolution from the 3D Slice plane
viewers broke linked panning.

SliceToRAS is not modified by panning anymore. Linked panning was copying
the SliceToRAS from one viewer to another.  Instead, we now copy the XYZOrigin
from one viewer to another.

Not sure this is the correct thing to do.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21147 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: issue #2499 A workaround the crash in vtkCutter: call vtkPolyData->Modified() to update bounds of the locator, to avoid crash in the vtkCutter. Also optimization for slice-to-slice intersection case.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21148 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: new test for SliceLinkLogic

Tests Compare View for data selection, lightbox configuration, reseting
field of view, panning, zooming, slice offset, and changing orientation.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21149 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Added volume rendering module tutorial test for abdomen dataset

Second test without VTK GPU Ray Casting on Apple as it fails to render

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