44 TabbedWidget(parent,
"StreamPropertiesWidget",
"Stream Properties"),
47 this->setToolTip(
"Set properties on a tracked 2D/3D stream");
48 bool connectToActiveImage =
false;
53 this->
addTab(mTransferFunctionWidget.get(), QString(
"Transfer Functions"));
54 this->
addTab(mShadingWidget.get(),
"Shading");
56 connect(mSelectStream.get(), &
Property::changed,
this, &StreamPropertiesWidget::streamSelectedSlot);
59 void StreamPropertiesWidget::streamSelectedSlot()
64 mTrackedStream = mSelectStream->getTrackedStream();
75 void StreamPropertiesWidget::streamingSlot(
bool isStreaming)
78 mTransferFunctionWidget->imageChangedSlot(image);
79 mShadingWidget->imageChangedSlot(image);
81 if(isStreaming && mTrackedStream)
85 void StreamPropertiesWidget::firstFrame()
87 ImagePtr image = mTrackedStream->getChangingImage();
91 mTransferFunctionWidget->imageChangedSlot(image);
92 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 ShadingWidget > ShadingWidgetPtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
void changed()
emit when the underlying data value is changed: The user interface will be updated.