44 TabbedWidget(parent,
"StreamPropertiesWidget",
"Stream Properties"),
47 bool connectToActiveImage =
false;
52 this->
addTab(mTransferFunctionWidget.get(), QString(
"Transfer Functions"));
53 this->
addTab(mShadingWidget.get(),
"Shading");
55 connect(mSelectStream.get(), &
Property::changed,
this, &StreamPropertiesWidget::streamSelectedSlot);
58 void StreamPropertiesWidget::streamSelectedSlot()
63 mTrackedStream = mSelectStream->getTrackedStream();
74 void StreamPropertiesWidget::streamingSlot(
bool isStreaming)
77 mTransferFunctionWidget->imageChangedSlot(image);
78 mShadingWidget->imageChangedSlot(image);
80 if(isStreaming && mTrackedStream)
84 void StreamPropertiesWidget::firstFrame()
86 ImagePtr image = mTrackedStream->getChangingImage();
90 mTransferFunctionWidget->imageChangedSlot(image);
91 mShadingWidget->imageChangedSlot(image);
98 "<h3>Stream properties.</h3>"
99 "<p>Lets you set properties on a tracked 2D/3D stream.</p>"
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.