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