Slicer
4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Libs
MRML
Core
vtkMRMLScalarVolumeNode.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: vtkMRMLVolumeNode.h,v $
10
Date: $Date: 2006/03/19 17:12:29 $
11
Version: $Revision: 1.13 $
12
13
=========================================================================auto=*/
14
15
#ifndef __vtkMRMLScalarVolumeNode_h
16
#define __vtkMRMLScalarVolumeNode_h
17
18
// MRML includes
19
#include "
vtkMRMLVolumeNode.h
"
20
class
vtkMRMLScalarVolumeDisplayNode
;
21
class
vtkCodedEntry
;
22
34
class
VTK_MRML_EXPORT
vtkMRMLScalarVolumeNode
:
public
vtkMRMLVolumeNode
35
{
36
public
:
37
static
vtkMRMLScalarVolumeNode
*New();
38
vtkTypeMacro(
vtkMRMLScalarVolumeNode
,
vtkMRMLVolumeNode
);
39
void
PrintSelf
(ostream& os, vtkIndent indent)
override
;
40
41
vtkMRMLNode
*
CreateNodeInstance
()
override
;
42
45
void
ReadXMLAttributes
(
const
char
** atts)
override
;
46
49
void
WriteXML
(ostream& of,
int
indent)
override
;
50
53
vtkMRMLCopyContentDefaultMacro
(
vtkMRMLScalarVolumeNode
);
54
57
const
char
*
GetNodeTagName
()
override
{
return
"Volume"
;}
58
61
static
void
CreateNoneNode(
vtkMRMLScene
*scene);
62
65
virtual
vtkMRMLScalarVolumeDisplayNode
* GetScalarVolumeDisplayNode();
66
69
vtkMRMLStorageNode
*
CreateDefaultStorageNode
()
override
;
70
73
void
CreateDefaultDisplayNodes
()
override
;
74
76
vtkMRMLStorageNode
*
CreateDefaultSequenceStorageNode
()
override
;
77
80
void
SetVoxelValueQuantity(
vtkCodedEntry
*);
81
vtkGetObjectMacro(VoxelValueQuantity,
vtkCodedEntry
);
82
87
void
SetVoxelValueUnits(
vtkCodedEntry
*);
88
vtkGetObjectMacro(VoxelValueUnits,
vtkCodedEntry
);
89
90
protected
:
91
vtkMRMLScalarVolumeNode
();
92
~
vtkMRMLScalarVolumeNode
()
override
;
93
vtkMRMLScalarVolumeNode
(
const
vtkMRMLScalarVolumeNode
&);
94
void
operator=
(
const
vtkMRMLScalarVolumeNode
&);
95
96
vtkCodedEntry
* VoxelValueQuantity{
nullptr
};
97
vtkCodedEntry
* VoxelValueUnits{
nullptr
};
98
};
99
100
#endif
vtkMRMLVolumeNode::WriteXML
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
vtkMRMLVolumeNode.h
vtkMRMLStorableNode::CreateDefaultStorageNode
virtual vtkMRMLStorageNode * CreateDefaultStorageNode()
vtkMRMLVolumeNode::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkMRMLVolumeNode::CreateNodeInstance
vtkMRMLNode * CreateNodeInstance() override=0
MRMLNode methods.
vtkMRMLStorableNode::CreateDefaultSequenceStorageNode
virtual vtkMRMLStorageNode * CreateDefaultSequenceStorageNode()
vtkMRMLScene
A set of MRML Nodes that supports serialization and undo/redo.
Definition:
vtkMRMLScene.h:61
vtkCodedEntry
Simple class for storing standard coded entries (coding scheme, value, meaning triplets) ...
Definition:
vtkCodedEntry.h:26
vtkMRMLVolumeNode::operator=
void operator=(const vtkMRMLVolumeNode &)
vtkMRMLDisplayableNode::CreateDefaultDisplayNodes
virtual void CreateDefaultDisplayNodes()
vtkMRMLVolumeNode::ReadXMLAttributes
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file
vtkMRMLStorageNode
A superclass for other storage nodes.
Definition:
vtkMRMLStorageNode.h:35
vtkMRMLScalarVolumeNode::GetNodeTagName
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
Definition:
vtkMRMLScalarVolumeNode.h:57
vtkMRMLVolumeNode
MRML node for representing a volume (image stack).
Definition:
vtkMRMLVolumeNode.h:40
vtkMRMLCopyContentDefaultMacro
#define vtkMRMLCopyContentDefaultMacro(thisClassName)
Definition:
vtkMRMLNode.h:155
vtkMRMLScalarVolumeNode
MRML node for representing a volume (image stack).
Definition:
vtkMRMLScalarVolumeNode.h:34
vtkMRMLNode
Abstract Superclass for all specific types of MRML nodes.
Definition:
vtkMRMLNode.h:167
vtkMRMLScalarVolumeDisplayNode
MRML node for representing a volume display attributes.
Definition:
vtkMRMLScalarVolumeDisplayNode.h:40
Generated on Mon May 2 2022 16:14:13 for Slicer by
1.8.14