15 #ifndef __vtkMRMLTransformStorageNode_h 16 #define __vtkMRMLTransformStorageNode_h 20 class vtkAbstractTransform;
31 void PrintSelf(ostream& os, vtkIndent indent)
override;
41 void WriteXML(ostream& of,
int indent)
override;
63 vtkGetMacro ( PreferITKv3CompatibleTransforms,
int );
64 vtkSetMacro ( PreferITKv3CompatibleTransforms,
int );
65 vtkBooleanMacro ( PreferITKv3CompatibleTransforms,
int );
76 virtual bool IsImageFile(
const std::string &filename);
84 virtual void SetAndObserveTransformFromParentAutoInvert(
vtkMRMLTransformNode* transformNode, vtkAbstractTransform *transform);
93 virtual int ReadFromITKv3BSplineTransformFile(
vtkMRMLNode *refNode);
103 virtual int ReadFromTransformFile(
vtkMRMLNode *refNode);
109 virtual int ReadFromImageFile(
vtkMRMLNode *refNode);
116 virtual int WriteToTransformFile(
vtkMRMLNode* refNode);
122 virtual int WriteToImageFile(
vtkMRMLNode* refNode);
vtkMRMLNode * CreateNodeInstance() override=0
Create instance of the default node. Like New only virtual.
virtual int ReadDataInternal(vtkMRMLNode *refNode)
void operator=(const vtkMRMLStorageNode &)
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 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()
virtual int WriteDataInternal(vtkMRMLNode *refNode)
Abstract Superclass for all specific types of MRML nodes.
virtual bool CanReadInReferenceNode(vtkMRMLNode *refNode)=0