25 TabbedWidget(parent,
"StreamPropertiesWidget",
"Stream Properties"),
28 this->setToolTip(
"Set properties on a tracked 2D/3D stream");
29 bool connectToActiveImage =
false;
30 ActiveDataPtr activeData = patientModelService->getActiveData();
35 this->
addTab(mTransferFunctionWidget.get(), QString(
"Transfer Functions"));
36 this->
addTab(mShadingWidget.get(),
"Shading");
38 connect(mSelectStream.get(), &
Property::changed,
this, &StreamPropertiesWidget::streamSelectedSlot);
41 void StreamPropertiesWidget::streamSelectedSlot()
46 mTrackedStream = mSelectStream->getTrackedStream();
57 void StreamPropertiesWidget::streamingSlot(
bool isStreaming)
60 mTransferFunctionWidget->imageChangedSlot(image);
61 mShadingWidget->imageChangedSlot(image);
63 if(isStreaming && mTrackedStream)
67 void StreamPropertiesWidget::firstFrame()
69 ImagePtr image = mTrackedStream->getChangingImage();
73 mTransferFunctionWidget->imageChangedSlot(image);
74 mShadingWidget->imageChangedSlot(image);
boost::shared_ptr< class TransferFunction3DWidget > TransferFunction3DWidgetPtr
boost::shared_ptr< class Image > ImagePtr
void streaming(bool on)
emitted when streaming started/stopped
boost::shared_ptr< class ActiveData > ActiveDataPtr
boost::shared_ptr< class ShadingWidget > ShadingWidgetPtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
void changed()
emit when the underlying data value is changed: The user interface will be updated.
Namespace for all CustusX production code.