Changesets: Import 2017-06-07 23:51:09

master 81fe99ef

2016-09-02 22:25:13

lassoan

Details Diff
BUG: Fixed module factoryManager loadModules

When trying to load an unregistered module, caused Slicer to crash
slicer.app.moduleManager().factoryManager().loadModules(['nonexisting'])

Replaced assert by pointer check and added some more checks.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25331 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Applications/SlicerApp/Testing/Cpp/qSlicerModuleFactoryManagerTest1.cxx Diff File
mod - Base/QTCore/qSlicerAbstractModuleFactoryManager.cxx Diff File

master ed1da2a9

2016-09-01 16:51:23

lassoan

Details Diff
ENH: Implemented missing AddEnabled, NoneEnabled logic for CLI GUI

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25330 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/QTCLI/qSlicerCLIModuleUIHelper.cxx Diff File
mod - Modules/CLI/ExecutionModelTour/ExecutionModelTour.xml Diff File

master dec099c7

2016-09-01 16:51:20

lassoan

Details Diff
ENH: Added option of specifying general transform as CLI output

Earlier transform node was an abstract class, so it was not possible to create one as an output node.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25329 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/QTCLI/qSlicerCLIModuleUIHelper.cxx Diff File

master 7cb83db0

2016-09-01 00:16:59

lassoan

Details Diff
STYLE: Replaced (someStdString == std::string("")) by (someStdString.empty())

They are functionally equivalent, but .empty() is shorter and simpler.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25328 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Libs/MRML/Core/vtkMRMLColorTableStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLDoubleArrayStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLFiducialListStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLFreeSurferModelOverlayStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLFreeSurferModelStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLHierarchyStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLModelStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLNRRDStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLProceduralColorStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLSceneViewStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLSegmentationStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLTableStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLUnstructuredGridStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLVolumeHeaderlessStorageNode.cxx Diff File
mod - Modules/Loadable/Annotations/MRML/vtkMRMLAnnotationFiducialsStorageNode.cxx Diff File
mod - Modules/Loadable/Annotations/MRML/vtkMRMLAnnotationSnapshotStorageNode.cxx Diff File
mod - Modules/Loadable/Annotations/MRML/vtkMRMLAnnotationStorageNode.cxx Diff File
mod - Modules/Loadable/Markups/MRML/vtkMRMLMarkupsFiducialStorageNode.cxx Diff File
mod - Modules/Loadable/VolumeRendering/MRML/vtkMRMLVolumePropertyStorageNode.cxx Diff File

master ba3008bf

2016-09-01 00:03:30

lassoan

Details Diff
ENH: Fixed false warnings during CLI execution

This warning was logged many times when a CLI module that had markups input/output was executed:

Warning: In C:\D\N\Slicer-1\Modules\Loadable\Markups\MRML\vtkMRMLMarkupsNode.cxx, line 1142
vtkMRMLMarkupsFiducialNode (000001682BBBE400): SetNthMarkupLabelFromStorage: no storage node to do the conversion!

It was because the GetNthMarkup*ForStorage and SetNthMarkup*FromStorage methods called the storage node, which
does not always exist.

As only the storage node calls GetNthMarkup*ForStorage and SetNthMarkup*FromStorage and
the necessary ConvertStringToStorageFormat and ConvertStringFromStorageFormat methods are already in storage node,
it is simpler to just call these converter methods directly in the storage node.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25327 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Loadable/Markups/MRML/vtkMRMLMarkupsFiducialStorageNode.cxx Diff File
mod - Modules/Loadable/Markups/MRML/vtkMRMLMarkupsFiducialStorageNode.h Diff File
mod - Modules/Loadable/Markups/MRML/vtkMRMLMarkupsNode.cxx Diff File
mod - Modules/Loadable/Markups/MRML/vtkMRMLMarkupsNode.h Diff File

master 9a69fda4

2016-08-31 11:30:03

lassoan

Details Diff
BUG: Fixed initialization of segmentation SH nodes

If a scene was saved without subject hierarchy (SH) nodes and then loaded into a Slicer app where automatic SH node creation is enabled,
SH nodes are now properly created for all segments.

Removed unnecessary warnings during scene load.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25326 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Libs/MRML/Core/vtkMRMLSegmentationNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLSegmentationNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLStorableNode.h Diff File
mod - Modules/Loadable/Segmentations/Logic/vtkSlicerSegmentationsModuleLogic.cxx Diff File
mod - Modules/Loadable/Segmentations/SubjectHierarchyPlugins/qSlicerSubjectHierarchySegmentationsPlugin.cxx Diff File
mod - Modules/Loadable/Segmentations/SubjectHierarchyPlugins/qSlicerSubjectHierarchySegmentationsPlugin.h Diff File
mod - Modules/Loadable/Segmentations/SubjectHierarchyPlugins/qSlicerSubjectHierarchySegmentsPlugin.cxx Diff File
mod - Modules/Loadable/SubjectHierarchy/Widgets/qSlicerSubjectHierarchyAbstractPlugin.h Diff File

master 9ecc48c7

2016-08-31 11:29:59

lassoan

Details Diff
BUG: Fixed non-saved node handling in scene save dialog

Storage nodes are not created anymore for nodes that will not be saved with the scene.
This avoids creation of unused storage nodes (and warnings during scene load).

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25325 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/QTGUI/qSlicerSaveDataDialog.cxx Diff File

master a958895c

2016-08-31 11:29:56

lassoan

Details Diff
ENH: Removed warning on scene close in qSlicerSubjectHierarchyModuleWidget

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25324 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Loadable/SubjectHierarchy/qSlicerSubjectHierarchyModuleWidget.cxx Diff File

master cfdf8cc5

2016-08-31 11:29:51

lassoan

Details Diff
ENH: Improved node saving and loading

This commit contains two changes, which might have been delivered as two separate commits, but they have been implemented at the same time
and modify the same files, therefore splitting them would be not easy.

1. Storable node can decide what is the most appropriate storage node, based on the requested file name and storable node content.

Implemented by adding vtkMRMLStorableNode::AddDefaultStorageNode, which creates most appropriate storage node class and adds it to the scene
(similarly to vtkMRMLDisplayableNode::CreateDisplayNodes()). Also added vtkMRMLStorableNode::GetDefaultStorageNodeClassName(), which allows
creating the right type of storage node depending on target filename and storable node content.

Now there is no more need for the model storage node "special case" in vtkSlicerApplicationLogic::ProcessReadNodeData.

Now current scene's CreateNodeInstance method can be used for storage node creation. The scene may contain customized default storage nodes
(e.g., storage node that uses a customized file extension or compression option), which are now taken into account.
For example, changing default model node saving extension can be achieved by this:

msn=slicer.vtkMRMLModelStorageNode()
msn.SetDefaultWriteFileExtension('stl')
slicer.mrmlScene.AddDefaultNode(msn)

Default nodes can be created from information stored in the application settings, so this allows
specifying default file saving format in the application settings (this is how default view options are configured already).

Having a method for creating and adding storage node as needed also simplifies vtkSlicerFiducialsLogic::AddFiducialList,
vtkMRMLColorNode::ReadXMLAttributes, vtkMRMLSceneViewNode::ReadXMLAttributes, vtkMRMLApplicationLogic::SaveSceneToSlicerDataBundleDirectory, etc.

2. Improved composite file extension support (.nii.gz, .seg.nrrd, ...)

Suitable file reader list in "Add data dialog" is populated using the most specific matched extension's reader.
For example, .nrrd is more specific than .*; .seg.nrrd is more specific than .nrrd. This allows correct deafult
selection. This allowed removing workarounds and special cases added for composite image file extensions (such as .nii.gz)
and .* wildcard. It also allows proper default selection for segmentation nodes (.seg.nrrd).
In the future, it could be used for removing workarounds added for guessing labelmaps, annotation ROI nodes, etc
(labelmap volumes could use .label.nrrd, annotation nodes could use something.roi.csv something.fid.csv, ... instead of
using ambiguous and/or non-standard file extensions such as .acsv or .fcsv).

Made file extension matching more robust: instead of using heuristics, such as assuming .gz means a composite file extension
and collecting all possible extension from all storage nodes; now extensions are verified/matched/removed by the specific
storage node that is responsible for reading/writing the node.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25323 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/Logic/vtkSlicerApplicationLogic.cxx Diff File
mod - Base/Logic/vtkSlicerFiducialsLogic.cxx Diff File
mod - Base/Python/slicer/tests/test_slicer_mgh.py Diff File
mod - Base/QTCore/Testing/Cxx/qSlicerCoreIOManagerTest1.cxx Diff File
mod - Base/QTCore/qSlicerCoreIOManager.cxx Diff File
mod - Base/QTCore/qSlicerCoreIOManager.h Diff File
mod - Base/QTCore/qSlicerFileReader.cxx Diff File
mod - Base/QTCore/qSlicerFileReader.h Diff File
mod - Base/QTGUI/qSlicerNodeWriter.cxx Diff File
mod - Base/QTGUI/qSlicerSaveDataDialog.cxx Diff File
mod - Libs/MRML/Core/Testing/CMakeLists.txt Diff File
add - Libs/MRML/Core/Testing/vtkMRMLSceneDefaultNodeTest.cxx Diff File
mod - Libs/MRML/Core/vtkDataFileFormatHelper.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLColorNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLModelNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLModelNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLSceneViewNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLStorableNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLStorableNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLStorageNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx Diff File
mod - Libs/MRML/Logic/vtkMRMLApplicationLogic.cxx Diff File
mod - Modules/Loadable/Data/qSlicerSceneWriter.cxx Diff File
mod - Modules/Loadable/Volumes/Logic/vtkSlicerVolumesLogic.cxx Diff File
mod - Modules/Loadable/Volumes/qSlicerVolumesIOOptionsWidget.cxx Diff File
mod - Modules/Loadable/Volumes/qSlicerVolumesReader.cxx Diff File

master 5b850dc5

2016-08-31 11:29:42

lassoan

Details Diff
BUG: Fixed segmentation GetModifiedSinceRead logic

Instead of trying to figure out modification by checking timestamps, update storage modified time whenever contents is changed
(content modified events are already observed anyway).

Also moved registration of Segmentation nodes into vtkMRMLScene - as it is done for all other MRML nodes stored in Libs/MRML/Core.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25322 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Libs/MRML/Core/vtkMRMLScene.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLSegmentationNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLSegmentationStorageNode.cxx Diff File
mod - Libs/vtkSegmentationCore/vtkSegment.cxx Diff File
mod - Libs/vtkSegmentationCore/vtkSegment.h Diff File
mod - Libs/vtkSegmentationCore/vtkSegmentation.cxx Diff File
mod - Libs/vtkSegmentationCore/vtkSegmentation.h Diff File
mod - Modules/Loadable/Segmentations/Logic/vtkSlicerSegmentationsModuleLogic.cxx Diff File
mod - Modules/Loadable/Segmentations/qSlicerSegmentationsReader.cxx Diff File

master 252050c5

2016-08-31 11:29:32

lassoan

Details Diff
ENH: Allow overriding deafult write file extension in storage nodes

Instead of hardcoding DefaultWriteFileExtension string, it is now stored in a member variable.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25321 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Libs/MRML/Core/Testing/vtkMRMLNodeTest1.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLColorTableStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLColorTableStorageNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLDoubleArrayStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLDoubleArrayStorageNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLFiducialListStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLFiducialListStorageNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLHierarchyStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLHierarchyStorageNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLMarkupsStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLMarkupsStorageNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLModelStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLModelStorageNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLNRRDStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLNRRDStorageNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLProceduralColorStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLProceduralColorStorageNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLSceneViewStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLSceneViewStorageNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLSegmentationStorageNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLStorageNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLTableSQLiteStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLTableSQLiteStorageNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLTableStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLTableStorageNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLTransformStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLTransformStorageNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLUnstructuredGridStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLUnstructuredGridStorageNode.h Diff File
mod - Libs/MRML/Core/vtkMRMLVolumeArchetypeStorageNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLVolumeArchetypeStorageNode.h Diff File
mod - Modules/Loadable/Annotations/MRML/vtkMRMLAnnotationSnapshotStorageNode.cxx Diff File
mod - Modules/Loadable/Annotations/MRML/vtkMRMLAnnotationSnapshotStorageNode.h Diff File
mod - Modules/Loadable/Annotations/MRML/vtkMRMLAnnotationStorageNode.cxx Diff File
mod - Modules/Loadable/Annotations/MRML/vtkMRMLAnnotationStorageNode.h Diff File
mod - Modules/Loadable/Markups/MRML/vtkMRMLMarkupsFiducialStorageNode.cxx Diff File
mod - Modules/Loadable/Markups/MRML/vtkMRMLMarkupsFiducialStorageNode.h Diff File
mod - Modules/Loadable/VolumeRendering/MRML/vtkMRMLVolumePropertyStorageNode.cxx Diff File
mod - Modules/Loadable/VolumeRendering/MRML/vtkMRMLVolumePropertyStorageNode.h Diff File

master defccc98

2016-08-31 10:32:16

pinter

Details Diff
BUG: Fixed 2D visualization issue with fractional labelmaps

When only the fill option was enabled without the outline, then the fill was "dilated", i.e. the 50% threshold was not applied. This now has been fixed.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25320 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Loadable/Segmentations/MRMLDM/vtkMRMLSegmentationsDisplayableManager2D.cxx Diff File

master 65c99492

2016-08-30 11:11:46

pinter

Details Diff
ENH: Add members to enable switching between fractional labelmap display types

When needed later, accessors can be added to change these members to switch from the default thresholded contour visualization to the continuous opacity one for 2D segmentation fractional labelmap display

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25319 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Loadable/Segmentations/MRMLDM/vtkMRMLSegmentationsDisplayableManager2D.cxx Diff File

master 1464b3f8

2016-08-29 19:02:51

jcfr

Details Diff
BUG: Fix vtkMRMLNonlinearTransformNodeTest1

This commit fixes the reading of ITKv3 transforms by addressing
a regression introduced in r24875 (BUG: Fix transform tests by not
using dynamic_cast in vtkITKTransformConverter)

It basically ensures that executable created using compiler (e.g g++4.4.3)
[not supporting the use of dynamic_cast with templated classes instantiated
in a translation unit different than the one where they are defined] still
work as expected.

See 0004139

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25318 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Libs/MRML/Core/vtkITKTransformConverter.h Diff File

master 616f7d91

2016-08-29 14:29:01

lassoan

Details Diff
BUG: Fixed selection of output files in CLI module GUI

It was only possible to select an existing file as output file.
Also, supported file extensions were ignored.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25317 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/QTCLI/qSlicerCLIModuleUIHelper.cxx Diff File
mod - Modules/CLI/ExecutionModelTour/ExecutionModelTour.cxx Diff File
mod - Modules/CLI/ExecutionModelTour/ExecutionModelTour.xml Diff File

master 7b432979

2016-08-26 15:53:23

pinter

Details Diff
STYLE: Added wiki page link to Segment Editor

Also changed a debug message to be less confusing.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25316 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Loadable/Segmentations/SubjectHierarchyPlugins/qSlicerSubjectHierarchySegmentationsPlugin.cxx Diff File
mod - Modules/Scripted/SegmentEditor/SegmentEditor.py Diff File

master e8f46f84

2016-08-26 15:44:15

pinter

Details Diff
ENH: Fractional labelmap display in Segmentations

This commit modifies the displayable manager in Segmentations to allow an image data containing a range of scalar values to be visualized/interpolated, allowing fractional labelmaps to be displayed correctly.

From: Kyle Sunderland <1krs1@queensu.ca>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25315 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Loadable/Segmentations/MRMLDM/vtkMRMLSegmentationsDisplayableManager2D.cxx Diff File
mod - Modules/Loadable/Segmentations/MRMLDM/vtkMRMLSegmentationsDisplayableManager2D.h Diff File

master b2635534

2016-08-26 09:32:33

jcfr

Details Diff
COMP: Fix download of pydicom using valid URL

This commit re-enables download of pydicom. It started to fail either because
the package has been explicitly removed from googlecode or because google
is shutting down the system as explained in [1]. Either way, download should
now be fixed.

[1] https://google-opensource.blogspot.com/2015/03/farewell-to-google-code.html

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25314 3bd1e089-480b-0410-8dfb-8563597acbee
mod - SuperBuild/External_python-pydicom.cmake Diff File

master 9b375df7

2016-08-25 17:53:50

lassoan

Details Diff
ENH: Improve compatibility of Segmentations saved in nrrd file

Extent of images stored in NRRD files always start from (0,0,0).
To be able to save/restore arbitrary extents, a private field (Segmentation_Extent) was used.
However, external software packages that ignored this private field did not display the segments in correct position.

The space origin is now set so that if the private Segmentation_ReferenceImageExtentOffset field is ignored, the segments
still appear in correct physical position. If Slicer reads the segmentation, it restores the extent by setting the extent
start to Segmentation_ReferenceImageExtentOffset and shifting back the image origin to the original position.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25313 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Libs/MRML/Core/vtkMRMLSegmentationStorageNode.cxx Diff File

master 33bd9c04

2016-08-25 17:53:48

lassoan

Details Diff
BUG: Fixed crash on exit

qSlicerLabelMapVolumeDisplayWidgetPrivate::VolumeNode pointer has become invalid during scene close and caused crash.

In general, widgets should never use simple pointers to refer to MRML nodes, as nodes may be deleted any time and the widget may not get notified about it while the scene is closing.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25312 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Loadable/Volumes/Widgets/qSlicerLabelMapVolumeDisplayWidget.cxx Diff File

master dfabf733

2016-08-25 11:40:09

jcfr

Details Diff
BUG: ExtensionBuildSystem: Fix tests builing extensions in deterministic order

This commit fixes the following tests on factory-south-ubuntu:

py_cmake_slicer_extensions_index_build_with_upload
py_cmake_slicer_extensions_index_build_with_upload_using_ctest

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25311 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Extensions/CMake/Testing/SlicerExtensionBuildSystemTest.py Diff File

master ea58972c

2016-08-24 10:46:33

lassoan

Details Diff
BUG: Fixed surface representation update for empty segments

When a labelmap master representation was cleared, the polydata representation was not updated
(conversion reported to be failed). An empty labelmap is a valid input, changed behavior to
produce an empty polydata.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25310 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Libs/vtkSegmentationCore/vtkBinaryLabelmapToClosedSurfaceConversionRule.cxx Diff File

master 91ad70ee

2016-08-24 10:46:30

lassoan

Details Diff
ENH: Improved Segment Editor effects layout

Logical, margin, smoothing effects has been updated.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25309 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Loadable/Segmentations/EditorEffects/Python/SegmentEditorLogicalEffect.py Diff File
mod - Modules/Loadable/Segmentations/EditorEffects/Python/SegmentEditorMarginEffect.py Diff File
mod - Modules/Loadable/Segmentations/EditorEffects/Python/SegmentEditorSmoothingEffect.py Diff File

master 358e6789

2016-08-24 10:46:27

lassoan

Details Diff
ENH: Added segmentation support to slicer.util.py

Added loadSegmentation() and openAddSegmentationDialog() utility scripts.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25308 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/Python/slicer/util.py Diff File

master 8a99e73f

2016-08-23 23:58:20

lassoan

Details Diff
BUG: Fixed vtkSegmentationHistory::SetMaximumNumberOfStates

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25307 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Libs/vtkSegmentationCore/vtkSegmentationHistory.cxx Diff File
 First  Prev  1 2 3 ... 10 ... 20 ... 27 28 29 30 31 32 33 ... 40 ... 50 ... 60 ... 70 ... 80 ... 90 ... 100 ... 110 ... 120 ... 130 ... 133 134 135  Next  Last