18 #ifndef CXIMAGETFDATA_H_
19 #define CXIMAGETFDATA_H_
21 #include "cxResourceExport.h"
25 #include <boost/shared_ptr.hpp>
34 typedef std::map<int, QColor>
ColorMap;
83 void setAlpha(
double val);
84 double getAlpha()
const;
85 void setLLR(
double val);
86 double getLLR()
const;
87 void setWindow(
double val);
88 double getWindow()
const;
89 void setLevel(
double val);
90 double getLevel()
const;
96 void addAlphaPoint(
int alphaPosition,
int alphaValue);
97 void removeAlphaPoint(
int alphaPosition);
98 void moveAlphaPoint(
int oldpos,
int newpos,
int alphaValue);
101 void addColorPoint(
int colorPosition, QColor colorValue);
102 void removeColorPoint(
int colorPosition);
103 void moveColorPoint(
int oldpos,
int newpos, QColor colorValue);
105 virtual void addXml(QDomNode dataNode);
106 virtual void parseXml(QDomNode dataNode);
108 void unsignedCT(
bool onLoad);
115 void transferFunctionsChanged();
123 void shiftColor(
int shift,
double center,
double scale);
124 void shiftOpacity(
int shift);