42 BaseWidget(parent,
"TransferFunction2DOpacityWidget",
"2D Opacity"),
43 mPatientModelService(patientModelService)
45 this->setToolTip(
"Set a 2D opacity transfer function");
46 QVBoxLayout* layout =
new QVBoxLayout(
this);
59 QSizePolicy::MinimumExpanding);
63 QGridLayout* gridLayout =
new QGridLayout;
64 layout->addLayout(gridLayout);
68 this->setLayout(layout);
71 void TransferFunction2DOpacityWidget::activeImageChangedSlot()
76 tf = image->getLookupTable2D();
boost::shared_ptr< class Image > ImagePtr
void transferFunctionsChanged()
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
static ActiveImageProxyPtr New(PatientModelServicePtr patientModelService)
boost::shared_ptr< class ImageTFData > ImageTFDataPtr
void activeImageChanged(const QString &uid)
The original image changed signal from DataManager.