6 #ifndef __vtkMRMLAnnotationRulerStorageNode_h 7 #define __vtkMRMLAnnotationRulerStorageNode_h 9 #include "vtkSlicerAnnotationsModuleMRMLExport.h" 21 void PrintSelf(ostream& os, vtkIndent indent)
override;
32 void WriteXML(ostream& of,
int indent)
override;
61 int ReadAnnotationRulerData(
vtkMRMLAnnotationRulerNode *refNode,
char line[1024],
int typeColumn,
int line1IDColumn,
int selColumn,
int visColumn,
int numColumns);
62 int ReadAnnotationRulerProperties(
vtkMRMLAnnotationRulerNode *refNode,
char line[1024],
int &typeColumn,
int& line1IDColumn,
int& selColumn,
int& visColumn,
int& numColumns);
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file
bool CanReadInReferenceNode(vtkMRMLNode *refNode) override
Return true if the node can be read in.
void Copy(vtkMRMLNode *node) override
Copy the node's attributes to this object
void PrintSelf(ostream &os, vtkIndent indent) override
int ReadAnnotation(vtkMRMLAnnotationLinesNode *refNode)
void operator=(const vtkMRMLAnnotationLinesStorageNode &)
const char * GetNodeTagName() override
Get node XML tag name (like Storage, Model)
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
int WriteAnnotationDataInternal(vtkMRMLNode *refNode, fstream &of) override
Write data from a referenced node into a passed stream.
vtkMRMLNode * CreateNodeInstance() override
Create instance of the default node. Like New only virtual.
static vtkMRMLAnnotationLinesStorageNode * New()
int ReadDataInternal(vtkMRMLNode *refNode) override
Read data and set it in the referenced node.
Abstract Superclass for all specific types of MRML nodes.
const char * GetAnnotationStorageType()