Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLDiffusionWeightedVolumeDisplayNode.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: vtkMRMLDiffusionWeightedVolumeDisplayNode.h,v $
10  Date: $Date: 2006/03/19 17:12:29 $
11  Version: $Revision: 1.3 $
12 
13 =========================================================================auto=*/
14 
15 #ifndef __vtkMRMLDiffusionWeightedVolumeDisplayNode_h
16 #define __vtkMRMLDiffusionWeightedVolumeDisplayNode_h
17 
18 // MRML includes
20 
21 // VTK includes
22 class vtkAlgorithmOutput;
23 class vtkImageData;
24 class vtkImageExtractComponents;
25 
36 {
37  public:
40  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
41 
42  virtual vtkMRMLNode* CreateNodeInstance() VTK_OVERRIDE;
43 
46  virtual void ReadXMLAttributes( const char** atts) VTK_OVERRIDE;
47 
50  virtual void WriteXML(ostream& of, int indent) VTK_OVERRIDE;
51 
54  virtual void Copy(vtkMRMLNode *node) VTK_OVERRIDE;
55 
58  virtual const char* GetNodeTagName() VTK_OVERRIDE {return "DiffusionWeightedVolumeDisplay";}
59 
62  virtual vtkAlgorithmOutput* GetInputImageDataConnection() VTK_OVERRIDE;
63 
64 
65  virtual void UpdateImageDataPipeline() VTK_OVERRIDE;
66 
67  //--------------------------------------------------------------------------
69  //--------------------------------------------------------------------------
70 
73  vtkGetMacro(DiffusionComponent, int);
74  vtkSetMacro(DiffusionComponent, int);
75 
76 protected:
81 
84  virtual void SetInputToImageDataPipeline(vtkAlgorithmOutput *imageDataConnection) VTK_OVERRIDE;
85 
86  virtual vtkAlgorithmOutput* GetScalarImageDataConnection() VTK_OVERRIDE;
87 
90  vtkImageExtractComponents *ExtractComponent;
91 };
92 
93 #endif
94 
virtual vtkAlgorithmOutput * GetInputImageDataConnection() VTK_OVERRIDE
Gets the pipeline input.
void operator=(const vtkMRMLScalarVolumeDisplayNode &)
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual void SetInputToImageDataPipeline(vtkAlgorithmOutput *imageDataConnection) VTK_OVERRIDE
virtual vtkAlgorithmOutput * GetScalarImageDataConnection()
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE
Create instance of the default node. Like New only virtual.
MRML node for representing a volume (image stack).
virtual void UpdateImageDataPipeline()
Update the pipeline based on this node attributes.
static vtkMRMLScalarVolumeDisplayNode * New()
int DiffusionComponent
This property holds the current diffusion component used for display.
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:135
MRML node for representing a volume display attributes.