Agrarsense
CameraBaseParameters.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 "CameraBaseParameters.generated.h"
9
10USTRUCT(Blueprintable)
11struct AGRARSENSE_API FCameraBaseParameters
12{
13 GENERATED_BODY()
14
15
18 UPROPERTY(EditAnywhere, BlueprintReadWrite)
19 bool PostProcessingEffects = true;
20
24 UPROPERTY(EditAnywhere, BlueprintReadWrite)
25 bool Enable16BitFormat = true;
26
30 UPROPERTY(EditAnywhere, BlueprintReadWrite)
31 float FOV = 90;
32
36 UPROPERTY(EditAnywhere, BlueprintReadWrite)
37 float TargetGamma = 1.0f;
38
42 UPROPERTY(EditAnywhere, BlueprintReadWrite)
43 float ShutterSpeed = 60.0f;
44
48 UPROPERTY(EditAnywhere, BlueprintReadWrite)
49 float ISO = 100.0f;
50
54 UPROPERTY(EditAnywhere, BlueprintReadWrite)
55 int32 Width = 1280;
56
60 UPROPERTY(EditAnywhere, BlueprintReadWrite)
61 int32 Height = 720;
62
66 UPROPERTY(EditAnywhere, BlueprintReadWrite)
67 float FocalDistance = 0.0f;
68
72 UPROPERTY(EditAnywhere, BlueprintReadWrite)
73 float DepthBlurAmount = 1.0f;
74
78 UPROPERTY(EditAnywhere, BlueprintReadWrite)
79 float DepthBlurRadius = 0.0f;
80
85 UPROPERTY(EditAnywhere, BlueprintReadWrite)
86 float DofMinFStop = 1.2f;
87
91 UPROPERTY(EditAnywhere, BlueprintReadWrite)
92 int DofBladeCount = 5;
93
97 UPROPERTY(EditAnywhere, BlueprintReadWrite)
98 float FilmSlope = 0.88f;
99
103 UPROPERTY(EditAnywhere, BlueprintReadWrite)
104 float FilmToe = 0.55f;
105
109 UPROPERTY(EditAnywhere, BlueprintReadWrite)
110 float FilmShoulder = 0.26f;
111
115 UPROPERTY(EditAnywhere, BlueprintReadWrite)
116 float FilmBlackClip = 0.0f;
117
121 UPROPERTY(EditAnywhere, BlueprintReadWrite)
122 float FilmWhiteClip = 0.04f;
123
127 UPROPERTY(EditAnywhere, BlueprintReadWrite)
128 float ExposureMinBrightness = -2.0f;
129
133 UPROPERTY(EditAnywhere, BlueprintReadWrite)
134 float ExposureMaxBrightness = 20.0f;
135
139 UPROPERTY(EditAnywhere, BlueprintReadWrite)
140 float ExposureSpeedUp = 10.0f;
141
145 UPROPERTY(EditAnywhere, BlueprintReadWrite)
146 float ExposureSpeedDown = 1.0f;
147
152 UPROPERTY(EditAnywhere, BlueprintReadWrite)
153 float MotionBlurIntensity = 0.0f;
154
159 UPROPERTY(EditAnywhere, BlueprintReadWrite)
160 float MotionBlurMax = 2.0f;
161
167 UPROPERTY(EditAnywhere, BlueprintReadWrite)
168 float MotionBlurMinObjSize = 0.0f;
169
174 UPROPERTY(EditAnywhere, BlueprintReadWrite)
175 float LensFlareIntensity = 0.0f;
176
181 UPROPERTY(EditAnywhere, BlueprintReadWrite)
182 float BloomIntensity = 0.0f;
183
187 UPROPERTY(EditAnywhere, BlueprintReadWrite)
188 float WhiteTemp = 6500.0f;
189
193 UPROPERTY(EditAnywhere, BlueprintReadWrite)
194 float WhiteTint = 0.0f;
195
201 UPROPERTY(EditAnywhere, BlueprintReadWrite)
202 float ChromAberrIntensity = 0.0f;
203
208 UPROPERTY(EditAnywhere, BlueprintReadWrite)
209 float ChromAberrOffset = 0.0f;
210
216 UPROPERTY(EditAnywhere, BlueprintReadWrite)
217 float Aperture = 4.0f;
218
222 UPROPERTY(EditAnywhere, BlueprintReadWrite)
223 bool SaveImageToDisk = false;
224
228 UPROPERTY(EditAnywhere, BlueprintReadWrite)
229 bool SendDataToROS = true;
230
240 UPROPERTY(EditAnywhere, BlueprintReadWrite)
241 float TargetFrameRate = 0.0f;
242
247 UPROPERTY(EditAnywhere, BlueprintReadWrite)
248 bool UsePhysicLensDistortionEffect = true;
249
253 UPROPERTY(EditAnywhere, BlueprintReadWrite)
254 bool UseTemporalAA = true;
255
260 UPROPERTY(EditAnywhere, BlueprintReadWrite)
261 bool UseIceLensEffect = false;
262
267 UPROPERTY(EditAnywhere, BlueprintReadWrite)
268 float IceLensEffectStrength = 0.3f;
269
273 UPROPERTY(EditAnywhere, BlueprintReadWrite)
274 float IceLensEffectAngle = 1.0f;
275};