forked from Slicer/SlicerGitSVNArchive
-
Notifications
You must be signed in to change notification settings - Fork 2
/
vtkMRMLGridTransformNode.h
56 lines (42 loc) · 1.82 KB
/
vtkMRMLGridTransformNode.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*=auto=========================================================================
Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Program: 3D Slicer
Module: $RCSfile: vtkMRMLGridTransformNode.h,v $
Date: $Date: 2006/03/19 17:12:29 $
Version: $Revision: 1.13 $
=========================================================================auto=*/
#ifndef __vtkMRMLGridTransformNode_h
#define __vtkMRMLGridTransformNode_h
#include "vtkMRMLTransformNode.h"
/// \brief MRML node for representing a nonlinear transformation to the parent node using a grid transform.
///
/// MRML node for representing a nonlinear transformation to the parent
/// node in the form of a vtkOrientedGridTransform.
class VTK_MRML_EXPORT vtkMRMLGridTransformNode : public vtkMRMLTransformNode
{
public:
static vtkMRMLGridTransformNode *New();
vtkTypeMacro(vtkMRMLGridTransformNode,vtkMRMLTransformNode);
void PrintSelf(ostream& os, vtkIndent indent) override;
vtkMRMLNode* CreateNodeInstance() override;
///
/// Read node attributes from XML file
void ReadXMLAttributes( const char** atts) override;
///
/// Write this node's information to a MRML file in XML format.
void WriteXML(ostream& of, int indent) override;
/// Copy node content (excludes basic data, such as name and node references).
/// \sa vtkMRMLNode::CopyContent
vtkMRMLCopyContentDefaultMacro(vtkMRMLGridTransformNode);
///
/// Get node XML tag name (like Volume, Model)
const char* GetNodeTagName() override {return "GridTransform";}
protected:
vtkMRMLGridTransformNode();
~vtkMRMLGridTransformNode() override;
vtkMRMLGridTransformNode(const vtkMRMLGridTransformNode&);
void operator=(const vtkMRMLGridTransformNode&);
};
#endif