ImFusion C++ SDK 4.4.0
ImFusion::US::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 ImFusion::US::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 ImFusion::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 ImFusion::SignalReceiver
void disconnectAll ()
 Disconnects all existing connections.

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