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