15 #ifndef __vtkMRMLTransformStorageNode_h 16 #define __vtkMRMLTransformStorageNode_h 20 class vtkAbstractTransform;
31 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
37 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
41 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
45 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "TransformStorage";};
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);
virtual int ReadDataInternal(vtkMRMLNode *refNode)
void operator=(const vtkMRMLStorageNode &)
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE=0
Create instance of the default node. Like New only virtual.
virtual void Copy(vtkMRMLNode *node) VTK_OVERRIDE
Copy the node's attributes to this object.
A supercalss for other storage nodes.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual void InitializeSupportedWriteFileTypes()
virtual int WriteDataInternal(vtkMRMLNode *refNode)
Abstract Superclass for all specific types of MRML nodes.
virtual bool CanReadInReferenceNode(vtkMRMLNode *refNode)=0