CARLA
Loading...
Searching...
No Matches
SceneCaptureCamera.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
11
12#include <util/ue-header-guard-begin.h>
14#include <util/ue-header-guard-end.h>
15
16#include "SceneCaptureCamera.generated.h"
17
18/// A sensor that captures images from the scene.
19UCLASS()
21{
22 GENERATED_BODY()
23
24public:
25
26
27 static FActorDefinition GetSensorDefinition();
28
29 ASceneCaptureCamera(const FObjectInitializer &ObjectInitializer);
30
31protected:
32
33#ifdef CARLA_HAS_GBUFFER_API
34 virtual void SendGBufferTextures(FGBufferRequest& GBuffer) override;
35#endif
36
37 void BeginPlay() override;
38 void EndPlay(const EEndPlayReason::Type EndPlayReason) override;
39 void PostPhysTick(UWorld *World, ELevelTick TickType, float DeltaSeconds) override;
40
41 virtual void OnFirstClientConnected() override;
42 virtual void OnLastClientDisconnected() override;
43
44private:
45};
A sensor that captures images from the scene.
A sensor that produces data by applying post-process materials (shaders) to a scene capture image.
A definition of a Carla Actor with all the variation and attributes.