Agrarsense
Unreal
Agrarsense
Source
Agrarsense
Sensor
Camera
SemanticSegmentationCamera.h
Go to the documentation of this file.
1
// Copyright (c) 2023 FrostBit Software Lab at the Lapland University of Applied Sciences
2
//
3
// This work is licensed under the terms of the MIT license.
4
// For a copy, see <https://opensource.org/licenses/MIT>.
5
6
#pragma once
7
8
#include "
Agrarsense/Sensor/Camera/Camera.h
"
9
10
#include "SemanticSegmentationCamera.generated.h"
11
17
UCLASS()
18
class AGRARSENSE_API
ASemanticSegmentationCamera
: public
ACamera
19
{
20
GENERATED_BODY()
21
22
public
:
23
24
ASemanticSegmentationCamera
(
const
FObjectInitializer& ObjectInitializer);
25
26
void
Init(
FCameraBaseParameters
parameters,
bool
SimulateSensor =
true
)
override
;
27
32
virtual
ESensorTypes
GetSensorType
()
const override
33
{
34
return
ESensorTypes::SemanticSegmentationCamera
;
35
}
36
37
protected
:
38
43
virtual
void
AddProcessingToFrameBuffer(TArray<FColor>& buffer)
final
override
;
44
45
};
Camera.h
ESensorTypes
ESensorTypes
Definition:
SensorTypes.h:15
ESensorTypes::SemanticSegmentationCamera
@ SemanticSegmentationCamera
ACamera
Definition:
Camera.h:53
ASemanticSegmentationCamera
Definition:
SemanticSegmentationCamera.h:19
ASemanticSegmentationCamera::GetSensorType
virtual ESensorTypes GetSensorType() const override
Definition:
SemanticSegmentationCamera.h:32
FCameraBaseParameters
Definition:
CameraBaseParameters.h:12
Generated by
1.9.4