15 #ifndef __vtkMRMLStorableNode_h 16 #define __vtkMRMLStorableNode_h 37 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
50 virtual const
char* GetNodeTagName() VTK_OVERRIDE = 0;
54 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
58 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
66 virtual
void UpdateScene(
vtkMRMLScene *scene) VTK_OVERRIDE;
70 virtual
void ProcessMRMLEvents ( vtkObject * ,
72 void * ) VTK_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 = NULL);
119 virtual
bool AddDefaultStorageNode(const
char* filename = NULL);
134 virtual
bool GetModifiedSinceRead();
139 virtual
void StorableModified();
147 static const
char* StorageNodeReferenceRole;
148 static const
char* StorageNodeReferenceMRMLAttributeName;
150 virtual const
char* GetStorageNodeReferenceRole();
151 virtual const
char* GetStorageNodeReferenceMRMLAttributeName();
158 std::
string SlicerDataType;
167 virtual vtkTimeStamp GetStoredTime();
177 vtkTimeStamp StorableModifiedTime;
virtual vtkMRMLNode * CreateNodeInstance()=0
Create instance of the default node. Like New only virtual.
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.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Abstract Superclass for all specific types of MRML nodes.