Difference between revisions of "Developer Meetings/20120522"

From Slicer Wiki
Jump to: navigation, search
Line 4: Line 4:
 
* meaning of vtkMRMLNode::ModifiedSinceRead
 
* meaning of vtkMRMLNode::ModifiedSinceRead
  
=== meaning of vtkMRMLNode::ModifiedSinceRead ===  
+
=== Meaning of vtkMRMLNode::ModifiedSinceRead ===  
 
<pre>
 
<pre>
 
From Julien - May 16, 2012:
 
From Julien - May 16, 2012:

Revision as of 22:22, 16 May 2012

Home < Developer Meetings < 20120522

Attendees:

To discuss

  • meaning of vtkMRMLNode::ModifiedSinceRead

Meaning of vtkMRMLNode::ModifiedSinceRead

From Julien - May 16, 2012:
What is the exact meaning of vtkMRMLNode::ModifiedSinceRead ?
From what I understand, it is a flag set to true if the "data" (e.g. vtkImageData, vtkPolyData) associated to the node has been modified since it has been set and observed.
Currently, this information is only used by the Save Data dialog to know if the "data" needs to be saved or not. In the future, I believe it should be used by the SceneView node to know when saving "data".
If my understanding is correct, then I don't understand your fix. Can you please comment ?
Also, wouldn't it make sense that ModifiedSinceRead becomes a vtkMRMLStorableNode property instead of a vtkMRMLNode property? 

Conclusion