ImFusion SDK 4.3
ProbeTrackerAssigner Class Reference

#include <ImFusion/LiveUS/ProbeTrackerAssigner.h>

Assigns the main tracker to a tracking instrument whose name matches a predefined list associated with a probe name. More...

+ Inheritance diagram for ProbeTrackerAssigner:

Detailed Description

Assigns the main tracker to a tracking instrument whose name matches a predefined list associated with a probe name.

Monitors the ImageStream for probe name changes in the UltrasoundMetadata data component and updates the main tracker on the specified TrackingStream. Assignment occurs only when ProbeTrackerAssigner is enabled. In this case, the ProbeTrackerAssigner sets the main instrument to the first TrackingInstrument that matches one of the provided TrackerIDs (see setProbeToTracking).

Primarily used by SweepRecorderController but can be utilized in any application managing the calibration of one or multiple ultrasound probes and multiple TrackingInstruments.

Public Member Functions

 ProbeTrackerAssigner (ImageStream &imageStream, TrackingStream &trackingStream)
 
void setEnabled (bool flag)
 Enables or disables the assigner.
 
bool isEnabled ()
 Returns whether the assigner is enabled.
 
void setProbeToTracking (std::map< std::string, std::vector< TrackerID > > map)
 Sets the mapping of probe names to TrackingInstrument assignments.
 
std::map< std::string, std::vector< TrackerID > > probeToTracking ()
 Returns the list of TrackingInstruments mapped to a given probe name.
 
- 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.
 

Member Function Documentation

◆ setProbeToTracking()

void setProbeToTracking ( std::map< std::string, std::vector< TrackerID > > map)

Sets the mapping of probe names to TrackingInstrument assignments.

Each probe can be associated with multiple trackers. In this case, the first one is used that is found in the instrument list of the TrackingStream.


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