CARLA
Loading...
Searching...
No Matches
DepthCamera_WideAngleLens.h
Go to the documentation of this file.
1// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
3//
4// This work is licensed under the terms of the MIT license.
5// For a copy, see <https://opensource.org/licenses/MIT>.
6
7#pragma once
8
10
12
13#include "DepthCamera_WideAngleLens.generated.h"
14
15/// Sensor that produces "depth" images.
16UCLASS()
18{
19 GENERATED_BODY()
20
21public:
22
23 static FActorDefinition GetSensorDefinition();
24
25 ADepthCamera_WideAngleLens(const FObjectInitializer &ObjectInitializer);
26
27protected:
28
29 void PostPhysTick(UWorld *World, ELevelTick TickType, float DeltaSeconds) override;
30
31 /// Pixels outside the lens' calibrated range decode to the far plane
32 /// (all channels 255 -> 1000 m) rather than to zero depth.
33 FLinearColor GetInvalidPixelColor() const override
34 {
35 return FLinearColor(1.0F, 1.0F, 1.0F, 1.0F);
36 }
37};
Sensor that produces "depth" images.
FLinearColor GetInvalidPixelColor() const override
Pixels outside the lens' calibrated range decode to the far plane (all channels 255 -> 1000 m) rather...
A definition of a Carla Actor with all the variation and attributes.