Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
vtkMRMLHierarchyStorageNode.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: vtkMRMLHierarchyStorageNode.h,v $
10 Date: $Date: 2006/03/19 17:12:29 $
11 Version: $Revision: 1.8 $
12
13=========================================================================auto=*/
14
15#ifndef __vtkMRMLHierarchyStorageNode_h
16#define __vtkMRMLHierarchyStorageNode_h
17
18#include "vtkMRMLStorageNode.h"
19
25class VTK_MRML_EXPORT vtkMRMLHierarchyStorageNode : public vtkMRMLStorageNode
26{
27public:
30 void PrintSelf(ostream& os, vtkIndent indent) override;
31
33
34 // Description:
35 // Get node XML tag name (like Storage, Model)
36 const char* GetNodeTagName() override { return "HierarchyStorage"; }
37
39 bool CanReadInReferenceNode(vtkMRMLNode* refNode) override;
40
41protected:
46
47 // Initialize all the supported read file types
49
50 // Initialize all the supported write file types
52
53 // Read data and set it in the referenced node
54 int ReadDataInternal(vtkMRMLNode* refNode) override;
55
56 // Write data from a referenced node
57 int WriteDataInternal(vtkMRMLNode* refNode) override;
58};
59
60#endif
static vtkMRMLHierarchyStorageNode * New()
vtkMRMLNode * CreateNodeInstance() override
Create instance of the default node. Like New only virtual.
vtkMRMLHierarchyStorageNode(const vtkMRMLHierarchyStorageNode &)
const char * GetNodeTagName() override
Get node XML tag name (like Storage, Model)
void InitializeSupportedWriteFileTypes() override
void operator=(const vtkMRMLHierarchyStorageNode &)
void InitializeSupportedReadFileTypes() override
int WriteDataInternal(vtkMRMLNode *refNode) override
int ReadDataInternal(vtkMRMLNode *refNode) override
void PrintSelf(ostream &os, vtkIndent indent) override
bool CanReadInReferenceNode(vtkMRMLNode *refNode) override
Return true if reference node can be read in.
~vtkMRMLHierarchyStorageNode() override