Agrarsense
Unreal
Agrarsense
Source
Agrarsense
Sensor
Camera
InstanceSegmentationCamera.h
Go to the documentation of this file.
1
// Copyright (c) 2025 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 "InstanceSegmentationCamera.generated.h"
11
22
UCLASS()
23
class AGRARSENSE_API
AInstanceSegmentationCamera
: public
ACamera
24
{
25
GENERATED_BODY()
26
27
public
:
28
29
AInstanceSegmentationCamera
(
const
FObjectInitializer& ObjectInitializer);
30
31
void
Init(
FCameraBaseParameters
parameters,
bool
SimulateSensor =
true
)
override
;
32
37
virtual
ESensorTypes
GetSensorType
()
const override
38
{
39
return
ESensorTypes::InstanceSegmentationCamera
;
40
}
41
42
protected
:
43
44
virtual
void
EndPlay(
const
EEndPlayReason::Type EndPlayReason)
final
override
;
45
46
};
Camera.h
ESensorTypes
ESensorTypes
Definition:
SensorTypes.h:15
ESensorTypes::InstanceSegmentationCamera
@ InstanceSegmentationCamera
ACamera
Definition:
Camera.h:53
AInstanceSegmentationCamera
Definition:
InstanceSegmentationCamera.h:24
AInstanceSegmentationCamera::GetSensorType
virtual ESensorTypes GetSensorType() const override
Definition:
InstanceSegmentationCamera.h:37
FCameraBaseParameters
Definition:
CameraBaseParameters.h:12
Generated by
1.9.4