![]() |
ImFusion SDK 4.3
|
#include <ImFusion/LiveUS/ScreenTint.h>
Utility class for applying a red tint to an UltrasoundSweep by modifying its transfer function. More...
Inheritance diagram for ScreenTint:Utility class for applying a red tint to an UltrasoundSweep by modifying its transfer function.
This class monitors the focus selection of the input sweep and updates the transfer function, applying a red hue if the tracking quality of the focus falls below a configurable threshold.
Primarily used by SweepRecorderController and LiveSweepRecordingVisualizationController, but can be utilized in any class requiring a visual indicator of low tracking quality in a rendered UltrasoundSweep.
Public Member Functions | |
| ScreenTint (UltrasoundSweep &sweep) | |
| void | setEnabled (bool flag) |
| Enables or disables the screen tint. | |
| bool | isEnabled () |
| Returns whether the screen tint is enabled. | |
| void | setMinimumQuality (double quality) |
| Sets the minimum tracking quality threshold. | |
Public Member Functions inherited from SignalReceiver | |
| SignalReceiver ()=default | |
| Default constructor. | |
| SignalReceiver (const SignalReceiver &other) | |
| Copy constructor, does not copy any existing signal connections from other. | |
| SignalReceiver & | operator= (SignalReceiver rhs) |
| Assignment operator, disconnects all existing connections, does not copy any existing signal connections from rhs. | |
| virtual | ~SignalReceiver () |
| Virtual destructor disconnects from all connected signals. | |
Additional Inherited Members | |
Protected Member Functions inherited from SignalReceiver | |
| void | disconnectAll () |
| Disconnects all existing connections. | |