BUG: Infinite loop or crash with inf scalar data

Closes #3227

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22198 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Initialize logics in ObserveMRMLScene instead of SetMRMLSceneInternal

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22199 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: #2788. Crosshairs change position on zoom (and pan)

Added OnSliceNodeModifiedEvent() to update the Crosshair display
position when SliceNode is modified, for instance by zooming or
panning.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22200 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: adding SimpleFilters as internal modules via externalproject

Following the example of MultiVolumeImporter, a new external project
was added to download the SimpleFilters repository, the source
directory is propagated into the Slicer project and it is added as a
sub-directory to the build in scripted modules.

From: Bradley Lowekamp <blowekamp@mail.nih.gov>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22201 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: #2739: Add configuration of two slice viewers

Added layout with just two slice viewers arranged side by side

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22202 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix Qt designer crash when dropping spinbox in collapsible widget

Closes #2009

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22203 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add SHIFT support to change file type to checked files.

Holding the shift key when changing the file type changes the other checked
files of same type to the new file type.
Closes #3109

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22204 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: add a utility method to add a new fiducial

Prevents memory leaks and error messages from adding a fiducial
and a display node. 

For access from python, use:
fidID = slicer.modules.annotations.logic().AddFiducial(10.0, -50.0, 8.8, 'P1')
fidNode = getNode(fidID)

Resolves issue #3138



git-svn-id: http://svn.slicer.org/Slicer4/trunk@22205 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: add tool tips to the clipping widget

Explain what is meant by the clipping terms and positive/negative
spaces.

Issue #2560



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

Use the text strings from the MRML clip node widget.

Issue #2560



git-svn-id: http://svn.slicer.org/Slicer4/trunk@22207 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Cleanup shortcuts(actions) dialog

Closes #1819

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22208 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: "Add data" shortcut is CTRL+O or CTRL+A, and not "CTRL+O + CTRL+A"

Closes #1819

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22209 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add write support for MRC files

Closes #1815

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22210 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: expose the label value for the model to label map CLI

Updated the documentation link and updated the wiki pages to 
include the new parameter.

Resolves issue #3233



git-svn-id: http://svn.slicer.org/Slicer4/trunk@22211 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix decimals in volumes module

Loading MRHEAD, we want the default coordinates to be:
 - spacing: 1.0, 1.0, 1.3
 - origin: -86.645, 133.929, 116.786 if the length unit precision is 3
Issues #2480, #2986, #3074...

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22212 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Block/Redirect display node events in CLI node writing

Closes #2966, #2915

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22213 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Fix compilation warnings with static char* reference strings

The warning:
vtkMRMLStorableNode.h:154: warning: the address of ‘vtkMRMLStorableNode::StorageNodeReferenceRole’ will always evaluate as ‘true’

When replacing char [] into char*, the new warning is:
/.../vtkMRMLStorableNode.cxx:27: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]

When replacing char* by const char*, vtkGetStringMacro can't convert
from const char* to char*.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22214 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add search box in models module

Closes #1530

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22215 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Expose scrollTo() to qMRMLTreeView

So that other modules could conveniently use.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22216 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: #2326 Fix tests and ENH: refactor sample data

The bug refers to failures of the py_vtkITKArchetypeScalarReaderFile
and py_vtkITKArchetypeDiffusionTensorReaderFile tests after
commit [1].  These tests relied on a side-effect of downloading
the sample data in order to determine the file to load
data from, but this was not reliable since the data was in a temp
directory.   Now the tests request the download directly.

The enhancement is that the sample data module now supports the
concept of categories of sample data sources, such that modules
can register their sample data.  This way a version of slicer can
offer sample data appropriate for use with the particular extensions
that have been installed.

[1] http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=22162

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