Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
vtkMRMLVolumeSequenceStorageNode.h
Go to the documentation of this file.
1/*==============================================================================
2
3 Program: 3D Slicer
4
5 Copyright (c) Children's Hospital of Philadelphia, USA. All Rights Reserved.
6
7 See COPYRIGHT.txt
8 or http://www.slicer.org/copyright/copyright.txt for details.
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15
16 This file was originally developed by Csaba Pinter, Ebatinca, funded
17 by the grant GRT-00000485 of Children's Hospital of Philadelphia, USA.
18
19==============================================================================*/
20
23
24#ifndef __vtkMRMLVolumeSequenceStorageNode_h
25#define __vtkMRMLVolumeSequenceStorageNode_h
26
27#include "vtkMRML.h"
28
29#include "vtkMRMLStorageNode.h"
30#include <string>
31
47
49{
50public:
53
55
58 const char* GetNodeTagName() override { return "VolumeSequenceStorage"; };
59
61 std::string GetTypeDisplayName() override { return vtkMRMLTr("vtkMRMLVolumeSequenceStorageNode", "Volume Sequence Storage"); };
62
64 bool CanReadInReferenceNode(vtkMRMLNode* refNode) override;
65
67 bool CanWriteFromReferenceNode(vtkMRMLNode* refNode) override;
68
73 int WriteDataInternal(vtkMRMLNode* refNode) override;
74
77 const char* GetDefaultWriteFileExtension() override;
78
79protected:
84
92 int ReadDataInternal(vtkMRMLNode* refNode) override;
93
96
99};
100
101#endif
std::string GetTypeDisplayName() override
Get node type to be displayed to the user.
static vtkMRMLVolumeSequenceStorageNode * New()
vtkMRMLNode * CreateNodeInstance() override
Create instance of the default node. Like New only virtual.
void InitializeSupportedWriteFileTypes() override
Initialize all the supported write file types.
void InitializeSupportedReadFileTypes() override
Initialize all the supported write file types.
void operator=(const vtkMRMLVolumeSequenceStorageNode &)
bool CanReadInReferenceNode(vtkMRMLNode *refNode) override
Return true if this class can read the node.
int ReadDataInternal(vtkMRMLNode *refNode) override
const char * GetDefaultWriteFileExtension() override
Return a default file extension for writing.
const char * GetNodeTagName() override
Get node XML tag name (like Storage, Model)
int WriteDataInternal(vtkMRMLNode *refNode) override
vtkMRMLVolumeSequenceStorageNode(const vtkMRMLVolumeSequenceStorageNode &)
bool CanWriteFromReferenceNode(vtkMRMLNode *refNode) override
Return true if this class can write the node.
#define vtkMRMLTr(context, sourceText)
Translation function used in MRML classes.