23 #ifndef __vtkMRMLMarkupsJsonStorageNode_h 24 #define __vtkMRMLMarkupsJsonStorageNode_h 27 #include "vtkSlicerMarkupsModuleMRMLExport.h" 39 void PrintSelf(ostream& os, vtkIndent indent)
override;
44 vtkMRMLMarkupsNode* AddNewMarkupsNodeFromFile(
const char* filePath,
const char* nodeName=
nullptr,
int markupIndex=0);
54 void WriteXML(ostream& of,
int indent)
override;
63 void GetMarkupsTypesInFile(
const char* filePath, std::vector<std::string>& outputMarkupsTypes);
85 friend class vtkInternal;
vtkMRMLNode * CreateNodeInstance() override=0
Create instance of the default node. Like New only virtual.
bool CanReadInReferenceNode(vtkMRMLNode *refNode) override
virtual int ReadDataInternal(vtkMRMLNode *refNode)
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.
virtual void InitializeSupportedReadFileTypes()
virtual void InitializeSupportedWriteFileTypes()
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.
virtual int WriteDataInternal(vtkMRMLNode *refNode)
Abstract Superclass for all specific types of MRML nodes.
void PrintSelf(ostream &os, vtkIndent indent) override
void operator=(const vtkMRMLMarkupsStorageNode &)