![]() |
ImFusion C++ SDK 4.5.0
|
#include <ImFusion/USImgFormation/AcquisitionSequenceWidget.h>
Widget to configure a AcquisitionSequence, intended to be used in other controllers. More...
Widget to configure a AcquisitionSequence, intended to be used in other controllers.
Public Types | |
| using | ReceiveSamplingFrequencyOptions = FrameAcquisitionWidget::ReceiveSamplingFrequencyOptions |
Signals | |
| void | acquisitionSequenceChanged (const AcquisitionSequence &acquisitionSequence) |
| Signal parameters from the current frame geometry have changed. | |
Public Member Functions | |
| AcquisitionSequenceWidget (QWidget *parent=nullptr, bool transducerWidgetEnabled=true) | |
| void | initGUI () |
| void | updateGUI (bool noValues) |
| Updates the GUI to reflect the current acquisition sequence configuration. | |
| void | setAcquisitionSequence (const AcquisitionSequence &sequence) |
| Sets the acquisition sequence to be displayed and edited. | |
| void | setTransducer (const Transducer &transducer, bool applyImmediately=false) |
| Sets the transducer to be used for the acquisition sequence configuration. | |
| const AcquisitionSequence & | acquisitionSequence () const |
| Returns the acquisition sequence as it was last applied from the GUI or set from the outside. | |
| void | setReceiveSamplingFrequencyOptions (ReceiveSamplingFrequencyOptions receiveFrequencyOptions) |
| Sets the user selectable range of receive sampling frequencies, to accomodate for hardware restrictions. | |
| void ImFusion::US::AcquisitionSequenceWidget::updateGUI | ( | bool | noValues | ) |
| void ImFusion::US::AcquisitionSequenceWidget::setAcquisitionSequence | ( | const AcquisitionSequence & | sequence | ) |
Sets the acquisition sequence to be displayed and edited.
Does not trigger a signal. If the user has made changes to the displayed sequence, they will be lost.
| void ImFusion::US::AcquisitionSequenceWidget::setTransducer | ( | const Transducer & | transducer, |
| bool | applyImmediately = false ) |
Sets the transducer to be used for the acquisition sequence configuration.
If the user has made changes to the displayed transducer, they will be lost. If applyImmediately is true, the acquisition sequence will be updated and signaled immediately, otherwise, the changes will be applied when the user clicks the "Apply" button.
| void ImFusion::US::AcquisitionSequenceWidget::setReceiveSamplingFrequencyOptions | ( | ReceiveSamplingFrequencyOptions | receiveFrequencyOptions | ) |
Sets the user selectable range of receive sampling frequencies, to accomodate for hardware restrictions.
If the current value is outside the new range, it will be clamped to the new range. If monostate is passed, the receive sampling frequency will not be configurable by the user and be fully defined by the interface instead.