BUG: issue 1864 don't print an error if the scene is still importing

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20906 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: update CTK to get access to database insert timestamp

https://github.com/commontk/CTK/commit/ba0a7d2521274e65f9add8b5e90a1adb5702785e

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20907 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: implement feature for request #1876 - DICOM notification

Now series are shown in the dicom module in order of their
insertion date, so if you are receiving data periodically from
a scanner the most recent studies will be listed first.

Clicking on a series will give the option to load it.

Also a status message is displayed in the application main
window indicating when the most recent database insertion
happened.  This will be visible when new data is received, for
example via a network transaction, even when you are working
in a different module.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20908 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Move PolyData from vtkMRMLDisplayableNode to vtkMRMLModelNode

vtkMRMLDisplayableNode is the base class of Model and Volume nodes, it
shouldn't have a reference to specialization of the Model node.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20909 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add VTK demand driven pipeline to Model display nodes

Similar to what is done in the volume display nodes, it is now supported
to have a pipeline of VTK filters in the model display nodes.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20910 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Reset clipping range of camera when loading scene

Clipping range is not a saved camera node property, so it needs to be
recomputed when being loaded.
This is particularly true when the camera position is far (>1000) from the
 focal point as the default clipping range is 0.1 -> 1000

Closes #1744

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20911 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: show status message only if there are recent DICOM series

Avoids python warning

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20912 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: avoid crash when refreshing dicom activity widget

Happened only on linux build (not mac) and appears to be a
management problem with pythonqt and Qt model items.  Using
the addItem API leaves all the item memory management to Qt.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f49d71d17c0 (LWP 26275)]
0x0000000000000041 in ?? ()
(gdb) where
#0  0x0000000000000041 in ?? ()
#1  0x00007f49cf77352a in PythonQtWrapper_QListWidgetItem::delete_QListWidgetItem (this=0x622a360, obj=0x6105a90) at /usr/include/qt4/QtCore/qbytearray.h:383
#2  0x00007f49cf7709b6 in PythonQtWrapper_QListWidgetItem::qt_metacall (
    this=0x622a360, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff80b40cf0)
    at /usr/include/qt4/QtCore/qbytearray.h:383
#3  0x00007f49cf3356a4 in PythonQtInstanceWrapper_deleteObject (
    self=0x4d3e9b0, force=false) at /usr/include/qt4/QtCore/qbytearray.h:383
#4  0x00007f49cf335805 in PythonQtInstanceWrapper_dealloc (self=0x4d3e9b0)
    at /usr/include/qt4/QtCore/qbytearray.h:383
#5  0x00007f49cfe77155 in subtype_dealloc (self=0x4d3e9b0)
    at Objects/typeobject.c:2675
#6  0x0000000002b47130 in ?? ()
#7  0x0000000000000000 in ?? ()
(gdb) q
The program is running.  Quit anyway (and detach it)? (y or n) y
Detaching from program: /home/pieper/slicer4/latest/Slicer-superbuild/Slicer-build/bin/SlicerApp-real, process 26275

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20913 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: switch to OpenIGTLinkIF revision 8013. This update includes:
 - remove unused parameter error (r7953)
 - bug-fix in endian conversion for image message (r7988)
 - fix bug 0001938 -- compatibility with volume rendering module (r7989)
 - fix memory leak in IGTLConnector node (r7999)
 - fix bug 0002315 -- connector does not work if it is loaded form scene file
 - removed locatorDisp->SetPolyData() to be comply with new vtkMRMLModelDisplayNode class (r8013).

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20914 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: In slicer/util.py, update python method "loadScene" to use loadNodeFromFile

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

Fixes #2441

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20915 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fixed cropping for the non-scalar volumes; before this commit, the output volume would always be initialized to scalar volume, independent of the input
ENH: added voxel-based cropping: this mode of operation does not need interpolation and preserves the original data; this functionality was contributed by Paul Mercea, pmercea@gmx.net


git-svn-id: http://svn.slicer.org/Slicer4/trunk@20916 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: expand array method to support multivolumes

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20917 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: eliminate cast to short from frame extraction pipeline; it is no longer
needed since the volume rendering of floating volumes has been resolved


git-svn-id: http://svn.slicer.org/Slicer4/trunk@20918 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: fix header file name

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20919 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix Crash when entering Volumes Module with image that has NaN's

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

Fixes #2460

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20920 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Check for valid polydata before updating fiber selection

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20921 3bd1e089-480b-0410-8dfb-8563597acbee
BUG 2471. Fixed updates sequence in the reslice pipeline. Changed the default slice mode to be FOV, spacing matches 2D

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20922 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: issue 2108 when deleting multiple models using the batch processing flag on the scene, the scene model needs to update after batch processing ends or there will be a crash

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20923 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: get fix from Sascha for windows build error

https://github.com/commontk/CTK/commit/ee445fea875de51055cbea5b044a36482117c8d4

git-svn-id: http://svn.slicer.org/Slicer4/trunk@20924 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Ensure built-in CLI can be started using the launcher

Note that CLIs provided by extensions can't be started using this mechanism.
The LauncherSettings would have to be updated ...

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

Fixes #1455

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