7 #ifndef __FWVTKIO_HELPER_TRANSFERFUNCTION_HPP__ 8 #define __FWVTKIO_HELPER_TRANSFERFUNCTION_HPP__ 10 #include "fwVtkIO/config.hpp" 12 #include <fwData/TransferFunction.hpp> 14 #include <vtkLogLookupTable.h> 15 #include <vtkSmartPointer.h> 39 FWVTKIO_API
static void toVtkLookupTable(fwData::TransferFunction::csptr tf,
40 vtkSmartPointer<vtkLookupTable> lt,
41 bool allowTransparency =
false,
42 unsigned int size = 256 );
53 FWVTKIO_API
static void toBWVtkLookupTable(
double rangeMin,
double rangeMax,
54 vtkSmartPointer<vtkLookupTable> lt,
55 unsigned int size = 256 );
62 #endif // __FWVTKIO_HELPER_TRANSFERFUNCTION_HPP__ Helper to manage vtk data from fwData::TransferFunction.