Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLFiducialListStorageNode.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: vtkMRMLFiducialListStorageNode.h,v $
10  Date: $Date: 2006/03/19 17:12:29 $
11  Version: $Revision: 1.8 $
12 
13 =========================================================================auto=*/
14 
15 #ifndef __vtkMRMLFiducialListStorageNode_h
16 #define __vtkMRMLFiducialListStorageNode_h
17 
18 #include "vtkMRMLStorageNode.h"
19 
27 class VTK_MRML_EXPORT vtkMRMLFiducialListStorageNode
28  : public vtkMRMLStorageNode
29 {
30 public:
34  static vtkMRMLFiducialListStorageNode *New();
36  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
37 
38  virtual vtkMRMLNode* CreateNodeInstance() VTK_OVERRIDE;
39 
42  virtual const char* GetNodeTagName() VTK_OVERRIDE {return "FiducialListStorage";}
43 
45  vtkGetMacro(Version, int);
46  vtkSetMacro(Version, int);
47 
48  virtual bool CanReadInReferenceNode(vtkMRMLNode *refNode) VTK_OVERRIDE;
49 
50 protected:
55 
57  virtual void InitializeSupportedReadFileTypes() VTK_OVERRIDE;
58 
60  virtual void InitializeSupportedWriteFileTypes() VTK_OVERRIDE;
61 
63  virtual int ReadDataInternal(vtkMRMLNode *refNode) VTK_OVERRIDE;
64 
66  virtual int WriteDataInternal(vtkMRMLNode *refNode) VTK_OVERRIDE;
67 
69  // version 1 has the old glyph numbering (pre svn 12553), starting at 0
70  // version 2 has the new glyph numbering, starting at 1
71  int Version;
72 };
73 
74 #endif
75 
76 
77 
MRML node for handling fiducial list storage.
virtual int ReadDataInternal(vtkMRMLNode *refNode)
virtual void InitializeSupportedReadFileTypes()
void operator=(const vtkMRMLStorageNode &)
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE=0
Create instance of the default node. Like New only virtual.
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.
Definition: vtkMRMLNode.h:135
virtual bool CanReadInReferenceNode(vtkMRMLNode *refNode)=0