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);
65 virtual
void InitializeSupportedWriteFileTypes() VTK_OVERRIDE;
68 virtual
int ReadDataInternal(
vtkMRMLNode *refNode) VTK_OVERRIDE;
71 virtual
int WriteDataInternal(
vtkMRMLNode *refNode) VTK_OVERRIDE;
73 virtual
int WriteAnnotationDataInternal(
vtkMRMLNode *refNode, fstream &of);
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 superclass for other storage nodes.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Abstract Superclass for all specific types of MRML nodes.
virtual bool CanReadInReferenceNode(vtkMRMLNode *refNode)=0