ImFusion SDK 4.3
SensorController Class Referenceabstract

#include <RGBD/Include/ImFusion/RGBD/SensorController.h>

UI controller for configuring an RGB-D sensor stream. More...

+ Inheritance diagram for SensorController:

Detailed Description

UI controller for configuring an RGB-D sensor stream.

This class provides a QWidget-based interface for controlling and configuring an RGBDStream. It allows users to adjust stream settings, select frame types, and receive notifications about format and settings changes. Derived classes should implement the stream selection logic.

Important aspects:

  • Designed for use in Qt-based GUI applications.
  • Emits signals when format or settings are changed.
  • Not thread-safe.

Public Member Functions

 SensorController (RGBDStream *sensor)
 
RGBDStreamsensor () const
 Returns the controlled RGBDStream.
 
virtual void setAllowStreamSelection (bool v)=0
 Allows configuration of the stream to return a non-RGBD frame (i.e., only depth or only color).
 

Public Attributes

Signal< RGBDStream * > signalFormatChanged
 Signal emitted when the format of the depth or color image changes.
 
Signal< RGBDStream * > signalSettingsChanged
 Signal emitted when sensor settings change.
 

Member Function Documentation

◆ setAllowStreamSelection()

virtual void setAllowStreamSelection ( bool v)
pure virtual

Allows configuration of the stream to return a non-RGBD frame (i.e., only depth or only color).

If set to false, the controller should hide such options.


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