Medical Imaging Interaction Toolkit  2016.11.0
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)
 
virtual ~TransferFunctionInitializer ()
 

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 46 of file mitkTransferFunctionInitializer.h.

Member Typedef Documentation

Constructor & Destructor Documentation

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

Definition at line 33 of file mitkTransferFunctionInitializer.cpp.

mitk::TransferFunctionInitializer::~TransferFunctionInitializer ( )
protectedvirtual

Definition at line 41 of file mitkTransferFunctionInitializer.cpp.

Member Function Documentation

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

Definition at line 49 of file mitkTransferFunctionInitializer.h.

virtual const char* mitk::TransferFunctionInitializer::GetClassName ( ) const
virtual
void mitk::TransferFunctionInitializer::GetPresetNames ( std::vector< std::string > &  presetNames)
static

Definition at line 42 of file mitkTransferFunctionInitializer.cpp.

References numPresetNames, and presetNames.

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

Definition at line 49 of file mitkTransferFunctionInitializer.h.

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

Definition at line 286 of file mitkTransferFunctionInitializer.cpp.

void mitk::TransferFunctionInitializer::InitTransferFunctionMode ( )

Definition at line 78 of file mitkTransferFunctionInitializer.cpp.

Referenced by SetTransferFunctionMode().

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

Definition at line 52 of file mitkTransferFunctionInitializer.h.

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

Definition at line 50 of file mitkTransferFunctionInitializer.cpp.

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

Definition at line 55 of file mitkTransferFunctionInitializer.cpp.

References InitTransferFunctionMode().


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