Slicer  4.13
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) override;
41 
42  vtkMRMLNode* CreateNodeInstance() override;
43 
46  void ReadXMLAttributes( const char** atts) override;
47 
50  void WriteXML(ostream& of, int indent) override;
51 
54  void Copy(vtkMRMLNode *node) override;
55 
58  const char* GetNodeTagName() override {return "DiffusionWeightedVolumeDisplay";}
59 
62  vtkAlgorithmOutput* GetInputImageDataConnection() override;
63 
64 
65  void UpdateImageDataPipeline() override;
66 
67  //--------------------------------------------------------------------------
69  //--------------------------------------------------------------------------
70 
73  vtkGetMacro(DiffusionComponent, int);
74  vtkSetMacro(DiffusionComponent, int);
75 
76 protected:
81 
84  void SetInputToImageDataPipeline(vtkAlgorithmOutput *imageDataConnection) override;
85 
86  vtkAlgorithmOutput* GetScalarImageDataConnection() override;
87 
90  vtkImageExtractComponents *ExtractComponent;
91 };
92 
93 #endif
94 
void operator=(const vtkMRMLScalarVolumeDisplayNode &)
void SetInputToImageDataPipeline(vtkAlgorithmOutput *imageDataConnection) override
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
virtual vtkAlgorithmOutput * GetScalarImageDataConnection()
MRML node for representing a volume (image stack).
vtkAlgorithmOutput * GetInputImageDataConnection() override
Gets the pipeline input.
virtual void UpdateImageDataPipeline()
Update the pipeline based on this node attributes
static vtkMRMLScalarVolumeDisplayNode * New()
void Copy(vtkMRMLNode *node) override
Copy the node's attributes to this object
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file
vtkMRMLNode * CreateNodeInstance() override
Create instance of the default node. Like New only virtual.
int DiffusionComponent
This property holds the current diffusion component used for display.
void PrintSelf(ostream &os, vtkIndent indent) override
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:167
MRML node for representing a volume display attributes.