Medical Imaging Interaction Toolkit  2021.10.99-1c4db16f
Medical Imaging Interaction Toolkit
mitk::TransferFunctionInitializer Class Reference

Wrapper class for VTK scalar opacity, gradient opacity, and color transfer functions. More...

#include <mitkTransferFunctionInitializer.h>

Inheritance diagram for mitk::TransferFunctionInitializer:
Collaboration diagram for mitk::TransferFunctionInitializer:

Public Types

typedef TransferFunctionInitializer Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 

Public Member Functions

virtual std::vector< std::string > GetClassHierarchy () const
 
virtual const char * GetClassName () const
 
Pointer Clone () const
 
void SetTransferFunction (TransferFunction::Pointer transferFunction)
 
mitk::TransferFunction::Pointer GetTransferFunction ()
 
void SetTransferFunctionMode (int mode)
 
void InitTransferFunctionMode ()
 

Static Public Member Functions

static const char * GetStaticNameOfClass ()
 
static Pointer New ()
 
static Pointer New (TransferFunction::Pointer _arg)
 
static void GetPresetNames (std::vector< std::string > &presetNames)
 

Protected Member Functions

 TransferFunctionInitializer (TransferFunction::Pointer transferFunction=nullptr)
 
 ~TransferFunctionInitializer () override
 

Detailed Description

Wrapper class for VTK scalar opacity, gradient opacity, and color transfer functions.

Holds a copy of each of the three standard VTK transfer functions (scalar opacity, gradient opacity, color) and provides an interface for manipulating their control points. Each original function can be retrieved by a Get() method.

NOTE: Currently, transfer function initialization based on histograms or computed-tomography-presets is also provided by this class, but will likely be separated into a specific initializer class.

Definition at line 42 of file mitkTransferFunctionInitializer.h.

Member Typedef Documentation

◆ ConstPointer

◆ Pointer

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ TransferFunctionInitializer()

mitk::TransferFunctionInitializer::TransferFunctionInitializer ( TransferFunction::Pointer  transferFunction = nullptr)
protected

◆ ~TransferFunctionInitializer()

mitk::TransferFunctionInitializer::~TransferFunctionInitializer ( )
overrideprotected

Member Function Documentation

◆ Clone()

Pointer mitk::TransferFunctionInitializer::Clone ( ) const

◆ GetClassHierarchy()

virtual std::vector<std::string> mitk::TransferFunctionInitializer::GetClassHierarchy ( ) const
inlinevirtual

Definition at line 45 of file mitkTransferFunctionInitializer.h.

◆ GetClassName()

virtual const char* mitk::TransferFunctionInitializer::GetClassName ( ) const
virtual

◆ GetPresetNames()

static void mitk::TransferFunctionInitializer::GetPresetNames ( std::vector< std::string > &  presetNames)
static

◆ GetStaticNameOfClass()

static const char* mitk::TransferFunctionInitializer::GetStaticNameOfClass ( )
inlinestatic

Definition at line 45 of file mitkTransferFunctionInitializer.h.

◆ GetTransferFunction()

mitk::TransferFunction::Pointer mitk::TransferFunctionInitializer::GetTransferFunction ( )

◆ InitTransferFunctionMode()

void mitk::TransferFunctionInitializer::InitTransferFunctionMode ( )

◆ New() [1/2]

static Pointer mitk::TransferFunctionInitializer::New ( )
static

◆ New() [2/2]

static Pointer mitk::TransferFunctionInitializer::New ( TransferFunction::Pointer  _arg)
inlinestatic

Definition at line 50 of file mitkTransferFunctionInitializer.h.

◆ SetTransferFunction()

void mitk::TransferFunctionInitializer::SetTransferFunction ( TransferFunction::Pointer  transferFunction)

◆ SetTransferFunctionMode()

void mitk::TransferFunctionInitializer::SetTransferFunctionMode ( int  mode)

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