6 #ifndef __vtkMRMLAnnotationStorageNode_h 7 #define __vtkMRMLAnnotationStorageNode_h 9 #include "vtkSlicerAnnotationsModuleMRMLExport.h" 22 void PrintSelf(ostream& os, vtkIndent indent)
override;
44 int OpenFileToWrite(fstream& of);
48 int ReadAnnotationDisplayProperties(
vtkMRMLAnnotationDisplayNode *annotationDisplayNode, std::string lineString, std::string preposition);
51 int ReadAnnotationTextData(
vtkMRMLAnnotationNode *refNode,
char line[1024],
int typeColumn,
int textColumn,
int selColumn,
52 int visColumn,
int numColumns);
53 int ReadAnnotationTextProperties(
vtkMRMLAnnotationNode *annotationNode,
char line[1024],
int &typeColumn,
int& annotationColumn,
int& selColumn,
int& visColumn,
int& columnNumber);
58 int OpenFileToRead(fstream& of,
vtkMRMLNode *refNode);
73 virtual int WriteAnnotationDataInternal(
vtkMRMLNode *refNode, fstream &of);
vtkMRMLNode * CreateNodeInstance() override=0
Create instance of the default node. Like New only virtual.
virtual int ReadDataInternal(vtkMRMLNode *refNode)
const char * GetAnnotationStorageType()
virtual void InitializeSupportedReadFileTypes()
void operator=(const vtkMRMLStorageNode &)
void PrintSelf(ostream &os, vtkIndent indent) override
A superclass for other storage nodes.
virtual void InitializeSupportedWriteFileTypes()
virtual int WriteDataInternal(vtkMRMLNode *refNode)
Abstract Superclass for all specific types of MRML nodes.
virtual bool CanReadInReferenceNode(vtkMRMLNode *refNode)=0
const char * GetNodeTagName() override
Get node XML tag name (like Storage, Model)