Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkMRMLScalarVolumeNode.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 __vtkMRMLScalarVolumeNode_h
16 #define __vtkMRMLScalarVolumeNode_h
17 
18 // MRML includes
19 #include "vtkMRMLVolumeNode.h"
21 class vtkCodedEntry;
22 
34 class VTK_MRML_EXPORT vtkMRMLScalarVolumeNode : public vtkMRMLVolumeNode
35 {
36  public:
37  static vtkMRMLScalarVolumeNode *New();
39  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
40 
41  virtual vtkMRMLNode* CreateNodeInstance() VTK_OVERRIDE;
42 
45  virtual void ReadXMLAttributes( const char** atts) VTK_OVERRIDE;
46 
49  virtual void WriteXML(ostream& of, int indent) VTK_OVERRIDE;
50 
53  virtual void Copy(vtkMRMLNode *node) VTK_OVERRIDE;
54 
57  virtual const char* GetNodeTagName() VTK_OVERRIDE {return "Volume";}
58 
61  static void CreateNoneNode(vtkMRMLScene *scene);
62 
65  virtual vtkMRMLScalarVolumeDisplayNode* GetScalarVolumeDisplayNode();
66 
69  virtual vtkMRMLStorageNode* CreateDefaultStorageNode() VTK_OVERRIDE;
70 
73  virtual void CreateDefaultDisplayNodes() VTK_OVERRIDE;
74 
77  void SetVoxelValueQuantity(vtkCodedEntry*);
78  vtkGetObjectMacro(VoxelValueQuantity, vtkCodedEntry);
79 
84  void SetVoxelValueUnits(vtkCodedEntry*);
85  vtkGetObjectMacro(VoxelValueUnits, vtkCodedEntry);
86 
87 protected:
92 
95 };
96 
97 #endif
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE=0
MRMLNode methods.
virtual vtkMRMLStorageNode * CreateDefaultStorageNode()
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
A set of MRML Nodes that supports serialization and undo/redo.
Definition: vtkMRMLScene.h:54
Simple class for storing standard coded entries (coding scheme, value, meaning triplets) ...
Definition: vtkCodedEntry.h:26
void operator=(const vtkMRMLVolumeNode &)
virtual void CreateDefaultDisplayNodes()
A supercalss for other storage nodes.
MRML node for representing a volume (image stack).
MRML node for representing a volume (image stack).
Abstract Superclass for all specific types of MRML nodes.
Definition: vtkMRMLNode.h:135
MRML node for representing a volume display attributes.