CARLA
Loading...
Searching...
No Matches
Unreal
CarlaUnreal
Plugins
Carla
Source
Carla
Sensor
InstanceSegmentationCamera.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.h
"
10
#include "
Carla/Actor/ActorDefinition.h
"
11
12
#include "InstanceSegmentationCamera.generated.h"
13
14
/// Sensor that produces "Instance segmentation" images.
15
UCLASS()
16
class CARLA_API
AInstanceSegmentationCamera
: public
AShaderBasedSensor
17
{
18
GENERATED_BODY()
19
20
public
:
21
22
static
FActorDefinition
GetSensorDefinition();
23
24
AInstanceSegmentationCamera
(
const
FObjectInitializer &ObjectInitializer);
25
26
protected
:
27
28
void
SetUpSceneCaptureComponent(
USceneCaptureComponent2D
&SceneCapture)
override
;
29
void
PostPhysTick(UWorld *World, ELevelTick TickType,
float
DeltaSeconds)
override
;
30
};
ShaderBasedSensor.h
ActorDefinition.h
AInstanceSegmentationCamera
Sensor that produces "Instance segmentation" images.
Definition
InstanceSegmentationCamera.h:17
AShaderBasedSensor
A sensor that produces data by applying post-process materials (shaders) to a scene capture image.
Definition
ShaderBasedSensor.h:92
USceneCaptureComponent2D
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