CARLA
Loading...
Searching...
No Matches
Unreal
CarlaUnreal
Plugins
Carla
Source
Carla
Sensor
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
9
#include "
Carla/Sensor/ShaderBasedSensor_WideAngleLens.h
"
10
11
#include "
Carla/Actor/ActorDefinition.h
"
12
13
#include "DepthCamera_WideAngleLens.generated.h"
14
15
/// Sensor that produces "depth" images.
16
UCLASS()
17
class CARLA_API
ADepthCamera_WideAngleLens
: public
AShaderBasedSensor_WideAngleLens
18
{
19
GENERATED_BODY()
20
21
public
:
22
23
static
FActorDefinition
GetSensorDefinition();
24
25
ADepthCamera_WideAngleLens
(
const
FObjectInitializer &ObjectInitializer);
26
27
protected
:
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
};
ShaderBasedSensor_WideAngleLens.h
ActorDefinition.h
ADepthCamera_WideAngleLens
Sensor that produces "depth" images.
Definition
DepthCamera_WideAngleLens.h:18
ADepthCamera_WideAngleLens::GetInvalidPixelColor
FLinearColor GetInvalidPixelColor() const override
Pixels outside the lens' calibrated range decode to the far plane (all channels 255 -> 1000 m) rather...
Definition
DepthCamera_WideAngleLens.h:33
AShaderBasedSensor_WideAngleLens
Definition
ShaderBasedSensor_WideAngleLens.h:16
FActorDefinition
A definition of a Carla Actor with all the variation and attributes.
Definition
Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Actor/ActorDefinition.h:20
Generated by
1.9.8