Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkMRMLScalarVolumeNode Class Reference

MRML node for representing a volume (image stack). More...

#include <Libs/MRML/Core/vtkMRMLScalarVolumeNode.h>

Inheritance diagram for vtkMRMLScalarVolumeNode:
Inheritance graph
[legend]
Collaboration diagram for vtkMRMLScalarVolumeNode:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkMRMLVolumeNode Superclass

Public Member Functions

virtual void Copy (vtkMRMLNode *node)
virtual vtkMRMLStorageNodeCreateDefaultStorageNode ()
virtual vtkMRMLNodeCreateNodeInstance ()
 MRMLNode methods.
virtual const char * GetClassName ()
int GetLabelMap ()
virtual const char * GetNodeTagName ()
virtual
vtkMRMLScalarVolumeDisplayNode
GetScalarVolumeDisplayNode ()
virtual int IsA (const char *type)
void LabelMapOff ()
void LabelMapOn ()
void PrintSelf (ostream &os, vtkIndent indent)
virtual void ReadXMLAttributes (const char **atts)
void SetLabelMap (int)
virtual void WriteXML (ostream &of, int indent)

Static Public Member Functions

static void CreateNoneNode (vtkMRMLScene *scene)
static int IsTypeOf (const char *type)
static vtkMRMLScalarVolumeNodeNew ()
static vtkMRMLScalarVolumeNodeSafeDownCast (vtkObject *o)

Protected Member Functions

void operator= (const vtkMRMLScalarVolumeNode &)
 vtkMRMLScalarVolumeNode ()
 vtkMRMLScalarVolumeNode (const vtkMRMLScalarVolumeNode &)
 ~vtkMRMLScalarVolumeNode ()

Protected Attributes

vtkImageAccumulateDiscreteAccumulate
vtkImageBimodalAnalysisBimodal
int CalculatingAutoLevels

Detailed Description

MRML node for representing a volume (image stack).

Volume nodes describe data sets that can be thought of as stacks of 2D images that form a 3D volume. Volume nodes contain only the image data, where it is store on disk and how to read the files is controlled by the volume storage node, how to render the data (window and level) is controlled by the volume display nodes. Image information is extracted from the image headers (if they exist) at the time the MRML file is generated. Consequently, MRML files isolate MRML browsers from understanding how to read the myriad of file formats for medical data. A scalar volume node can be a labelmap, which is typically the output of a segmentation that labels each voxel according to its tissue type. The alternative is a gray-level or color image.

Definition at line 42 of file vtkMRMLScalarVolumeNode.h.


Member Typedef Documentation


Constructor & Destructor Documentation

vtkMRMLScalarVolumeNode::vtkMRMLScalarVolumeNode ( ) [protected]
vtkMRMLScalarVolumeNode::~vtkMRMLScalarVolumeNode ( ) [protected]
vtkMRMLScalarVolumeNode::vtkMRMLScalarVolumeNode ( const vtkMRMLScalarVolumeNode ) [protected]

Member Function Documentation

virtual void vtkMRMLScalarVolumeNode::Copy ( vtkMRMLNode node) [virtual]

Copy the node's attributes to this object

Reimplemented from vtkMRMLVolumeNode.

Reimplemented in vtkMRMLDiffusionImageVolumeNode, vtkMRMLDiffusionWeightedVolumeNode, vtkMRMLTensorVolumeNode, and vtkMRMLVectorVolumeNode.

virtual vtkMRMLStorageNode* vtkMRMLScalarVolumeNode::CreateDefaultStorageNode ( ) [virtual]

Create default storage node or NULL if does not have one

Reimplemented from vtkMRMLStorableNode.

Reimplemented in vtkMRMLDiffusionImageVolumeNode, vtkMRMLDiffusionTensorVolumeNode, vtkMRMLDiffusionWeightedVolumeNode, vtkMRMLTensorVolumeNode, and vtkMRMLVectorVolumeNode.

virtual vtkMRMLNode* vtkMRMLScalarVolumeNode::CreateNodeInstance ( ) [virtual]
static void vtkMRMLScalarVolumeNode::CreateNoneNode ( vtkMRMLScene scene) [static]

Make a 'None' volume node with blank image data

virtual const char* vtkMRMLScalarVolumeNode::GetClassName ( ) [virtual]
int vtkMRMLScalarVolumeNode::GetLabelMap ( )

Returns true (1) if the volume is a labelmap (1 label value per voxel to indicates the tissue type.

See also:
SetLabelMap
virtual const char* vtkMRMLScalarVolumeNode::GetNodeTagName ( ) [inline, virtual]
virtual vtkMRMLScalarVolumeDisplayNode* vtkMRMLScalarVolumeNode::GetScalarVolumeDisplayNode ( ) [virtual]

Associated display MRML node

virtual int vtkMRMLScalarVolumeNode::IsA ( const char *  type) [virtual]
static int vtkMRMLScalarVolumeNode::IsTypeOf ( const char *  type) [static]
void vtkMRMLScalarVolumeNode::LabelMapOff ( )

Convenient method that unsets the volume a labelmap

See also:
SetLabelMap, LabelMapOff()
void vtkMRMLScalarVolumeNode::LabelMapOn ( )

Convenient method that sets the volume as labelmap

See also:
SetLabelMap, LabelMapOff()
static vtkMRMLScalarVolumeNode* vtkMRMLScalarVolumeNode::New ( ) [static]
void vtkMRMLScalarVolumeNode::operator= ( const vtkMRMLScalarVolumeNode ) [protected]
void vtkMRMLScalarVolumeNode::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkMRMLScalarVolumeNode::ReadXMLAttributes ( const char **  atts) [virtual]
static vtkMRMLScalarVolumeNode* vtkMRMLScalarVolumeNode::SafeDownCast ( vtkObject *  o) [static]
void vtkMRMLScalarVolumeNode::SetLabelMap ( int  )

Set the volume as a labelmap. If true (1), it sets the volume as a labelmap.

See also:
GetLabelMap(), LabelMapOn(), LabelMapOff()
virtual void vtkMRMLScalarVolumeNode::WriteXML ( ostream &  of,
int  indent 
) [virtual]

Write this node's information to a MRML file in XML format.

Reimplemented from vtkMRMLVolumeNode.

Reimplemented in vtkMRMLDiffusionImageVolumeNode, vtkMRMLDiffusionWeightedVolumeNode, vtkMRMLTensorVolumeNode, and vtkMRMLVectorVolumeNode.


Member Data Documentation

Used internally in CalculateScalarAutoLevels and CalculateStatisticsAutoLevels

Definition at line 109 of file vtkMRMLScalarVolumeNode.h.

Definition at line 110 of file vtkMRMLScalarVolumeNode.h.

Definition at line 112 of file vtkMRMLScalarVolumeNode.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines