Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::FreeSurferParcellationTranslator Class Reference

The mitkFreeSurferParcellationTranslator class. More...

#include <mitkFreeSurferParcellationTranslator.h>

Inheritance diagram for mitk::FreeSurferParcellationTranslator:
Collaboration diagram for mitk::FreeSurferParcellationTranslator:

Public Types

typedef map< string, string > NameTable
 

Public Member Functions

 mitkClassMacroItkParent (FreeSurferParcellationTranslator, itk::Object) static Pointer New()
 
virtual void AssignLookupTable (DataNode::Pointer node) const
 Assign the lookup table to the given node. More...
 
virtual void AssignTransferFunction (DataNode::Pointer node) const
 Assign the color transfer function to the given node. More...
 
virtual const string GetLabel (const string &name) const
 Get the label assigned to the given name. More...
 
virtual int GetLabelAsNumber (const string &name) const
 Get the label assigned to the given name. More...
 
virtual LookupTable::Pointer GetLookupTable () const
 Return the lookup table. More...
 
virtual const string GetName (const string &label) const
 Get the name assigned to the given label. More...
 
virtual const string GetName (int label) const
 Get the name assigned to the given label. More...
 
virtual TransferFunction::Pointer GetTransferFunction () const
 Get the transfer function. More...
 

Protected Member Functions

 FreeSurferParcellationTranslator ()
 
 ~FreeSurferParcellationTranslator ()
 

Detailed Description

The mitkFreeSurferParcellationTranslator class.

This class provides a ready to use lookup table for freesurfer processed images and further functions e.g. to get the name assigned to a given label. Additional you can assign the lookup table or transferfunction by using the AssignLookupTable(DataNode* node) or AssignTransferfunction(DataNode* node) methods.

Definition at line 41 of file mitkFreeSurferParcellationTranslator.h.

Member Typedef Documentation

Definition at line 45 of file mitkFreeSurferParcellationTranslator.h.

Constructor & Destructor Documentation

FreeSurferParcellationTranslator::FreeSurferParcellationTranslator ( )
protected

Definition at line 32 of file mitkFreeSurferParcellationTranslator.cpp.

FreeSurferParcellationTranslator::~FreeSurferParcellationTranslator ( )
protected

Definition at line 35 of file mitkFreeSurferParcellationTranslator.cpp.

Member Function Documentation

void FreeSurferParcellationTranslator::AssignLookupTable ( DataNode::Pointer  node) const
virtual

Assign the lookup table to the given node.

Parameters
nodethe lookup table should be assigned to

Definition at line 42 of file mitkFreeSurferParcellationTranslator.cpp.

References mitk::LookupTableProperty::New().

void FreeSurferParcellationTranslator::AssignTransferFunction ( DataNode::Pointer  node) const
virtual

Assign the color transfer function to the given node.

Parameters
nodethe transferfunction should be assigned to

Definition at line 48 of file mitkFreeSurferParcellationTranslator.cpp.

References mitk::TransferFunctionProperty::New().

const string FreeSurferParcellationTranslator::GetLabel ( const string &  name) const
virtual

Get the label assigned to the given name.

Parameters
namethe label should be assigned to
Returns
label

Definition at line 54 of file mitkFreeSurferParcellationTranslator.cpp.

int FreeSurferParcellationTranslator::GetLabelAsNumber ( const string &  name) const
virtual

Get the label assigned to the given name.

Parameters
namethe label should be assigned to
Returns
label

Definition at line 65 of file mitkFreeSurferParcellationTranslator.cpp.

LookupTable::Pointer FreeSurferParcellationTranslator::GetLookupTable ( ) const
virtual

Return the lookup table.

Returns
lookup table

Definition at line 70 of file mitkFreeSurferParcellationTranslator.cpp.

const string FreeSurferParcellationTranslator::GetName ( const string &  label) const
virtual

Get the name assigned to the given label.

Parameters
label
Returns
name

Definition at line 75 of file mitkFreeSurferParcellationTranslator.cpp.

const string FreeSurferParcellationTranslator::GetName ( int  label) const
virtual

Get the name assigned to the given label.

Parameters
label
Returns
name

Definition at line 89 of file mitkFreeSurferParcellationTranslator.cpp.

References GetName().

Referenced by GetName().

TransferFunction::Pointer FreeSurferParcellationTranslator::GetTransferFunction ( ) const
virtual

Get the transfer function.

Returns
transfer function

Definition at line 96 of file mitkFreeSurferParcellationTranslator.cpp.

mitk::FreeSurferParcellationTranslator::mitkClassMacroItkParent ( FreeSurferParcellationTranslator  ,
itk::Object   
)

The documentation for this class was generated from the following files: