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;
68 vtkGetMacro(CoordinateSystem,
int);
69 std::string GetCoordinateSystemAsString();
82 std::string ConvertStringToStorageFormat(std::string input);
83 std::string ConvertStringFromStorageFormat(std::string input);
95 virtual
void InitializeSupportedWriteFileTypes() VTK_OVERRIDE;
99 virtual
int ReadDataInternal(
vtkMRMLNode *refNode) VTK_OVERRIDE;
104 virtual
int WriteDataInternal(
vtkMRMLNode *refNode) VTK_OVERRIDE;
111 std::
string GetFirstQuotedString(
std::
string inputString,
size_t *endCommaPos);
119 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 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