1. 24 Jun, 2012 1 commit
  2. 14 Jun, 2012 1 commit
    • finetjul's avatar
      ENH: Redesign ModifiedSinceRead · be2d5e78
      finetjul authored
      ModifiedSinceRead can no longer be set externally, it's the nodes themselves that computes it based on the last time the data was stored and on the modifications.
      ModifiedSinceRead is no longer a vtkMRMLNode property but a vtkMRMLStorableNode property.
      The storage nodes have been cleaned-up (factorized) in the process.
      At exit time, the scene is checked to see if it has been modified or if its storable nodes have been modified since read/write.
      
      Some other changes:
      Removed vtkMRMLModelNode::GetDefaultWriteFileExtension() it is a duplicate from vtkMRMLModelStorageNdoe::GetDefaultWriteFileExtension()
      Removed vtkMRMLColorNode::AddColorName() as it is not used and increase code complexity
      Removed vtkMRMLAnnotation*StorageNode::WriteData(vtkMRMLNode* refNode) as it was doing the same than vtkMRMLAnnotationStorageNode::WriteData(vtkMRMLNode* refNode)
      
      Remaining issues:
      The check on the modified scene is not perfect and can be fine tuned.
      The loading of annotations are marking the nodes as ModifiedSinceRead but it shouldn't.
      The loading of a vtkMRMLVolumePropertyNode from within a scene load incorrectly marks the node as ModifiedSinceRead
      
      
      git-svn-id: http://svn.slicer.org/Slicer4/trunk@20360 3bd1e089-480b-0410-8dfb-8563597acbee
      be2d5e78
  3. 07 Jun, 2012 1 commit
  4. 26 May, 2012 1 commit
  5. 12 Mar, 2012 1 commit
  6. 22 Feb, 2012 1 commit
  7. 27 Dec, 2011 3 commits
  8. 06 Dec, 2011 1 commit