23 #include <vtkImageData.h>
24 #include <vtkWindowLevelLookupTable.h>
25 #include <vtkColorTransferFunction.h>
26 #include <vtkPiecewiseFunction.h>
27 #include <vtkVolumeProperty.h>
29 #include <QDomDocument>
30 #include <QStringList>
78 this->refreshOpacityTF();
79 this->refreshColorTF();
86 retval->deepCopy(
this);
94 mOpacityTF = vtkPiecewiseFunctionPtr::New();
95 this->refreshOpacityTF();
104 mColorTF = vtkColorTransferFunctionPtr::New();
105 this->refreshColorTF();
113 void ImageTF3D::refreshColorTF()
122 void ImageTF3D::refreshOpacityTF()
132 void ImageTF3D::buildOpacityMapFromLLRAlpha()
136 int smooth = (int) (0.1 * range);