31#ifndef DWFRAMEWORK_DWNODES_SENSORS_DWCAMERANODE_DWCAMERANODE_HPP_
32#define DWFRAMEWORK_DWNODES_SENSORS_DWCAMERANODE_DWCAMERANODE_HPP_
34#include <dw/sensors/common/Sensors.h>
35#include <dw/sensors/camera/Camera.h>
43#include <dwframework/dwnodes/common/channelpackets/Image.hpp>
44#include <dwframework/dwnodes/common/channelpackets/SelfCalibrationTypes.hpp>
45#include <dwframework/dwnodes/common/channelpackets/SensorCommonTypes.hpp>
46#include <dwframework/dwnodes/common/channelpackets/Sensors.hpp>
53class dwCameraNodeImpl;
63 dwConstRigHandle_t
rig;
108 describePass(StringView{
"SETUP"}, DW_PROCESSOR_TYPE_CPU),
109 describePass(StringView{
"RAW_OUTPUT"}, DW_PROCESSOR_TYPE_GPU),
110 describePass(StringView{
"PROCESSED_OUTPUT"}, DW_PROCESSOR_TYPE_GPU),
111 describePass(StringView{
"PROCESSED_RGBA_OUTPUT"}, DW_PROCESSOR_TYPE_GPU),
112 describePass(StringView{
"TEARDOWN"}, DW_PROCESSOR_TYPE_CPU));
117 return DW_SENSOR_CAMERA;
131 describeConstructorArgument<dwCameraNodeParams>(
143 "useEEPROMIntrinsics"_sv,
152 dw::core::FixedString<32>,
157 "errorHandlingEnabled"_sv,
160 describeConstructorArgument<dwContextHandle_t>(
162 dwContextHandle_t)));
166 const dwContextHandle_t ctx);
172 dwContextHandle_t ctx);
174 dwConstRigHandle_t rigHandle,
176 dwContextHandle_t ctx,
177 const FixedString<32>& frameSkipMask);
180 dwContextHandle_t ctx);
#define DW_DESCRIBE_INDEX_PARAMETER_WITH_SEMANTIC(TYPE_NAME, SEMANTIC_TYPE_NAME, args...)
#define DW_DESCRIBE_INDEX_PARAMETER(TYPE_NAME, args...)
#define DW_DESCRIBE_PARAMETER_WITH_DEFAULT(TYPE_NAME, args...)
#define DW_DESCRIBE_UNNAMED_PARAMETER(TYPE_NAME, args...)
#define DW_DESCRIBE_PARAMETER(TYPE_NAME, args...)
#define DW_DESCRIBE_PORT(TYPE_NAME, NAME, args...)
The interface to access parameter values identified by name and/or (semantic) type.
static constexpr auto describeInputPorts()
static constexpr auto describeOutputPorts()
static constexpr auto describePasses()
dwStatus getImageProperties(dwImageProperties *prop, dwCameraOutputType type)
dwSensorType getSensorType() const
dwCameraNode(const dwSensorParams ¶ms, cudaStream_t cudaStream, dwSALHandle_t sal, dwContextHandle_t ctx)
dwCameraNode(const char *sensorName, dwConstRigHandle_t rigHandle, dwSALHandle_t sal, dwContextHandle_t ctx, const FixedString< 32 > &frameSkipMask)
dwCameraNode(dwCameraNodeParams const ¶ms, const dwContextHandle_t ctx)
static constexpr auto describeParameters()
dwCameraNode(const dwSensorParams ¶ms, dwSALHandle_t sal, dwContextHandle_t ctx)
static std::unique_ptr< dwCameraNode > create(ParameterProvider &provider)
dwStatus getCameraProperties(dwCameraProperties *prop)
char8_t const * sensorName
bool errorHandlingEnabled
constexpr std::tuple describeConstructorArguments()
FixedString< 32 > frameSkipMask
constexpr PassDescriptorT< 0 > describePass(dw::core::StringView &&name, dwProcessorType processorType)
constexpr auto describePassCollection(const Args &&... args) -> std::tuple< Args... >
constexpr auto describePortCollection(Args &&... args) -> dw::core::Tuple< Args... >
Construction parameters for dwCameraNode.