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";};
56 virtual
bool CanReadInReferenceNode(
vtkMRMLNode* refNode) VTK_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);
87 virtual
int ReadDataInternal(
vtkMRMLNode *refNode) VTK_OVERRIDE;
93 virtual
int ReadFromITKv3BSplineTransformFile(
vtkMRMLNode *refNode);
103 virtual
int ReadFromTransformFile(
vtkMRMLNode *refNode);
109 virtual
int ReadFromImageFile(
vtkMRMLNode *refNode);
112 virtual
int WriteDataInternal(
vtkMRMLNode *refNode) VTK_OVERRIDE;
116 virtual
int WriteToTransformFile(
vtkMRMLNode* refNode);
122 virtual
int WriteToImageFile(
vtkMRMLNode* refNode);
125 static
bool RegisterInverseTransformTypesCompleted;
129 int PreferITKv3CompatibleTransforms;
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 superclass for other storage nodes.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual void InitializeSupportedWriteFileTypes()
Abstract Superclass for all specific types of MRML nodes.