Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLVolumePropertyStorageNode.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: vtkMRMLVolumePropertyStorageNode.h,v $
10  Date: $Date: 2006/03/19 17:12:29 $
11  Version: $Revision: 1.3 $
12 
13 =========================================================================auto=*/
17 
18 #ifndef __vtkMRMLVolumePropertyStorageNode_h
19 #define __vtkMRMLVolumePropertyStorageNode_h
20 
21 // VolumeRendering includes
22 #include "vtkSlicerVolumeRenderingModuleMRMLExport.h"
23 
24 // MRML includes
25 #include "vtkMRMLStorageNode.h"
26 
27 class vtkImageData;
28 
29 class VTK_SLICER_VOLUMERENDERING_MODULE_MRML_EXPORT vtkMRMLVolumePropertyStorageNode
30  : public vtkMRMLStorageNode
31 {
32  public:
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
37  vtkMRMLNode* CreateNodeInstance() override;
38 
41  const char* GetNodeTagName() override {return "VolumePropertyStorage";}
42 
44  bool CanReadInReferenceNode(vtkMRMLNode *refNode) override;
45 
46 protected:
51 
53  void InitializeSupportedReadFileTypes() override;
54 
56  void InitializeSupportedWriteFileTypes() override;
57 
59  int ReadDataInternal(vtkMRMLNode *refNode) override;
60 
62  int WriteDataInternal(vtkMRMLNode *refNode) override;
63 
64 };
65 
66 #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 &)
const char * GetNodeTagName() override
Get node XML tag name (like Storage, Transform)
void PrintSelf(ostream &os, vtkIndent indent) override
A superclass for other storage nodes.
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