6 #ifndef __vtkMRMLAnnotationStorageNode_h 7 #define __vtkMRMLAnnotationStorageNode_h 9 #include "vtkSlicerAnnotationsModuleMRMLExport.h" 22 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
28 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "AnnotationStorage";}
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);
virtual int ReadDataInternal(vtkMRMLNode *refNode)
const char * GetAnnotationStorageType()
virtual void InitializeSupportedReadFileTypes()
void operator=(const vtkMRMLStorageNode &)
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE=0
Create instance of the default node. Like New only virtual.
A supercalss for other storage nodes.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual void InitializeSupportedWriteFileTypes()
virtual int WriteDataInternal(vtkMRMLNode *refNode)
Abstract Superclass for all specific types of MRML nodes.
virtual bool CanReadInReferenceNode(vtkMRMLNode *refNode)=0