ImFusion SDK 4.3
ScreenTint Class Reference

#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:

Detailed Description

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.
 
SignalReceiveroperator= (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.
 

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close