BUG: #3040 build DCMTK as shared libraries

This avoids issues where dcmtk code is statically linked into more
than one shared library, meaning that some static initialization
and destructor code is being invoked more than once.  See the bug
report for details.

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

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21914 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: fix typo and warning in diffusion tensor scalars

One of the command line argument parsing options was misspelled.

Also there was an extra SetInput that caused a warning message.

Thanks to Vadim vadmalis@gmail.com for pointing this out.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21915 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Don't make qMRMLLabelComboBox a container in Qt Designer

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

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21917 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix volume rendering of lut

A slight offset was added to labels in Volume Rendering.
This was visible when having lots of labels.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21918 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add convenient function vtkSlicerVolumesLogic::SetVolumeAsLabelMap

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

Closes #2907

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

Closes #2908

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21921 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Observe scene after being populated

If a node is added into the scene while it is being populated
(updateScene() calls populateScene()), the added node might be added in
the wrong location and it might trigger modified event which confuse
the model.
Such added node can happen if a qMRMLNodeComboBox does not accept "None",
so it selects the first valid node as soon as it is added into the model
(by populateScene), selecting that node could trigger a node addition into
the scene (if someone observe the currentNodeChanged signal of the combobox).

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21922 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add vtkMRMLApplicationLogic::InvokeEventWithDelay()

This allows an event to be fired with a slight delay.

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

Convenient function that will be useful when observing parameter nodes.

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

There was no difference between a requested cancel and the module being
cancelled.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21925 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: Add comments to CLI node/logic/widget

Rename "Default" pushbutton into "Restore Defaults"

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21926 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Move CLI progress bar above Cancel/Apply buttons

It makes more sense to have all the CLI module controls to be grouped
together.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21927 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add vtkMRMLCommandLineModuleNode::SetAutoRun()

It gives the ability to automatically run a CLI when input parameters
changed.
Closes #2940

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21928 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add vtkMRMLCommandLineModuleNode::Cancel() to cancel from python

Use int as return type for GetStatus() because python can't get enum types.
Use Cancel() to request a cancelling.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21929 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Add support for AnyEvent observation in vtkEventBroker

The event ID was not propagated when observing any event.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21930 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Split AutoRun into AutoRun&AutoRunMode, add AutoRunOnOtherInputEvents

To limit confusion, split the AutoRun options from the AutoRun state (On/Off).
Add AutoRunOnOtherInputEvents to observe events other than ModifiedEvent.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21931 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Make qMRMLLabelComboBox::setMRMLColorNode a no-op if same node

is being set.
This prevents un-necessary cascade of events being triggered.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21932 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Fix CLI progress bar setup

The progress bar was only initialized on setDefaultValue when it should be
initialized everytime a new command line module node is selected.

See Issue #2988

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