Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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
24class vtkImageData;
25class VTK_SLICER_ANNOTATIONS_MODULE_MRML_EXPORT vtkMRMLAnnotationSnapshotStorageNode
26 : public vtkMRMLStorageNode
27{
28public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
34
36 const char* GetNodeTagName() override {return "AnnotationSnapshotStorage";}
37
39 bool CanReadInReferenceNode(vtkMRMLNode* refNode) override;
40protected:
45
48
51
53 int ReadDataInternal(vtkMRMLNode *refNode) override;
54
56 int WriteDataInternal(vtkMRMLNode *refNode) override;
57};
58
59#endif
vtkMRMLNode * CreateNodeInstance() override
Create instance of the default node. Like New only virtual.
void PrintSelf(ostream &os, vtkIndent indent) override
void operator=(const vtkMRMLAnnotationSnapshotStorageNode &)
void InitializeSupportedWriteFileTypes() override
Initialize all the supported write file types.
const char * GetNodeTagName() override
Get node XML tag name (like Storage, Model)
vtkMRMLAnnotationSnapshotStorageNode(const vtkMRMLAnnotationSnapshotStorageNode &)
int WriteDataInternal(vtkMRMLNode *refNode) override
Write data from a referenced node.
int ReadDataInternal(vtkMRMLNode *refNode) override
Read data and set it in the referenced node.
bool CanReadInReferenceNode(vtkMRMLNode *refNode) override
Return true if the node can be read in.
static vtkMRMLAnnotationSnapshotStorageNode * New()
void InitializeSupportedReadFileTypes() override
Initialize all the supported read file types.