6#ifndef __vtkMRMLAnnotationLinesStorageNode_h
7#define __vtkMRMLAnnotationLinesStorageNode_h
9#include "vtkSlicerAnnotationsModuleMRMLExport.h"
21 void PrintSelf(ostream& os, vtkIndent indent)
override;
31 void WriteXML(ostream& of,
int indent)
override;
vtkMRMLAnnotationControlPointsStorageNode()
vtkMRMLNode * CreateNodeInstance() override
Create instance of the default node. Like New only virtual.
void WriteXML(ostream &of, int indent) override
int ReadDataInternal(vtkMRMLNode *refNode) override
Read data and set it in the referenced node.
int WriteAnnotationLineDisplayProperties(fstream &of, vtkMRMLAnnotationLineDisplayNode *refNode, std::string preposition)
const char * GetNodeTagName() override
Get node XML tag name (like Storage, Model)
void Copy(vtkMRMLNode *node) override
Copy node contents from another node of the same type. Does not copy node ID and Scene....
bool CanReadInReferenceNode(vtkMRMLNode *refNode) override
Return true if the node can be read in.
vtkMRMLAnnotationLinesStorageNode(const vtkMRMLAnnotationLinesStorageNode &)
void operator=(const vtkMRMLAnnotationLinesStorageNode &)
vtkMRMLAnnotationLinesStorageNode()
int ReadAnnotationLinesProperties(vtkMRMLAnnotationLinesNode *refNode, char line[1024], int &typeColumn, int &startIDColumn, int &endIDColumn, int &selColumn, int &visColumn, int &numColumns)
const char * GetAnnotationStorageType()
~vtkMRMLAnnotationLinesStorageNode() override
int WriteAnnotationDataInternal(vtkMRMLNode *refNode, fstream &of) override
Write data from a referenced node into a passed stream.
void PrintSelf(ostream &os, vtkIndent indent) override
int WriteAnnotationLinesData(fstream &of, vtkMRMLAnnotationLinesNode *refNode)
int ReadAnnotationLinesData(vtkMRMLAnnotationLinesNode *refNode, char line[1024], int typeColumn, int startIDColumn, int endIDColumn, int selColumn, int visColumn, int numColumns)
int ReadAnnotationLineDisplayProperties(vtkMRMLAnnotationLineDisplayNode *refNode, std::string lineString, std::string preposition)
int WriteAnnotationLinesProperties(fstream &of, vtkMRMLAnnotationLinesNode *refNode)
int ReadAnnotation(vtkMRMLAnnotationLinesNode *refNode)
void ReadXMLAttributes(const char **atts) override
static vtkMRMLAnnotationLinesStorageNode * New()
Abstract Superclass for all specific types of MRML nodes.