Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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) VTK_OVERRIDE;
36 
37  virtual vtkMRMLNode* CreateNodeInstance() VTK_OVERRIDE;
38 
41  virtual void ReadXMLAttributes( const char** atts) VTK_OVERRIDE;
42 
45  virtual void WriteXML(ostream& of, int indent) VTK_OVERRIDE;
46 
49  virtual void Copy(vtkMRMLNode *node) VTK_OVERRIDE;
50 
53  virtual const char* GetNodeTagName() VTK_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  virtual void UpdateReferenceID(const char *oldID, const char *newID) VTK_OVERRIDE;
89 
92  //void UpdateScene(vtkMRMLScene *scene);
93 
97  void UpdateReferences() VTK_OVERRIDE;
98 
99 
102  virtual void ProcessMRMLEvents ( vtkObject * /*caller*/,
103  unsigned long /*event*/,
104  void * /*callData*/ ) VTK_OVERRIDE;
105 
109  {
111  }
112 
113 protected:
118 
120  char *MaskNodeID;
122 
123 };
124 
125 #endif
virtual vtkMRMLStorageNode * CreateDefaultStorageNode() VTK_OVERRIDE
Create default storage node or NULL if does not have one.
MRML node for representing diffusion weighted MRI volume.
static vtkMRMLTensorVolumeNode * New()
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE
MRMLNode methods.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual vtkMRMLStorageNode * CreateDefaultStorageNode() VTK_OVERRIDE
Create default storage node or NULL if does not have one.
virtual void UpdateReferenceID(const char *oldID, const char *newID) VTK_OVERRIDE
A supercalss for other storage nodes.
virtual void UpdateReferences() VTK_OVERRIDE
MRML node for representing a volume (image stack).
void operator=(const vtkMRMLTensorVolumeNode &)
MRML node for representing diffusion weighted MRI volume.
MRML node for representing diffusion weighted MRI volume.
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:135
virtual void ProcessMRMLEvents(vtkObject *, unsigned long, void *) VTK_OVERRIDE
alternative method to propagate events generated in Display nodes