COMP: Fix build error occurring when disabling QtTesting

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

Fixes #2760

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21419 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: fix spelling error in variable name

refrencingNode -> referencingNode

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21421 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix leaks on scene close - related to issue #2512

Use vtkSmartPointers to rather than bare C pointers
to manage lists of node references.  This avoids dangling
pointers to already deleted nodes (and hence prevents
crashes).

Also STYLE: add at least some documentation to the header
file describing what these methods are meant to do and
how the data structures are managed.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21422 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Add method to streamline loading of scalar volumes

* Update DICOM scalar volume plugin to use the new method name.

Adapted from topic proposed by Andriy Fedorov
Credit: Andriy Fedorov, Julien Finet and Steve Pieper

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

Fixes #2748

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21425 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Apply redesign to glyphable volume slice display nodes

In r20910, model display nodes had a demand driven pipeline redesign.
However, this redesign wasn't applied to glyphable volume slice display
nodes.
Issue #2374

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21427 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Model displayable manager now supports any displayable node...

...that has display nodes with a non null output polydata.

Issue #2374

Conflicts:
	Libs/MRML/DisplayableManager/vtkMRMLModelDisplayableManager.cxx

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21428 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Restore 2D slice glyph display

When display nodes where added to a volume node,
vtkMRMLVolumeGlyphSliceDisplayableManager was not notified so it couldn't
observe the glyph diffusion tendor display node modify event.

Issue #2374

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21429 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Update display when tensor display properies are modified

When the properties node is modified, the event must be propagated so that
the 3D and 2D displayable managers are notified and trigger a refresh.

Closes #2374

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21430 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Move light box renderer manager proxy to abstract displayable manager

Suggested by Steve Pieper
Contributed by Jim Miller

Moved the LightBoxRendererManagerProxy up to the superclass of the
DisplayableManager hierarchy so that all (2D & 3D) displayable managers
can interact with a lightbox.

Note that light boxes are only currently supported on 2D viewers, so the
proxy is only configured in qMRMLSliceView. CTK will need to be changed to
put the LightBoxManager into ctkVTKAbstractView to make it accessible to
both ctkVTKSliceView and ctkVTKRenderView. Then qMRMLThreeDView could also
create and initialize a LightBoxManagerProxy and set it on its DisplayableManagers.
Here, we would also want to move qMRMLSliceViewPrivate::vtkInternalLightBoxRendererManagerProxy
class to a place where it could be used by both types of VTK widgets.

The proxy can now be set on the DisplayableManagerGroup which
broadcasts the proxy to all the DisplayableManagers in that group.

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

Fixes #2732

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21431 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Disable ITK_AUTOLOAD_PATH/itkMRMLIDIOPlugin for executable CLIs

Unset ITK_AUTOLOAD_PATH environment variable to prevent the CLI from
loading the itkMRMLIDIOPlugin plugin because executable CLIs read images
from file and not from shared memory. Worst the plugin in the CLI
could clash by loading libraries (ITK, VTK, MRML) other than the
statically linked to the executable.
Historically, there was an nvidia driver bug that causes the module
to fail on exit with undefined symbol.

Regression from r12053 (always broken in Slicer4, works in Slicer3)

Issues #2773 #1635

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21440 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Update to very latest ITK.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21441 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add ITKv4 PETStandardUptakeValueComputation

Extracting DICOM header values needed updating
for compatibility with API in ITKv4

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

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

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21444 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Fix NUMPY config so it works with clang

Problem is bogus inclusion of '-faltivec' on OS X Intel
problem was bad platform test.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21445 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Added methods enabling screenshot based testing

1. Added a new qSlicerCoreTestingUtility class that derives from
ctkQtTestingUtility and defines image comparison methods based on
vtkTesting.
2. Added functionality in ctkScreenshotDialog to control output
resolution of screenshot taken.
3. Added a new menu item under Edit menu in the Slicer app for saving a
test screenshot. This item invokes ctkScreenshotDialog with constrained
output resolution of 300x300.
ENH: Image compare to QWidget and transition to qSlicerCoreTestingUtility