Import 2017-06-07 23:51:09: master cfdf8cc5
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
lassoan | lassoan | master | 2016-08-31 11:29:51 | master 5b850dc5 |
Changeset | 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
Implemented by adding vtkMRMLStorableNode::AddDefaultStorageNode, which creates most appropriate storage node class and adds it to the scene 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 msn=slicer.vtkMRMLModelStorageNode() Default nodes can be created from information stored in the application settings, so this allows Having a method for creating and adding storage node as needed also simplifies vtkSlicerFiducialsLogic::AddFiducialList,
Suitable file reader list in "Add data dialog" is populated using the most specific matched extension's reader. Made file extension matching more robust: instead of using heuristics, such as assuming .gz means a composite file extension 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 |