CARLA
SceneCaptureCamera.h
Go to the documentation of this file.
1 // Copyright (c) 2017 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 
13 
14 #include "SceneCaptureCamera.generated.h"
15 
16 /// A sensor that captures images from the scene.
17 UCLASS()
18 class CARLA_API ASceneCaptureCamera : public AShaderBasedSensor
19 {
20  GENERATED_BODY()
21 
22 public:
23 
24 
25  static FActorDefinition GetSensorDefinition();
26 
27  ASceneCaptureCamera(const FObjectInitializer &ObjectInitializer);
28 
29 protected:
30 
31  virtual void SendGBufferTextures(FGBufferRequest& GBuffer) override;
32 
33 
34  void BeginPlay() override;
35  void EndPlay(const EEndPlayReason::Type EndPlayReason) override;
36  void PostPhysTick(UWorld *World, ELevelTick TickType, float DeltaSeconds) override;
37 
38  virtual void OnFirstClientConnected() override;
39  virtual void OnLastClientDisconnected() override;
40 
41 private:
42 };
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.
A sensor that captures images from the scene.