Agrarsense
Public Attributes | List of all members
FCameraBaseParameters Struct Reference

#include <CameraBaseParameters.h>

Public Attributes

bool PostProcessingEffects = true
 
bool Enable16BitFormat = true
 
float FOV = 90
 
float TargetGamma = 1.0f
 
float ShutterSpeed = 60.0f
 
float ISO = 100.0f
 
int32 Width = 1280
 
int32 Height = 720
 
float FocalDistance = 0.0f
 
float DepthBlurAmount = 1.0f
 
float DepthBlurRadius = 0.0f
 
float DofMinFStop = 1.2f
 
int DofBladeCount = 5
 
float FilmSlope = 0.88f
 
float FilmToe = 0.55f
 
float FilmShoulder = 0.26f
 
float FilmBlackClip = 0.0f
 
float FilmWhiteClip = 0.04f
 
float ExposureMinBrightness = -2.0f
 
float ExposureMaxBrightness = 20.0f
 
float ExposureSpeedUp = 10.0f
 
float ExposureSpeedDown = 1.0f
 
float MotionBlurIntensity = 0.0f
 
float MotionBlurMax = 2.0f
 
float MotionBlurMinObjSize = 0.0f
 
float LensFlareIntensity = 0.0f
 
float BloomIntensity = 0.0f
 
float WhiteTemp = 6500.0f
 
float WhiteTint = 0.0f
 
float ChromAberrIntensity = 0.0f
 
float ChromAberrOffset = 0.0f
 
float Aperture = 4.0f
 
bool SaveImageToDisk = false
 
bool SendDataToROS = true
 
float TargetFrameRate = 0.0f
 
bool UsePhysicLensDistortionEffect = true
 
bool UseTemporalAA = true
 
bool UseIceLensEffect = false
 
float IceLensEffectStrength = 0.3f
 
float IceLensEffectAngle = 1.0f
 

Detailed Description

Definition at line 11 of file CameraBaseParameters.h.

Member Data Documentation

◆ Aperture

float FCameraBaseParameters::Aperture = 4.0f

Defines the opening of the camera lens, Aperture is 1/fstop, typical lens go down to f/1.2 (large opening), Larger numbers reduce the DOF effect, default = 4.0

Definition at line 217 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ BloomIntensity

float FCameraBaseParameters::BloomIntensity = 0.0f

Bloom Intensity: Multiplier for all bloom contributions >= 0: off, 1 (default, >1 brighter)

Definition at line 182 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ ChromAberrIntensity

float FCameraBaseParameters::ChromAberrIntensity = 0.0f

Scene Fringe Intensity: in percentage, Scene chromatic aberration / color fringe (camera imperfection) to simulate an artifact that happens in real-world lens, mostly visible in the image corners.

Definition at line 202 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ ChromAberrOffset

float FCameraBaseParameters::ChromAberrOffset = 0.0f

Chrome Aberration start offset: A normalized distance to the center of the framebuffer where the effect takes place.

Definition at line 209 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ DepthBlurAmount

float FCameraBaseParameters::DepthBlurAmount = 1.0f

Depth blur km for 50%

Definition at line 73 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ DepthBlurRadius

float FCameraBaseParameters::DepthBlurRadius = 0.0f

Depth blur radius in pixels at 1920x

Definition at line 79 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ DofBladeCount

int FCameraBaseParameters::DofBladeCount = 5

Defines the number of blades of the diaphragm within the lens (between 4 and 16)

Definition at line 92 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ DofMinFStop

float FCameraBaseParameters::DofMinFStop = 1.2f

Defines the maximum opening of the camera lens to control the curvature of the diaphragm. Set it to 0 to get straight blades

Definition at line 86 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ Enable16BitFormat

bool FCameraBaseParameters::Enable16BitFormat = true

Enable 16 bit format, default = true

Definition at line 25 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ ExposureMaxBrightness

float FCameraBaseParameters::ExposureMaxBrightness = 20.0f

Auto-Exposure maximum adaptation. Eye Adaptation is disabled if Min = Max

Definition at line 134 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ ExposureMinBrightness

float FCameraBaseParameters::ExposureMinBrightness = -2.0f

Auto-Exposure minimum adaptation. Eye Adaptation is disabled if Min = Max

Definition at line 128 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ ExposureSpeedDown

float FCameraBaseParameters::ExposureSpeedDown = 1.0f

In F-stops per second, should be > 0

Definition at line 146 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ ExposureSpeedUp

float FCameraBaseParameters::ExposureSpeedUp = 10.0f

In F-stops per second, should be > 0

Definition at line 140 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ FilmBlackClip

float FCameraBaseParameters::FilmBlackClip = 0.0f

Film Black clip

Definition at line 116 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ FilmShoulder

float FCameraBaseParameters::FilmShoulder = 0.26f

Film Shoulder

Definition at line 110 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ FilmSlope

float FCameraBaseParameters::FilmSlope = 0.88f

Film Slope

Definition at line 98 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ FilmToe

float FCameraBaseParameters::FilmToe = 0.55f

Film Toe

Definition at line 104 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ FilmWhiteClip

float FCameraBaseParameters::FilmWhiteClip = 0.04f

Film white clip

Definition at line 122 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ FocalDistance

float FCameraBaseParameters::FocalDistance = 0.0f

Distance in which the Deth of Field effect should be sharp, in cm

Definition at line 67 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ FOV

float FCameraBaseParameters::FOV = 90

Camera Field of view, default = 90

Definition at line 31 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ Height

int32 FCameraBaseParameters::Height = 720

Camera resolution height

Definition at line 61 of file CameraBaseParameters.h.

Referenced by ACamera::ResizeCamera(), ACamera::SetupCamera(), and AThermalCamera::UpdateThermalMaterial().

◆ IceLensEffectAngle

float FCameraBaseParameters::IceLensEffectAngle = 1.0f

Angle of the camera lens ice effect.

Definition at line 274 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ IceLensEffectStrength

float FCameraBaseParameters::IceLensEffectStrength = 0.3f

Strength of the camera lens ice effect. A higher value corresponds to a stronger ice effect on the camera lens.

Definition at line 268 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ ISO

float FCameraBaseParameters::ISO = 100.0f

Camera ISO value, default = 100

Definition at line 49 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ LensFlareIntensity

float FCameraBaseParameters::LensFlareIntensity = 0.0f

Lens Flare Intensity: Brightness scale of the image cased lens flares (linear)

Definition at line 175 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ MotionBlurIntensity

float FCameraBaseParameters::MotionBlurIntensity = 0.0f

Motion Blur Amount: Strength of motion blur, 0:off

Definition at line 153 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ MotionBlurMax

float FCameraBaseParameters::MotionBlurMax = 2.0f

Motion Blur Max: max distortion caused by motion blur, in percent of the screen width, 0:off

Definition at line 160 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ MotionBlurMinObjSize

float FCameraBaseParameters::MotionBlurMinObjSize = 0.0f

Motion Blur Per Object Size: The minimum projected screen radius for a primitive to be drawn in the velocity pass, percentage of the screen width. Smaller number causes more draw calls, default: 0%

Definition at line 168 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ PostProcessingEffects

bool FCameraBaseParameters::PostProcessingEffects = true

Enable / Disable Post Process effects

Definition at line 19 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ SaveImageToDisk

bool FCameraBaseParameters::SaveImageToDisk = false

Should we save this sensor data to disk

Definition at line 223 of file CameraBaseParameters.h.

Referenced by ACamera::FrameGrabberCapture().

◆ SendDataToROS

bool FCameraBaseParameters::SendDataToROS = true

Should we send this Lidar data to ROS topic

Definition at line 229 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ ShutterSpeed

float FCameraBaseParameters::ShutterSpeed = 60.0f

Camera shutter speed, default 60

Definition at line 43 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ TargetFrameRate

float FCameraBaseParameters::TargetFrameRate = 0.0f

Camera sensor target frame rate. A value of 0.0 means the camera captures every simulation frame. A value of 30.0 means the camera targets 30 frames per second. Note that setting a target frame rate does not guarantee that the simulation runs at the specified frame rate. It indicates the desired rate at which the camera captures frames, but the actual simulation speed may vary.

Definition at line 241 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera(), and ACamera::ShouldSimulate().

◆ TargetGamma

float FCameraBaseParameters::TargetGamma = 1.0f

Camera camma value, default = 1.0

Definition at line 37 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ UseIceLensEffect

bool FCameraBaseParameters::UseIceLensEffect = false

Enable the simulation of a camera lens icing effect. This setting allows testing scenarios where the camera lens might ice over.

Definition at line 261 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ UsePhysicLensDistortionEffect

bool FCameraBaseParameters::UsePhysicLensDistortionEffect = true

Enable the simulation of a camera lens icing effect. When set to true, this setting allows testing scenarios where the camera lens might ice over.

Definition at line 248 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ UseTemporalAA

bool FCameraBaseParameters::UseTemporalAA = true

Enable/disable temporal AA anti-aliasing on the camera

Definition at line 254 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ WhiteTemp

float FCameraBaseParameters::WhiteTemp = 6500.0f

White Temp

Definition at line 188 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ WhiteTint

float FCameraBaseParameters::WhiteTint = 0.0f

White Tint

Definition at line 194 of file CameraBaseParameters.h.

Referenced by ACamera::SetupCamera().

◆ Width

int32 FCameraBaseParameters::Width = 1280

Camera resolution width

Definition at line 55 of file CameraBaseParameters.h.

Referenced by ACamera::ResizeCamera(), ACamera::SetupCamera(), and AThermalCamera::UpdateThermalMaterial().


The documentation for this struct was generated from the following file: