Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
vtkMRMLDiffusionImageVolumeNode.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 __vtkMRMLDiffusionImageVolumeNode_h
16#define __vtkMRMLDiffusionImageVolumeNode_h
17
20
31{
32public:
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36
38
41 void ReadXMLAttributes(const char** atts) override;
42
45 void WriteXML(ostream& of, int indent) override;
46
50
53 const char* GetNodeTagName() override { return "DiffusionImageVolume"; }
54
57 void SetBaselineNodeID(const char* id);
58 vtkGetStringMacro(BaselineNodeID);
59
62 void SetMaskNodeID(const char* id);
63 vtkGetStringMacro(MaskNodeID);
64
67 void SetDiffusionWeightedNodeID(const char* id);
68 vtkGetStringMacro(DiffusionWeightedNodeID);
69
73
77
81
84 // vtkMRMLDiffusionImageVolumeDisplayNode* GetDisplayNode();
85
88 void UpdateReferenceID(const char* oldID, const char* newID) override;
89
92 // void UpdateScene(vtkMRMLScene* scene);
93
97 void UpdateReferences() override;
98
101 void ProcessMRMLEvents(vtkObject* /*caller*/, unsigned long /*event*/, void* /*callData*/) override;
102
106
107protected:
112
116};
117
118#endif
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
void ReadXMLAttributes(const char **atts) override
Set node attributes.
void SetDiffusionWeightedNodeID(const char *id)
void PrintSelf(ostream &os, vtkIndent indent) override
void operator=(const vtkMRMLDiffusionImageVolumeNode &)
void ProcessMRMLEvents(vtkObject *, unsigned long, void *) override
alternative method to propagate events generated in Display nodes
void SetMaskNodeID(const char *id)
String ID of the display MRML node.
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
vtkMRMLVolumeNode * GetMaskNode()
Associated volume MRML node.
void SetBaselineNodeID(const char *id)
vtkMRMLDiffusionImageVolumeNode(const vtkMRMLDiffusionImageVolumeNode &)
vtkMRMLStorageNode * CreateDefaultStorageNode() override
Create default storage node or nullptr if does not have one.
vtkMRMLVolumeNode * GetBaselineNode()
Associated volume MRML node.
vtkMRMLNode * CreateNodeInstance() override
MRMLNode methods.
void UpdateReferenceID(const char *oldID, const char *newID) override
Associated volume MRML node.
vtkMRMLCopyContentDefaultMacro(vtkMRMLDiffusionImageVolumeNode)
vtkMRMLDiffusionWeightedVolumeNode * GetDiffusionWeightedNode()
Associated volume MRML node.
void UpdateReferences() override
Finds the storage node and read the data.
static vtkMRMLDiffusionImageVolumeNode * New()
MRML node for representing diffusion weighted MRI volume.
Abstract Superclass for all specific types of MRML nodes.
vtkMRMLStorageNode * CreateDefaultStorageNode() override
Create default storage node or nullptr if does not have one.
A superclass for other storage nodes.