BUG: fix incorrect function name in MultiVolumeImporter


git-svn-id: http://svn.slicer.org/Slicer4/trunk@22843 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: set the multivolume loadable name as requested by the caller


git-svn-id: http://svn.slicer.org/Slicer4/trunk@22844 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix crash in vtkMRMLAnnotationDisplayableManager

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22845 3bd1e089-480b-0410-8dfb-8563597acbee
COMP: Fix compilation error with ITKv3

MakeOutput expects a DataObjectPointerArraySizeType and not an integer.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22846 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Update SlicerExecutionModel - Add ParameterSerializer support

$ git shortlog 9202673..6956eb2b
Jean-Christophe Fillion-Robin (3):
      Merge pull request #20 from thewtex/parameter-serializer
      Merge pull request #22 from thewtex/find-jsoncpp
      Merge pull request #23 from thewtex/export-dep

Matt McCormick (5):
      ENH: Add GENERATE_TCLAP_ASSIGNMENT_IFSET generation.
      ENH: Add ParameterSerializer support.
      ENH: Add FindJsonCpp.cmake.
      BUG: Export the JsonCpp include directories in SlicerExecutionModelConfig.cmake.
      BUG: include ParameterSerializerConfig.cmake in SlicerExecutionModelConfig.cmake.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22847 3bd1e089-480b-0410-8dfb-8563597acbee
STYLE: slicer.util.reloadScriptedModule - Reorganized code comments

Minimize confusion by associating a single comment with each section
of code.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22848 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: slicer.util.reloadScriptedModule - Ensure cleanup function can be called

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22849 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix "Reload and Test" function

While commit r22839 re-factored the code associated with "Reload" function,
it also made the "Reload and Test" function fails.

This commit fixes the issue by setting the "<moduleName>" key into
the global dictionary of the reloaded module so that it can be
referenced in the "onReloadAndTest()" function.

Note that the overall approach to reload modules could be revisited to
leverage either the "rollback importer" method or a more sophisticated one
like the "python-reloader" [2][3]

Thanks to "Csaba Pinter <csaba.pinter@queensu.ca>" for reporting the issue.

[1] http://pyunit.sourceforge.net/notes/reloading.html
[2] http://www.indelible.org/ink/python-reloading/
[3] https://github.com/jparise/python-reloader

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22850 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: slicer.util - Add convenience method "modulePath(moduleName)"

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22851 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: MRMLLayoutManager - Add methods to all slice or 3D views

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22852 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Fix convenience method slicer.util.modulePath introduced in r22851

Since "eval" is executed in the context where it is called, the 'slicer'
module should be imported.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22853 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: slicer.util - Add convenience methods resetThreeDViews/resetSliceViews

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22854 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: slicer.util - Add VTKObservationMixin python convenience class

This class provides a convenience interface to keep track of VTK
observations.

Assuming you have a class Foo already deriving from class Bar, you could
do:

class Foo(Bar, VTKObservationMixin):
  def __init__(self):
    super(Foo, self).__init__()

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22855 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Make layoutManager() method in qMRMLLayoutWidget Q_INVOKABLE

To make it accessible from python

From: Csaba Pinter <csaba.pinter@queensu.ca>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22856 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Updating SimpleFilter remote module

This updates adds a check box to set output as LabelMap, A Restore
defaults button, and print of filter to be run in python code to set
filter.

$ git log --oneline fc1f06..3bc2f
3bc2fdc Adding button "Restore" defaults
0d27412 ENH: improving responsiveness of main_queue_process
51d14b7 STYLE: move apply bottom to match CLI interface
49ec882 ENH: print object oriented python code to create filter before running
5d0a528 ENH: When a labelmap input is selected the output changes to labelmap
aa7ddc5 Update node selector and checkbox with LabelMap state
d4a5116 move output box and labelmap checkbox to self variables
648f736 Adding CheckBox to set output volume as label map

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22857 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: avoid a warning dialog in Editor when scene is closed

The warning message was triggered because the validity of the
volume state is checked when nodes are added or removed from the
scene, but it doesn't make sense to warn about the missing master
volume if there is also no merge volume.

Thanks to Alexandra Prior for pointing this out.

http://slicer-users.65878.n3.nabble.com/Editor-td4027182.html

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22858 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: #3568 Fix warning message about missing files

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22859 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Set default value for slicer.util.loadLabelVolume 'properties' parameter

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22860 3bd1e089-480b-0410-8dfb-8563597acbee
ENH: Ensure qMRMLColorModel::ItemDataRole can be used from python

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22861 3bd1e089-480b-0410-8dfb-8563597acbee
BUG: Restore stored label when selecting editor effect different from erase

Selecting the "EraseLabel" effect was storing the current label into
the 'storedLabel' parameter node attribute but this one was never restored
when selecting an other effect.

This commit fix the issue by ensuring the stored label is restored and also
introduce two new functions: 'backupLabel' and 'restoreLabel'

Fixes #3576

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