26 #ifndef __vtkMRMLMarkupsStorageNode_h 27 #define __vtkMRMLMarkupsStorageNode_h 33 #define MARKUPS_BUFFER_SIZE 1024 40 void PrintSelf(ostream& os, vtkIndent indent)
override;
52 void WriteXML(ostream& of,
int indent)
override;
61 vtkGetMacro(CoordinateSystem,
int);
62 std::string GetCoordinateSystemAsString();
63 static const char* GetCoordinateSystemAsString(
int id);
64 static int GetCoordinateSystemFromString(
const char* name);
77 std::string ConvertStringToStorageFormat(std::string input);
78 std::string ConvertStringFromStorageFormat(std::string input);
106 std::string GetFirstQuotedString(std::string inputString,
size_t *endCommaPos);
114 int CoordinateSystem;
vtkMRMLNode * CreateNodeInstance() override=0
Create instance of the default node. Like New only virtual.
virtual int ReadDataInternal(vtkMRMLNode *refNode)
const char * GetNodeTagName() override
Get node XML tag name (like Storage, Model)
virtual void InitializeSupportedReadFileTypes()
void operator=(const vtkMRMLStorageNode &)
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file
void Copy(vtkMRMLNode *node) override
Copy the node's attributes to this object
void PrintSelf(ostream &os, vtkIndent indent) override
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
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