21 this->colorBtn->setDisplayColorName(
false);
24 connect(this->sbAbsValue, SIGNAL(valueChanged(
double)),
this, SLOT(
OnAbsValueChanged(
double)));
25 connect(this->sbRelValue, SIGNAL(valueChanged(
double)),
this, SLOT(
OnRelValueChanged(
double)));
26 connect(this->doseSlider, SIGNAL(valueChanged(
int)),
this, SLOT(
OnSliderChanged(
int)));
27 connect(this->checkVisibleIso, SIGNAL(clicked(
bool)),
this, SLOT(
OnVisibleClicked(
bool)));
28 connect(this->colorBtn, SIGNAL(colorChanged(QColor)),
this, SLOT(
OnColorChanged(QColor)));
62 mitkThrow() <<
"Error. Cannot set iso dose level for widget to nullptr pointer.";
108 doseColor.SetRed(color.redF());
109 doseColor.SetGreen(color.greenF());
110 doseColor.SetBlue(color.blueF());
123 this->sbRelValue->setValue(newDose*100);
124 this->doseSlider->setValue(newDose*100);
136 this->checkVisibleIso->setChecked(this->
m_IsoDoseLevel->GetVisibleIsoLine());
140 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 %).