15 #ifndef __vtkMRMLModelStorageNode_h 16 #define __vtkMRMLModelStorageNode_h 31 void PrintSelf(ostream& os, vtkIndent indent)
override;
43 void WriteXML(ostream& of,
int indent)
override;
50 vtkGetMacro(CoordinateSystem,
int);
51 static const char* GetCoordinateSystemAsString(
int id);
52 static int GetCoordinateSystemFromString(
const char* name);
75 static void ConvertBetweenRASAndLPS(vtkPointSet* inputMesh, vtkPointSet* outputMesh);
77 static int GetCoordinateSystemFromFileHeader(
const char* header);
79 static int GetCoordinateSystemFromFieldData(vtkPointSet* mesh);
vtkMRMLNode * CreateNodeInstance() override=0
Create instance of the default node. Like New only virtual.
virtual int ReadDataInternal(vtkMRMLNode *refNode)
MRML node to represent a 3D surface model.
virtual void InitializeSupportedReadFileTypes()
MRML node for model storage on disk.
void operator=(const vtkMRMLStorageNode &)
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file
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()
const char * GetNodeTagName() override
Get node XML tag name (like Storage, Model)
virtual int WriteDataInternal(vtkMRMLNode *refNode)
Abstract Superclass for all specific types of MRML nodes.
virtual bool CanReadInReferenceNode(vtkMRMLNode *refNode)=0