39 #ifndef CXIMAGETFDATA_H_
40 #define CXIMAGETFDATA_H_
42 #include "cxResourceExport.h"
46 #include <boost/shared_ptr.hpp>
55 typedef std::map<int, QColor>
ColorMap;
104 void setAlpha(
double val);
105 double getAlpha()
const;
106 void setLLR(
double val);
107 double getLLR()
const;
108 void setWindow(
double val);
109 double getWindow()
const;
110 void setLevel(
double val);
111 double getLevel()
const;
117 void addAlphaPoint(
int alphaPosition,
int alphaValue);
118 void removeAlphaPoint(
int alphaPosition);
119 void moveAlphaPoint(
int oldpos,
int newpos,
int alphaValue);
122 void addColorPoint(
int colorPosition, QColor colorValue);
123 void removeColorPoint(
int colorPosition);
124 void moveColorPoint(
int oldpos,
int newpos, QColor colorValue);
126 virtual void addXml(QDomNode dataNode);
127 virtual void parseXml(QDomNode dataNode);
129 void unsignedCT(
bool onLoad);
136 void transferFunctionsChanged();
144 void shiftColor(
int shift,
double center,
double scale);
145 void shiftOpacity(
int shift);
boost::shared_ptr< ColorMap > ColorMapPtr
vtkSmartPointer< class vtkPiecewiseFunction > vtkPiecewiseFunctionPtr
vtkSmartPointer< class vtkColorTransferFunction > vtkColorTransferFunctionPtr
boost::shared_ptr< IntIntMap > OpacityMapPtr
std::map< int, QColor > ColorMap
virtual void internalsHaveChanged()
std::map< int, int > IntIntMap
Data class for Transfer Function info, either 2D or 3D.
boost::shared_ptr< class ImageTFData > ImageTFDataPtr