Program Listing for File ToFProperties.hpp

Return to documentation for file (include/depthai/properties/ToFProperties.hpp)

#pragma once

#include "depthai/common/CameraBoardSocket.hpp"
#include "depthai/common/CameraImageOrientation.hpp"
#include "depthai/pipeline/datatype/ToFConfig.hpp"
#include "depthai/properties/Properties.hpp"

namespace dai {

struct ToFProperties : PropertiesSerializable<Properties, ToFProperties> {
    constexpr static int AUTO = 0;

    ToFConfig initialConfig;

    int numFramesPool = 4;

    std::optional<std::int32_t> numShaves;

    std::vector<int> warpHwIds;

    CameraBoardSocket boardSocket = CameraBoardSocket::AUTO;

    std::string cameraName = "";

    CameraImageOrientation imageOrientation = CameraImageOrientation::AUTO;

    float fps = AUTO;

    int numFramesPoolRaw = 3;

    ~ToFProperties() override;
};

DEPTHAI_SERIALIZE_EXT(ToFProperties, initialConfig, numFramesPool, numShaves, warpHwIds, boardSocket, cameraName, imageOrientation, fps, numFramesPoolRaw);

}  // namespace dai