Slicer  4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
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 {
32  public:
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
37  vtkMRMLNode* CreateNodeInstance() override;
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 
72  vtkMRMLVolumeNode* GetBaselineNode();
73 
76  vtkMRMLVolumeNode* GetMaskNode();
77 
80  vtkMRMLDiffusionWeightedVolumeNode* GetDiffusionWeightedNode();
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 
99 
102  void ProcessMRMLEvents ( vtkObject * /*caller*/,
103  unsigned long /*event*/,
104  void * /*callData*/ ) override;
105 
109  {
111  }
112 
113 protected:
118 
120  char *MaskNodeID;
122 
123 };
124 
125 #endif
vtkMRMLNode * CreateNodeInstance() override
MRMLNode methods.
MRML node for representing diffusion weighted MRI volume.
static vtkMRMLTensorVolumeNode * New()
vtkMRMLStorageNode * CreateDefaultStorageNode() override
Create default storage node or nullptr if does not have one
void ReadXMLAttributes(const char **atts) override
Set node attributes
void PrintSelf(ostream &os, vtkIndent indent) override
vtkMRMLStorageNode * CreateDefaultStorageNode() override
Create default storage node or nullptr if does not have one
void UpdateReferenceID(const char *oldID, const char *newID) override
vtkMRMLCopyContentDefaultMacro(vtkMRMLScalarVolumeNode)
A superclass for other storage nodes.
MRML node for representing a volume (image stack).
void operator=(const vtkMRMLTensorVolumeNode &)
void ProcessMRMLEvents(vtkObject *, unsigned long, void *) override
alternative method to propagate events generated in Display nodes
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
MRML node for representing diffusion weighted MRI volume.
MRML node for representing diffusion weighted MRI volume.
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:167