42 BaseWidget(parent,
"transfer_function_2d_opacity_widget",
"2D Opacity"),
43 mActiveData(activeData)
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);
69 this->activeImageChangedSlot();
77 void TransferFunction2DOpacityWidget::activeImageChangedSlot()
82 tf = image->getLookupTable2D();
boost::shared_ptr< class Image > ImagePtr
boost::shared_ptr< class ActiveData > ActiveDataPtr
void transferFunctionsChanged()
static ActiveImageProxyPtr New(ActiveDataPtr activeData)
void activeDataChanged(const QString &uId)
boost::shared_ptr< class ImageTFData > ImageTFDataPtr
Namespace for all CustusX production code.