Class ToF

Inheritance Relationships

Base Type

Class Documentation

class ToF : public dai::DeviceNodeGroup

Public Functions

inline ToF(const std::shared_ptr<Device> &device)
~ToF() override
inline virtual void buildInternal() override

Function called from within the create function to build the node. This function is useful for initialization, setting up inputs and outputs = stuff that cannot be perform in the constuctor.

inline std::shared_ptr<ToF> build(dai::CameraBoardSocket boardSocket = dai::CameraBoardSocket::AUTO, dai::ImageFiltersPresetMode presetMode = dai::ImageFiltersPresetMode::TOF_MID_RANGE, std::optional<float> fps = std::nullopt)

Public Members

Subnode<ToFBase> tofBase = {*this, "tofBase"}
Subnode<ToFDepthConfidenceFilter> tofDepthConfidenceFilter = {*this, "tofDepthConfidenceFilter"}
Subnode<ImageFilters> imageFilters = {*this, "imageFilters"}
Output &rawDepth

Raw depth output from ToF sensor

Output &depth

Filtered depth output

Output &confidence

Confidence output

Output &amplitude

Amplitude output

Output &intensity

Intensity output

Output &phase

Phase output

Input &tofBaseInputConfig

Input config for ToF base node

Input &tofDepthConfidenceFilterInputConfig

Input config for ToF depth confidence filter

Input &imageFiltersInputConfig

Input config for image filters

ToFBase &tofBaseNode

ToF base node

ToFDepthConfidenceFilter &tofDepthConfidenceFilterNode

ToF depth confidence filter node

ImageFilters &imageFiltersNode

Image filters node

Public Static Functions

static inline std::shared_ptr<ToF> create(const std::shared_ptr<Device> &device)