BUG: scene view restore leaves the camera without a scene pointer, fix the crash so can go on to figure out the source of the bug

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21015 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: issue 2515 testing the knee atlas, renaming scene views was getting into an infinite loop, update the test for setting the parent node id, update testing as well

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21016 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Crash if timeout when downloading extension

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21017 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix MacOSX startup crash related to ExtensionsModelManager

Calling "q->setExtensionsInstallPath()" expects the model to be
instantiated.

Fixes issue introduced by commit r20996

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

Partial fix to #2358

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21018 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: don't assert -- use vtkErrorMacro instead

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21019 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: issue 2514 point to new version of the mrb with valid scene view thumbnails

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21020 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: issue 2513: speed up scene view restores where scene view storage nodes were included, reading png files is a bottleneck

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

Consistent with qMRMLThreeDView/Widget
Issue #2540

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21022 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Don't volume render when no mapper is set

This can happen when having multiple
vtkMRMLVolumeRenderingDisplayableManager in 1 view (eg.
CUDAVolumeRenderingDisplayableManager).
If the VR fails for one, it will make it fail for the other.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21023 3bd1e089-480b-0410-8dfb-8563597acbee
BUG 2486. Removed grid transform displacement field output to MRML file.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21024 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Unobserve MRML nodes removed from scene

Don't ignore vtkMRMLScene::NodeRemovedEvent as it could keep zombie pointers.
This reverts commit r20972 "BUG: ModelSlices should not be updated until batch processing is complete"

CLoses #2538

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21025 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Slicer extension install path missing '/' character.

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

Partial fix #2358

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21026 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: SceneView was not re-ID-ing some MRML nodes

When importing a scene view, if there are conflicts with the current
scene, it updates the ID of its nodes (see
vtkMRMLSceneViewNode::UpdateScene).
But when changing the ID of a node, one needs to update the nodes that
reference to these ID. This is done by
vtkMRMLSceneViewNode::UpdateNodeReferences. But some nodes (e.g.
vtkMRMLVolumeRenderingDisplayNode) were not propagating the id change to
subclasses.
This was the case of the view node ID being changed that wasn't applied
to the volume rendering display node in a scene view node.
Issue #1744

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21027 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Add comments to vtkMRMLScene

Comment the choice of loading/saving a scene: from/to file or from/to
string.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21028 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add Print utility menu command in Data module

It can be useful to print in the console the contents of the selected
node or scene.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21029 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix centering of volumes on load

Revert r20137 and close #2102.

This was tested by creating nrrd format files with various origins and
confirming that they could be correctly centered on load.

The issue that was reported with incorrect centering of meta image
format volumes was likely due the issue #2173 which is an underlying
issue with ITK/Meta that is outside the scope of slicer to resolve.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21030 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Corrected #0002544: ROI does not crop fiber bundle

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21031 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add MRML scene compatibility mechanism

By default, don't suport scenes older than Slicer 4.0

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21032 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Make vtkMRMLViewNode a singleton

It is consistent with chart view and slice nodes. For scenes created
before this commit, the singleton is extracted from the ID.
Closes #1744

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21033 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Add abstract class for all view nodes

vtkMRMLViewNode, vbtkMRMLSliceNode and vtkMRMLChartViewNode share some
common properties: they are views of a layout.

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