Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLSceneViewStorageNode.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: vtkMRMLSceneViewStorageNode.h,v $
10  Date: $Date: 2006/03/19 17:12:29 $
11  Version: $Revision: 1.3 $
12 
13 =========================================================================auto=*/
14 
15 #ifndef __vtkMRMLSceneViewStorageNode_h
16 #define __vtkMRMLSceneViewStorageNode_h
17 
18 #include "vtkMRMLStorageNode.h"
19 
23 class VTK_MRML_EXPORT vtkMRMLSceneViewStorageNode : public vtkMRMLStorageNode
24 {
25 public:
26  static vtkMRMLSceneViewStorageNode *New();
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
30  vtkMRMLNode* CreateNodeInstance() override;
31 
34  const char* GetNodeTagName() override {return "SceneViewStorage";}
35 
37  void InitializeSupportedReadFileTypes() override;
38 
40  void InitializeSupportedWriteFileTypes() override;
41 
43  bool CanReadInReferenceNode(vtkMRMLNode *refNode) override;
44 
45 protected:
47  ~vtkMRMLSceneViewStorageNode() override;
50 
54  int ReadDataInternal(vtkMRMLNode *refNode) override;
55 
59  int WriteDataInternal(vtkMRMLNode *refNode) override;
60 
61 };
62 
63 #endif
vtkMRMLNode * CreateNodeInstance() override=0
Create instance of the default node. Like New only virtual.
virtual int ReadDataInternal(vtkMRMLNode *refNode)
virtual void InitializeSupportedReadFileTypes()
void operator=(const vtkMRMLStorageNode &)
void PrintSelf(ostream &os, vtkIndent indent) override
A superclass for other storage nodes.
MRML node for model storage on disk.
virtual void InitializeSupportedWriteFileTypes()
virtual int WriteDataInternal(vtkMRMLNode *refNode)
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:167
virtual bool CanReadInReferenceNode(vtkMRMLNode *refNode)=0
const char * GetNodeTagName() override
Get node XML tag name (like Storage, Model)