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 | Static Protected Member Functions | Protected Attributes
vtkMRMLFiberBundleDisplayNode Class Reference

#include <Modules/Loadable/TractographyDisplay/MRML/vtkMRMLFiberBundleDisplayNode.h>

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

List of all members.

Public Types

enum  {
  colorModeSolid = 0, colorModeScalar = 1, colorModeFunctionOfScalar = 2, colorModeUseCellScalars = 3,
  colorModeScalarData = 4, colorModePointFiberOrientation = 5, colorModeMeanFiberOrientation = 6
}
 Display Information: Geometry to display (not mutually exclusive) More...
typedef vtkMRMLModelDisplayNode Superclass

Public Member Functions

virtual void Copy (vtkMRMLNode *node)
virtual const char * GetClassName ()
virtual int GetColorMode ()
 Display Information: ColorMode for ALL nodes.
vtkMRMLDiffusionTensorDisplayPropertiesNodeGetDiffusionTensorDisplayPropertiesNode ()
 Display Information: ColorMode for glyphs.
virtual char * GetDiffusionTensorDisplayPropertiesNodeID ()
virtual const char * GetNodeTagName ()=0
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void ReadXMLAttributes (const char **atts)
 MRMLNode methods.
void SetAndObserveDiffusionTensorDisplayPropertiesNodeID (const char *ID)
virtual void SetColorMode (int)
void SetColorModeToFunctionOfScalar ()
void SetColorModeToMeanFiberOrientation ()
void SetColorModeToPointFiberOrientation ()
void SetColorModeToScalar ()
void SetColorModeToScalarData ()
void SetColorModeToSolid ()
void SetColorModeToUseCellScalars ()
virtual void UpdateReferenceID (const char *oldID, const char *newID)
virtual void UpdateReferences ()
virtual void UpdateScene (vtkMRMLScene *scene)
virtual void WriteXML (ostream &of, int indent)

Static Public Member Functions

static int GetNthScalarInvariant (int i)
static int GetNumberOfScalarInvariants ()
static int IsTypeOf (const char *type)
static
vtkMRMLFiberBundleDisplayNode
SafeDownCast (vtkObject *o)

Protected Member Functions

void operator= (const vtkMRMLFiberBundleDisplayNode &)
virtual void SetDiffusionTensorDisplayPropertiesNodeID (const char *id)
 vtkMRMLFiberBundleDisplayNode ()
 vtkMRMLFiberBundleDisplayNode (const vtkMRMLFiberBundleDisplayNode &)
 ~vtkMRMLFiberBundleDisplayNode ()

Static Protected Member Functions

static std::vector< int > GetSupportedColorModes ()
 ALL MRML nodes.

Protected Attributes

int ColorMode
 Enumerated.
vtkMRMLDiffusionTensorDisplayPropertiesNodeDiffusionTensorDisplayPropertiesNode
 ALL MRML nodes.
char * DiffusionTensorDisplayPropertiesNodeID

Detailed Description

Definition at line 33 of file vtkMRMLFiberBundleDisplayNode.h.


Member Typedef Documentation


Member Enumeration Documentation

anonymous enum

Display Information: Geometry to display (not mutually exclusive)

Display Information: Color Mode 0) solid color by group 1) color by scalar invariant 2) color by avg scalar invariant 3) color by other

Enumerator:
colorModeSolid 
colorModeScalar 
colorModeFunctionOfScalar 
colorModeUseCellScalars 
colorModeScalarData 
colorModePointFiberOrientation 
colorModeMeanFiberOrientation 

Definition at line 84 of file vtkMRMLFiberBundleDisplayNode.h.


Constructor & Destructor Documentation

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

Member Function Documentation

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

Copy the node's attributes to this object

Reimplemented from vtkMRMLDisplayNode.

Reimplemented in vtkMRMLFiberBundleGlyphDisplayNode, and vtkMRMLFiberBundleTubeDisplayNode.

virtual const char* vtkMRMLFiberBundleDisplayNode::GetClassName ( ) [virtual]
virtual int vtkMRMLFiberBundleDisplayNode::GetColorMode ( ) [virtual]

Display Information: ColorMode for ALL nodes.

Description: Color mode for glyphs. The color modes are mutually exclusive.

vtkMRMLDiffusionTensorDisplayPropertiesNode* vtkMRMLFiberBundleDisplayNode::GetDiffusionTensorDisplayPropertiesNode ( )

Display Information: ColorMode for glyphs.

MRML nodes that are observed Node reference to ALL DT nodes Get diffusion tensor display MRML object for fiber glyph.

virtual char* vtkMRMLFiberBundleDisplayNode::GetDiffusionTensorDisplayPropertiesNodeID ( ) [virtual]

Get ID of diffusion tensor display MRML object for fiber glyph.

virtual const char* vtkMRMLFiberBundleDisplayNode::GetNodeTagName ( ) [pure virtual]

Get node XML tag name (like Volume, FiberBundle)

Reimplemented from vtkMRMLModelDisplayNode.

Implemented in vtkMRMLFiberBundleGlyphDisplayNode, vtkMRMLFiberBundleLineDisplayNode, and vtkMRMLFiberBundleTubeDisplayNode.

static int vtkMRMLFiberBundleDisplayNode::GetNthScalarInvariant ( int  i) [static]
static int vtkMRMLFiberBundleDisplayNode::GetNumberOfScalarInvariants ( ) [static]
static std::vector<int> vtkMRMLFiberBundleDisplayNode::GetSupportedColorModes ( ) [static, protected]

ALL MRML nodes.

virtual int vtkMRMLFiberBundleDisplayNode::IsA ( const char *  type) [virtual]
static int vtkMRMLFiberBundleDisplayNode::IsTypeOf ( const char *  type) [static]
void vtkMRMLFiberBundleDisplayNode::operator= ( const vtkMRMLFiberBundleDisplayNode ) [protected]
void vtkMRMLFiberBundleDisplayNode::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkMRMLFiberBundleDisplayNode::ReadXMLAttributes ( const char **  atts) [virtual]

MRMLNode methods.

Read node attributes from XML (MRML) file

Reimplemented from vtkMRMLDisplayNode.

Reimplemented in vtkMRMLFiberBundleGlyphDisplayNode, and vtkMRMLFiberBundleTubeDisplayNode.

static vtkMRMLFiberBundleDisplayNode* vtkMRMLFiberBundleDisplayNode::SafeDownCast ( vtkObject *  o) [static]
void vtkMRMLFiberBundleDisplayNode::SetAndObserveDiffusionTensorDisplayPropertiesNodeID ( const char *  ID)

Set diffusion tensor display MRML object for fiber glyph.

virtual void vtkMRMLFiberBundleDisplayNode::SetColorMode ( int  ) [virtual]
void vtkMRMLFiberBundleDisplayNode::SetColorModeToFunctionOfScalar ( ) [inline]

Color according to the tensors using a function of scalar invariants along the tract. This enables coloring by average FA, for example.

Definition at line 119 of file vtkMRMLFiberBundleDisplayNode.h.

void vtkMRMLFiberBundleDisplayNode::SetColorModeToMeanFiberOrientation ( ) [inline]

Color according to the mean orientation of the fiber calculated from the orientation of the segment original fiber bundle node.

Definition at line 144 of file vtkMRMLFiberBundleDisplayNode.h.

void vtkMRMLFiberBundleDisplayNode::SetColorModeToPointFiberOrientation ( ) [inline]

Color according to the segment orientation of the fiber calculated from the orientation of the segment original fiber bundle node.

Definition at line 151 of file vtkMRMLFiberBundleDisplayNode.h.

void vtkMRMLFiberBundleDisplayNode::SetColorModeToScalar ( ) [inline]

Color according to the tensors using various scalar invariants.

Definition at line 112 of file vtkMRMLFiberBundleDisplayNode.h.

void vtkMRMLFiberBundleDisplayNode::SetColorModeToScalarData ( ) [inline]

Color according to the tensors using scalars (not calculated from tensors) from the original fiber bundle node.

Definition at line 137 of file vtkMRMLFiberBundleDisplayNode.h.

void vtkMRMLFiberBundleDisplayNode::SetColorModeToSolid ( ) [inline]

Color by solid color (for example the whole fiber bundle red. blue, etc.)

Definition at line 106 of file vtkMRMLFiberBundleDisplayNode.h.

void vtkMRMLFiberBundleDisplayNode::SetColorModeToUseCellScalars ( ) [inline]

Use to color by the active cell scalars. This is intended to support external processing of fibers, for example to label each with the distance of that fiber from an fMRI activation. Then by making that information the active cell scalar field, this will allow coloring by that information. TO DO: make sure this information can be saved with the tract, save name of active scalar field if needed.

Definition at line 130 of file vtkMRMLFiberBundleDisplayNode.h.

virtual void vtkMRMLFiberBundleDisplayNode::SetDiffusionTensorDisplayPropertiesNodeID ( const char *  id) [protected, virtual]
virtual void vtkMRMLFiberBundleDisplayNode::UpdateReferenceID ( const char *  oldID,
const char *  newID 
) [virtual]

Update the stored reference to another node in the scene

Reimplemented from vtkMRMLDisplayNode.

virtual void vtkMRMLFiberBundleDisplayNode::UpdateReferences ( ) [virtual]

Updates this node if it depends on other nodes when the node is deleted in the scene

Reimplemented from vtkMRMLDisplayNode.

virtual void vtkMRMLFiberBundleDisplayNode::UpdateScene ( vtkMRMLScene scene) [virtual]

Finds the storage node and read the data

Reimplemented from vtkMRMLDisplayNode.

virtual void vtkMRMLFiberBundleDisplayNode::WriteXML ( ostream &  of,
int  indent 
) [virtual]

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

Reimplemented from vtkMRMLDisplayNode.

Reimplemented in vtkMRMLFiberBundleGlyphDisplayNode, and vtkMRMLFiberBundleTubeDisplayNode.


Member Data Documentation

Enumerated.

Definition at line 199 of file vtkMRMLFiberBundleDisplayNode.h.

ALL MRML nodes.

Definition at line 190 of file vtkMRMLFiberBundleDisplayNode.h.

Definition at line 191 of file vtkMRMLFiberBundleDisplayNode.h.


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