46 TabbedWidget(parent,
"StreamPropertiesWidget",
"Stream Properties"),
49 this->setToolTip(
"Set properties on a tracked 2D/3D stream");
50 bool connectToActiveImage =
false;
51 ActiveDataPtr activeData = patientModelService->getActiveData();
56 this->
addTab(mTransferFunctionWidget.get(), QString(
"Transfer Functions"));
57 this->
addTab(mShadingWidget.get(),
"Shading");
59 connect(mSelectStream.get(), &
Property::changed,
this, &StreamPropertiesWidget::streamSelectedSlot);
62 void StreamPropertiesWidget::streamSelectedSlot()
67 mTrackedStream = mSelectStream->getTrackedStream();
78 void StreamPropertiesWidget::streamingSlot(
bool isStreaming)
81 mTransferFunctionWidget->imageChangedSlot(image);
82 mShadingWidget->imageChangedSlot(image);
84 if(isStreaming && mTrackedStream)
88 void StreamPropertiesWidget::firstFrame()
90 ImagePtr image = mTrackedStream->getChangingImage();
94 mTransferFunctionWidget->imageChangedSlot(image);
95 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.
cxLogicManager_EXPORT ViewServicePtr viewService()