26 #ifndef __vtkMRMLMarkupsStorageNode_h 27 #define __vtkMRMLMarkupsStorageNode_h 33 #define MARKUPS_BUFFER_SIZE 1024 40 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
46 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "MarkupsStorage";};
52 virtual void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
69 vtkGetMacro(CoordinateSystem,
int);
70 std::string GetCoordinateSystemAsString();
85 std::string ConvertStringToStorageFormat(std::string input);
86 std::string ConvertStringFromStorageFormat(std::string input);
98 virtual
void InitializeSupportedWriteFileTypes() VTK_OVERRIDE;
102 virtual
int ReadDataInternal(
vtkMRMLNode *refNode) VTK_OVERRIDE;
107 virtual
int WriteDataInternal(
vtkMRMLNode *refNode) VTK_OVERRIDE;
114 std::
string GetFirstQuotedString(
std::
string inputString,
size_t *endCommaPos);
122 int CoordinateSystem;
virtual void InitializeSupportedReadFileTypes()
virtual void ReadXMLAttributes(const char **atts) VTK_OVERRIDE
Read node attributes from XML file.
void operator=(const vtkMRMLStorageNode &)
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE=0
Create instance of the default node. Like New only virtual.
virtual void WriteXML(ostream &of, int indent) VTK_OVERRIDE
Write this node's information to a MRML file in XML format.
virtual void Copy(vtkMRMLNode *node) VTK_OVERRIDE
Copy the node's attributes to this object.
A supercalss 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