ImFusion C++ SDK 4.5.0
ImFusion::US::AcquisitionSequenceWidget Class Reference

#include <ImFusion/USImgFormation/AcquisitionSequenceWidget.h>

Widget to configure a AcquisitionSequence, intended to be used in other controllers. More...

Inheritance diagram for ImFusion::US::AcquisitionSequenceWidget:

Detailed Description

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 AcquisitionSequenceacquisitionSequence () 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.

Member Function Documentation

◆ updateGUI()

void ImFusion::US::AcquisitionSequenceWidget::updateGUI ( bool noValues)

Updates the GUI to reflect the current acquisition sequence configuration.

If noValues is true, the values in the GUI elements will not be updated, only the appropriate tab group and apply / reset buttons will be enabled or disabled.

◆ setAcquisitionSequence()

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.

◆ setTransducer()

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.

◆ setReceiveSamplingFrequencyOptions()

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.


The documentation for this class was generated from the following file:
  • ImFusion/USImgFormation/AcquisitionSequenceWidget.h
Search Tab / S to search, Esc to close