25 this->colorBtn->setDisplayColorName(
false);
28 connect(this->sbAbsValue, SIGNAL(valueChanged(
double)),
this, SLOT(
OnAbsValueChanged(
double)));
29 connect(this->sbRelValue, SIGNAL(valueChanged(
double)),
this, SLOT(
OnRelValueChanged(
double)));
30 connect(this->doseSlider, SIGNAL(valueChanged(
int)),
this, SLOT(
OnSliderChanged(
int)));
31 connect(this->checkVisibleIso, SIGNAL(clicked(
bool)),
this, SLOT(
OnVisibleClicked(
bool)));
32 connect(this->colorBtn, SIGNAL(colorChanged(QColor)),
this, SLOT(
OnColorChanged(QColor)));
66 mitkThrow() <<
"Error. Cannot set iso dose level for widget to NULL pointer.";
112 doseColor.SetRed(color.redF());
113 doseColor.SetGreen(color.greenF());
114 doseColor.SetBlue(color.blueF());
127 this->sbRelValue->setValue(newDose*100);
128 this->doseSlider->setValue(newDose*100);
140 this->checkVisibleIso->setChecked(this->
m_IsoDoseLevel->GetVisibleIsoLine());
144 this->colorBtn->setColor(color);
Stores values needed for the representation/visualization of dose iso levels.
::itk::RGBPixel< float > ColorType
double DoseValueAbs
Represents absolute dose values (in Gy).
double DoseValueRel
Represents relative dose values (in %).