Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLAnnotationSnapshotStorageNode.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: vtkMRMLAnnotationSnapshotStorageNode.h,v $
10  Date: $Date: 2006/03/19 17:12:29 $
11  Version: $Revision: 1.3 $
12 
13 =========================================================================auto=*/
17 
18 #ifndef __vtkMRMLAnnotationSnapshotStorageNode_h
19 #define __vtkMRMLAnnotationSnapshotStorageNode_h
20 
21 #include "vtkSlicerAnnotationsModuleMRMLExport.h"
22 #include "vtkMRMLStorageNode.h"
23 
24 class vtkImageData;
26 class VTK_SLICER_ANNOTATIONS_MODULE_MRML_EXPORT vtkMRMLAnnotationSnapshotStorageNode
27  : public vtkMRMLStorageNode
28 {
29 public:
32  virtual void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
33 
34  virtual vtkMRMLNode* CreateNodeInstance() VTK_OVERRIDE;
35 
37  virtual const char* GetNodeTagName() VTK_OVERRIDE {return "AnnotationSnapshotStorage";}
38 
40  virtual bool CanReadInReferenceNode(vtkMRMLNode* refNode) VTK_OVERRIDE;
41 protected:
46 
48  virtual void InitializeSupportedReadFileTypes() VTK_OVERRIDE;
49 
51  virtual void InitializeSupportedWriteFileTypes() VTK_OVERRIDE;
52 
54  virtual int ReadDataInternal(vtkMRMLNode *refNode) VTK_OVERRIDE;
55 
57  virtual int WriteDataInternal(vtkMRMLNode *refNode) VTK_OVERRIDE;
58 };
59 
60 #endif
61 
62 
63 
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