15 #ifndef __vtkMRMLStorableNode_h 16 #define __vtkMRMLStorableNode_h 37 void PrintSelf(ostream& os, vtkIndent indent)
override;
58 void WriteXML(ostream& of,
int indent)
override;
76 void SetAndObserveStorageNodeID(
const char *storageNodeID);
77 void AddAndObserveStorageNodeID(
const char *storageNodeID);
78 void SetAndObserveNthStorageNodeID(
int n,
const char *storageNodeID);
82 bool HasStorageNodeID(
const char* storageNodeID);
92 void SetSlicerDataType (
const char *type );
93 const char *GetSlicerDataType ();
95 int GetNumberOfStorageNodes();
96 const char *GetNthStorageNodeID(
int n);
97 const char *GetStorageNodeID();
115 virtual std::string GetDefaultStorageNodeClassName(
const char* filename =
nullptr);
119 virtual bool AddDefaultStorageNode(
const char* filename =
nullptr);
140 virtual bool GetModifiedSinceRead();
145 virtual void StorableModified();
156 virtual const char* GetStorageNodeReferenceRole();
157 virtual const char* GetStorageNodeReferenceMRMLAttributeName();
173 virtual vtkTimeStamp GetStoredTime();
static const char * StorageNodeReferenceMRMLAttributeName
virtual void ReadXMLAttributes(const char **atts)
void operator=(const vtkMRMLNode &)
virtual vtkMRMLNode * CreateNodeInstance()=0
Create instance of the default node. Like New only virtual.
virtual void ProcessMRMLEvents(vtkObject *caller, unsigned long event, void *callData)
Propagate events generated in mrml.
MRML node to represent a 3D surface model.
A set of MRML Nodes that supports serialization and undo/redo.
A superclass for other storage nodes.
virtual void WriteXML(ostream &of, int indent)
std::string SlicerDataType
void PrintSelf(ostream &os, vtkIndent indent) override
#define vtkMRMLCopyContentMacro(thisClassName)
vtkTimeStamp StorableModifiedTime
virtual const char * GetNodeTagName()=0
Abstract Superclass for all specific types of MRML nodes.
vtkTagTable * UserTagTable
static const char * StorageNodeReferenceRole
virtual void UpdateScene(vtkMRMLScene *)