17 #ifndef MITK_TRANSFER_FUNCTION_MODE_CREATOR_H_HEADER_INCLUDED
18 #define MITK_TRANSFER_FUNCTION_MODE_CREATOR_H_HEADER_INCLUDED
20 #include <vtkColorTransferFunction.h>
21 #include <vtkPiecewiseFunction.h>
22 #include <vtkSmartPointer.h>
26 #include <itkObject.h>
27 #include <itkObjectFactory.h>
51 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
58 void SetTransferFunctionMode(
int mode);
60 void InitTransferFunctionMode();
63 TransferFunctionInitializer(
TransferFunction::Pointer transferFunction =
nullptr);
64 virtual ~TransferFunctionInitializer();
71 enum TransferFunctionMode
84 void RemoveAllPoints();
86 void SetCtDefaultMode();
87 void SetCtBlackWhiteMode();
88 void SetCtThoraxLargeMode();
89 void SetCtThoraxSmallMode();
91 void SetCtBoneGradientMode();
92 void SetCtCardiacMode();
93 void SetMrGenericMode();
#define mitkNewMacro1Param(classname, type)
static const char * presetNames[]
The TransferFunction class A 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.
DataCollection - Class to facilitate loading/accessing structured data.
Wrapper class for VTK scalar opacity, gradient opacity, and color transfer functions.
#define mitkClassMacroItkParent(className, SuperClassName)