Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLLinearTransformNode.h
Go to the documentation of this file.
1 /*=auto=========================================================================
2 
3  Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
4 
5  See COPYRIGHT.txt
6  or http://www.slicer.org/copyright/copyright.txt for details.
7 
8  Program: 3D Slicer
9  Module: $RCSfile: vtkMRMLLinearTransformNode.h,v $
10  Date: $Date: 2006/03/19 17:12:29 $
11  Version: $Revision: 1.13 $
12 
13 =========================================================================auto=*/
14 
15 #ifndef __vtkMRMLLinearTransformNode_h
16 #define __vtkMRMLLinearTransformNode_h
17 
18 #define TRANSFORM_NODE_MATRIX_COPY_REQUIRED
19 
20 #include "vtkMRMLTransformNode.h"
21 
22 class vtkMRMLStorageNode;
23 class vtkTransform;
24 class InternalTransformToParentMatrix;
25 
31 class VTK_MRML_EXPORT vtkMRMLLinearTransformNode : public vtkMRMLTransformNode
32 {
33  public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
38  vtkMRMLNode* CreateNodeInstance() override;
39 
42  void ReadXMLAttributes( const char** atts) override;
43 
46  void WriteXML(ostream& of, int indent) override;
47 
51 
54  const char* GetNodeTagName() override {return "LinearTransform";};
55 
59  {
61  };
62 
63 protected:
65  ~vtkMRMLLinearTransformNode() override;
68 };
69 
70 #endif
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
vtkMRMLNode * CreateNodeInstance() override
MRMLNode methods.
MRML node for representing a transformation between this node space and a parent node space...
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file
virtual vtkMRMLStorageNode * CreateDefaultStorageNode()
void PrintSelf(ostream &os, vtkIndent indent) override
MRML node for representing a linear transformation.
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
void operator=(const vtkMRMLTransformNode &)
A superclass for other storage nodes.
vtkMRMLStorageNode * CreateDefaultStorageNode() override
Create default storage node or nullptr if does not have one
#define vtkMRMLCopyContentDefaultMacro(thisClassName)
Definition: vtkMRMLNode.h:155
static vtkMRMLTransformNode * New()
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:167