Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
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
22class vtkAlgorithmOutput;
23class vtkImageData;
24class vtkImageExtractComponents;
25
36{
37public:
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
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 void UpdateImageDataPipeline() override;
65
66 //--------------------------------------------------------------------------
68 //--------------------------------------------------------------------------
69
72 vtkGetMacro(DiffusionComponent, int);
73 vtkSetMacro(DiffusionComponent, int);
74
75protected:
80
83 void SetInputToImageDataPipeline(vtkAlgorithmOutput* imageDataConnection) override;
84
85 vtkAlgorithmOutput* GetScalarImageDataConnection() override;
86
89 vtkImageExtractComponents* ExtractComponent;
90};
91
92#endif
vtkMRMLDiffusionWeightedVolumeDisplayNode(const vtkMRMLDiffusionWeightedVolumeDisplayNode &)
vtkAlgorithmOutput * GetScalarImageDataConnection() override
vtkAlgorithmOutput * GetInputImageDataConnection() override
Get the pipeline input.
static vtkMRMLDiffusionWeightedVolumeDisplayNode * New()
int DiffusionComponent
This property holds the current diffusion component used for display.
void ReadXMLAttributes(const char **atts) override
Set node attributes.
void SetInputToImageDataPipeline(vtkAlgorithmOutput *imageDataConnection) override
Set the input of the pipeline.
void UpdateImageDataPipeline() override
Update the pipeline based on this node attributes.
void PrintSelf(ostream &os, vtkIndent indent) override
void operator=(const vtkMRMLDiffusionWeightedVolumeDisplayNode &)
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
vtkMRMLNode * CreateNodeInstance() override
Create instance of the default node. Like New only virtual.
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
void Copy(vtkMRMLNode *node) override
Copy the node's attributes to this object.
Abstract Superclass for all specific types of MRML nodes.