Agrarsense
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
9
10#include "InstanceSegmentationCamera.generated.h"
11
21UCLASS()
22class AGRARSENSE_API AInstanceSegmentationCamera : public ACamera
23{
24 GENERATED_BODY()
25
26public:
27
28 AInstanceSegmentationCamera(const FObjectInitializer& ObjectInitializer);
29
30 void Init(FCameraBaseParameters parameters, bool SimulateSensor = true) override;
31
36 virtual ESensorTypes GetSensorType() const override
37 {
39 }
40
41protected:
42
43 virtual void EndPlay(const EEndPlayReason::Type EndPlayReason) final override;
44
49 virtual void AddProcessingToFrameBuffer(TArray<FColor>& buffer) final override;
50
51};
ESensorTypes
Definition: SensorTypes.h:15
@ InstanceSegmentationCamera
Definition: Camera.h:53
virtual ESensorTypes GetSensorType() const override