21 BaseWidget(parent,
"transfer_function_2d_opacity_widget",
"2D Opacity"),
22 mActiveData(activeData)
24 this->setToolTip(
"Set a 2D opacity transfer function");
25 QVBoxLayout* layout =
new QVBoxLayout(
this);
38 QSizePolicy::MinimumExpanding);
42 QGridLayout* gridLayout =
new QGridLayout;
43 layout->addLayout(gridLayout);
47 this->setLayout(layout);
48 this->activeImageChangedSlot();
56 void TransferFunction2DOpacityWidget::activeImageChangedSlot()
61 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.