Base class for sensors using a USceneCaptureComponent2D for rendering the scene. More...
#include <SceneCaptureSensor.h>
Public Member Functions | |
bool | ArePostProcessingEffectsEnabled () const |
ASceneCaptureSensor (const FObjectInitializer &ObjectInitializer) | |
void | Enable16BitFormat (bool Enable=false) |
void | EnablePostProcessingEffects (bool Enable=true) |
void | EnqueueRenderSceneImmediate () |
Immediate enqueues render commands of the scene at the current time. More... | |
float | GetAperture () const |
int | GetBladeCount () const |
float | GetBloomIntensity () const |
USceneCaptureComponent2D * | GetCaptureComponent2D () |
UTextureRenderTarget2D * | GetCaptureRenderTarget () |
float | GetChromAberrIntensity () const |
float | GetChromAberrOffset () const |
float | GetDepthBlurAmount () const |
float | GetDepthBlurRadius () const |
float | GetDepthOfFieldMinFstop () const |
float | GetExposureCalibrationConstant () const |
float | GetExposureCompensation () const |
float | GetExposureMaxBrightness () const |
EAutoExposureMethod | GetExposureMethod () const |
float | GetExposureMinBrightness () const |
float | GetExposureSpeedDown () const |
float | GetExposureSpeedUp () const |
float | GetFilmBlackClip () const |
float | GetFilmShoulder () const |
float | GetFilmSlope () const |
float | GetFilmToe () const |
float | GetFilmWhiteClip () const |
float | GetFocalDistance () const |
float | GetFOVAngle () const |
uint32 | GetImageHeight () const |
uint32 | GetImageWidth () const |
float | GetISO () const |
float | GetLensFlareIntensity () const |
float | GetMotionBlurIntensity () const |
float | GetMotionBlurMaxDistortion () const |
float | GetMotionBlurMinObjectScreenSize () const |
float | GetShutterSpeed () const |
float | GetTargetGamma () const |
float | GetWhiteTemp () const |
float | GetWhiteTint () const |
bool | Is16BitFormatEnabled () const |
bool | ReadPixels (TArray< FColor > &BitMap) const |
Use for debugging purposes only. More... | |
void | SaveCaptureToDisk (const FString &FilePath) const |
Use for debugging purposes only. More... | |
void | Set (const FActorDescription &ActorDescription) override |
void | SetAperture (float Aperture) |
void | SetBladeCount (int Count) |
void | SetBloomIntensity (float Intensity) |
void | SetChromAberrIntensity (float Intensity) |
void | SetChromAberrOffset (float ChromAberrOffset) |
void | SetDepthBlurAmount (float Amount) |
void | SetDepthBlurRadius (float Radius) |
void | SetDepthOfFieldMinFstop (float MinFstop) |
void | SetExposureCalibrationConstant (float Constant) |
void | SetExposureCompensation (float Compensation) |
void | SetExposureMaxBrightness (float Brightness) |
void | SetExposureMethod (EAutoExposureMethod Method) |
void | SetExposureMinBrightness (float Brightness) |
void | SetExposureSpeedDown (float Speed) |
void | SetExposureSpeedUp (float Speed) |
void | SetFilmBlackClip (float BlackClip) |
void | SetFilmShoulder (float Shoulder) |
void | SetFilmSlope (float Slope) |
void | SetFilmToe (float Toe) |
void | SetFilmWhiteClip (float WhiteClip) |
void | SetFocalDistance (float Distance) |
void | SetFOVAngle (float FOVAngle) |
void | SetImageSize (uint32 Width, uint32 Height) |
void | SetISO (float ISO) |
void | SetLensFlareIntensity (float Intensity) |
void | SetMotionBlurIntensity (float Intensity) |
void | SetMotionBlurMaxDistortion (float MaxDistortion) |
void | SetMotionBlurMinObjectScreenSize (float ScreenSize) |
void | SetShutterSpeed (float Speed) |
void | SetTargetGamma (float InTargetGamma) |
void | SetWhiteTemp (float Temp) |
void | SetWhiteTint (float Tint) |
void | WaitForRenderThreadToFinish () |
Blocks until the render thread has finished all it's tasks. More... | |
Public Member Functions inherited from ASensor | |
ASensor (const FObjectInitializer &ObjectInitializer) | |
boost::optional< FActorAttribute > | GetAttribute (const FString Name) |
const UCarlaEpisode & | GetEpisode () const |
URandomEngine * | GetRandomEngine () |
int32 | GetSeed () const |
auto | GetToken () const |
Return the token that allows subscribing to this sensor's stream. More... | |
bool | IsStreamReady () |
FDataStream | MoveDataStream () |
virtual void | OnFirstClientConnected () |
virtual void | OnLastClientDisconnected () |
void | PostPhysTickInternal (UWorld *World, ELevelTick TickType, float DeltaSeconds) |
void | SetDataStream (FDataStream InStream) |
Replace the FDataStream associated with this sensor. More... | |
void | SetEpisode (const UCarlaEpisode &InEpisode) |
void | SetSeed (int32 InSeed) |
void | Tick (const float DeltaTime) final |
Protected Member Functions | |
virtual void | BeginPlay () override |
void | CaptureSceneExtended () |
virtual void | EndPlay (const EEndPlayReason::Type EndPlayReason) override |
virtual void | PostPhysTick (UWorld *World, ELevelTick TickType, float DeltaTime) override |
virtual void | PrePhysTick (float DeltaSeconds) override |
virtual void | SendGBufferTextures (FGBufferRequest &GBuffer) |
template<typename T > | |
void | SendGBufferTexturesInternal (T &Self, FGBufferRequest &GBufferData) |
virtual void | SetUpSceneCaptureComponent (USceneCaptureComponent2D &SceneCapture) |
Protected Member Functions inherited from ASensor | |
void | EndPlay (EEndPlayReason::Type EndPlayReason) override |
template<typename SensorT > | |
FAsyncDataStream | GetDataStream (const SensorT &Self) |
Return the FDataStream associated with this sensor. More... | |
void | PostActorCreated () override |
Protected Attributes | |
bool | bEnable16BitFormat = false |
Whether to change render target format to PF_A16B16G16R16, offering 16bit / channel. More... | |
bool | bEnablePostProcessingEffects = true |
Whether to render the post-processing effects present in the scene. More... | |
USceneCaptureComponent2D_CARLA * | CaptureComponent2D = nullptr |
Scene capture component. More... | |
UTextureRenderTarget2D * | CaptureRenderTarget = nullptr |
Render target necessary for scene capture. More... | |
uint32 | ImageHeight = 600u |
Image height in pixels. More... | |
uint32 | ImageWidth = 800u |
Image width in pixels. More... | |
float | TargetGamma = 2.4f |
Protected Attributes inherited from ASensor | |
bool | bIsActive = false |
URandomEngine * | RandomEngine = nullptr |
Random Engine used to provide noise for sensor output. More... | |
int32 | Seed = 123456789 |
Seed of the pseudo-random engine. More... | |
Static Private Member Functions | |
template<typename SensorT , typename CameraGBufferT > | |
static void | SendGBuffer (SensorT &Self, CameraGBufferT &CameraGBuffer, FGBufferRequest &GBufferData, EGBufferTextureID TextureID) |
Friends | |
class | ACarlaGameModeBase |
class | FPixelReader |
class | FPixelReader2 |
Base class for sensors using a USceneCaptureComponent2D for rendering the scene.
This class does not capture data, use FPixelReader::SendPixelsInRenderThread(*this)
in derived classes.
To access the USceneCaptureComponent2D override the SetUpSceneCaptureComponent function.
Definition at line 126 of file SceneCaptureSensor.h.
ASceneCaptureSensor::ASceneCaptureSensor | ( | const FObjectInitializer & | ObjectInitializer | ) |
Definition at line 42 of file SceneCaptureSensor.cpp.
References CaptureComponent2D, CaptureRenderTarget, SCENE_CAPTURE_COUNTER, SceneCaptureSensor_local_ns::SetCameraDefaultOverrides(), and USceneCaptureComponent2D_CARLA::ViewActor.
|
inline |
Definition at line 159 of file SceneCaptureSensor.h.
|
overrideprotectedvirtual |
Reimplemented from ASensor.
Reimplemented in ASceneCaptureCamera.
Definition at line 547 of file SceneCaptureSensor.cpp.
References bEnable16BitFormat, bEnablePostProcessingEffects, CaptureComponent2D, CaptureRenderTarget, SceneCaptureSensor_local_ns::ConfigureShowFlags(), ASensor::GetEpisode(), UCarlaEpisode::GetWeather(), ImageHeight, ImageWidth, IsValid(), AWeather::NotifyWeather(), SetUpSceneCaptureComponent(), and TargetGamma.
|
protected |
Definition at line 486 of file SceneCaptureSensor.cpp.
References CameraGBuffers, CaptureComponent2D, USceneCaptureComponent2D_CARLA::GetViewOwner(), Prior, and SendGBufferTextures().
|
inline |
Definition at line 165 of file SceneCaptureSensor.h.
Referenced by ANormalsCamera::ANormalsCamera(), and AOpticalFlowCamera::AOpticalFlowCamera().
|
inline |
Definition at line 153 of file SceneCaptureSensor.h.
Referenced by ADVSCamera::ADVSCamera(), and UActorBlueprintFunctionLibrary::SetCamera().
|
overrideprotectedvirtual |
Reimplemented in ASceneCaptureCamera.
Definition at line 607 of file SceneCaptureSensor.cpp.
References SCENE_CAPTURE_COUNTER.
void ASceneCaptureSensor::EnqueueRenderSceneImmediate | ( | ) |
Immediate enqueues render commands of the scene at the current time.
Definition at line 450 of file SceneCaptureSensor.cpp.
References GetCaptureComponent2D().
Referenced by ADVSCamera::PostPhysTick().
float ASceneCaptureSensor::GetAperture | ( | ) | const |
Definition at line 156 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
int ASceneCaptureSensor::GetBladeCount | ( | ) | const |
Definition at line 216 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetBloomIntensity | ( | ) | const |
Definition at line 396 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
|
inline |
Definition at line 385 of file SceneCaptureSensor.h.
Referenced by AWeather::CheckWeatherPostProcessEffects(), EnqueueRenderSceneImmediate(), and AInstanceSegmentationCamera::PostPhysTick().
|
inline |
Definition at line 391 of file SceneCaptureSensor.h.
float ASceneCaptureSensor::GetChromAberrIntensity | ( | ) | const |
Definition at line 432 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetChromAberrOffset | ( | ) | const |
Definition at line 444 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetDepthBlurAmount | ( | ) | const |
Definition at line 180 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetDepthBlurRadius | ( | ) | const |
Definition at line 192 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetDepthOfFieldMinFstop | ( | ) | const |
Definition at line 204 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetExposureCalibrationConstant | ( | ) | const |
Definition at line 336 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetExposureCompensation | ( | ) | const |
Definition at line 120 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetExposureMaxBrightness | ( | ) | const |
Definition at line 300 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
EAutoExposureMethod ASceneCaptureSensor::GetExposureMethod | ( | ) | const |
Definition at line 102 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetExposureMinBrightness | ( | ) | const |
Definition at line 288 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetExposureSpeedDown | ( | ) | const |
Definition at line 312 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetExposureSpeedUp | ( | ) | const |
Definition at line 324 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetFilmBlackClip | ( | ) | const |
Definition at line 264 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetFilmShoulder | ( | ) | const |
Definition at line 252 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetFilmSlope | ( | ) | const |
Definition at line 228 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetFilmToe | ( | ) | const |
Definition at line 240 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetFilmWhiteClip | ( | ) | const |
Definition at line 276 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetFocalDistance | ( | ) | const |
Definition at line 168 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetFOVAngle | ( | ) | const |
Definition at line 90 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
|
inline |
Definition at line 147 of file SceneCaptureSensor.h.
Referenced by ADVSCamera::ImageToGray(), ADVSCamera::ImageToLogGray(), and ADVSCamera::Simulation().
|
inline |
Definition at line 142 of file SceneCaptureSensor.h.
Referenced by ADVSCamera::ImageToGray(), ADVSCamera::ImageToLogGray(), and ADVSCamera::Simulation().
float ASceneCaptureSensor::GetISO | ( | ) | const |
Definition at line 144 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetLensFlareIntensity | ( | ) | const |
Definition at line 384 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetMotionBlurIntensity | ( | ) | const |
Definition at line 348 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetMotionBlurMaxDistortion | ( | ) | const |
Definition at line 360 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetMotionBlurMinObjectScreenSize | ( | ) | const |
Definition at line 372 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetShutterSpeed | ( | ) | const |
Definition at line 132 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
|
inline |
Definition at line 189 of file SceneCaptureSensor.h.
float ASceneCaptureSensor::GetWhiteTemp | ( | ) | const |
Definition at line 408 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
float ASceneCaptureSensor::GetWhiteTint | ( | ) | const |
Definition at line 420 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
|
inline |
Definition at line 171 of file SceneCaptureSensor.h.
|
overrideprotectedvirtual |
Reimplemented from ASensor.
Reimplemented in ADVSCamera, ASceneCaptureCamera, AInstanceSegmentationCamera, ADepthCamera, ANormalsCamera, ASemanticSegmentationCamera, and AOpticalFlowCamera.
Definition at line 602 of file SceneCaptureSensor.cpp.
|
overrideprotectedvirtual |
Reimplemented from ASensor.
Definition at line 590 of file SceneCaptureSensor.cpp.
References CaptureComponent2D, carla::client::detail::Get(), and ImageWidth.
|
inline |
Use for debugging purposes only.
Definition at line 370 of file SceneCaptureSensor.h.
References FPixelReader::WritePixelsToArray().
Referenced by ADVSCamera::PostPhysTick().
|
inline |
Use for debugging purposes only.
Definition at line 378 of file SceneCaptureSensor.h.
References FPixelReader::SavePixelsToDisk().
|
inlinestaticprivate |
Definition at line 469 of file SceneCaptureSensor.h.
References ImageUtil::DecodePixelsByFormat().
|
protectedvirtual |
Reimplemented in ASceneCaptureCamera.
Definition at line 542 of file SceneCaptureSensor.cpp.
References SendGBufferTexturesInternal().
Referenced by CaptureSceneExtended().
|
inlineprotected |
Definition at line 535 of file SceneCaptureSensor.h.
Referenced by ASceneCaptureCamera::SendGBufferTextures(), and SendGBufferTextures().
|
overridevirtual |
Reimplemented from ASensor.
Reimplemented in AShaderBasedSensor.
Definition at line 72 of file SceneCaptureSensor.cpp.
References UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetAperture | ( | float | Aperture | ) |
Definition at line 150 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetBladeCount | ( | int | Count | ) |
Definition at line 210 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetBloomIntensity | ( | float | Intensity | ) |
Definition at line 390 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetChromAberrIntensity | ( | float | Intensity | ) |
Definition at line 426 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetChromAberrOffset | ( | float | ChromAberrOffset | ) |
Definition at line 438 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetDepthBlurAmount | ( | float | Amount | ) |
Definition at line 174 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetDepthBlurRadius | ( | float | Radius | ) |
Definition at line 186 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetDepthOfFieldMinFstop | ( | float | MinFstop | ) |
Definition at line 198 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetExposureCalibrationConstant | ( | float | Constant | ) |
Definition at line 330 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetExposureCompensation | ( | float | Compensation | ) |
Definition at line 108 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetExposureMaxBrightness | ( | float | Brightness | ) |
Definition at line 294 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetExposureMethod | ( | EAutoExposureMethod | Method | ) |
Definition at line 96 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetExposureMinBrightness | ( | float | Brightness | ) |
Definition at line 282 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetExposureSpeedDown | ( | float | Speed | ) |
Definition at line 306 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetExposureSpeedUp | ( | float | Speed | ) |
Definition at line 318 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetFilmBlackClip | ( | float | BlackClip | ) |
Definition at line 258 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetFilmShoulder | ( | float | Shoulder | ) |
Definition at line 246 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetFilmSlope | ( | float | Slope | ) |
Definition at line 222 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetFilmToe | ( | float | Toe | ) |
Definition at line 234 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetFilmWhiteClip | ( | float | WhiteClip | ) |
Definition at line 270 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetFocalDistance | ( | float | Distance | ) |
Definition at line 162 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetFOVAngle | ( | float | FOVAngle | ) |
Definition at line 84 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetImageSize | ( | uint32 | Width, |
uint32 | Height | ||
) |
Definition at line 78 of file SceneCaptureSensor.cpp.
References ImageHeight, and ImageWidth.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetISO | ( | float | ISO | ) |
Definition at line 138 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetLensFlareIntensity | ( | float | Intensity | ) |
Definition at line 378 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetMotionBlurIntensity | ( | float | Intensity | ) |
Definition at line 342 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetMotionBlurMaxDistortion | ( | float | MaxDistortion | ) |
Definition at line 354 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetMotionBlurMinObjectScreenSize | ( | float | ScreenSize | ) |
Definition at line 366 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetShutterSpeed | ( | float | Speed | ) |
Definition at line 126 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
|
inline |
Definition at line 183 of file SceneCaptureSensor.h.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
|
inlineprotectedvirtual |
Reimplemented in AShaderBasedSensor, and AInstanceSegmentationCamera.
Definition at line 435 of file SceneCaptureSensor.h.
Referenced by BeginPlay().
void ASceneCaptureSensor::SetWhiteTemp | ( | float | Temp | ) |
Definition at line 402 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
void ASceneCaptureSensor::SetWhiteTint | ( | float | Tint | ) |
Definition at line 414 of file SceneCaptureSensor.cpp.
References CaptureComponent2D.
Referenced by UActorBlueprintFunctionLibrary::SetCamera().
|
inline |
Blocks until the render thread has finished all it's tasks.
Definition at line 400 of file SceneCaptureSensor.h.
Referenced by ADVSCamera::PostPhysTick().
|
friend |
Definition at line 130 of file SceneCaptureSensor.h.
|
friend |
Definition at line 131 of file SceneCaptureSensor.h.
|
friend |
Definition at line 132 of file SceneCaptureSensor.h.
|
protected |
Whether to change render target format to PF_A16B16G16R16, offering 16bit / channel.
Definition at line 462 of file SceneCaptureSensor.h.
Referenced by BeginPlay().
|
protected |
Whether to render the post-processing effects present in the scene.
Definition at line 458 of file SceneCaptureSensor.h.
Referenced by BeginPlay().
struct { ... } ASceneCaptureSensor::CameraGBuffers |
Referenced by FCarlaServer::FPimpl::BindActions(), and CaptureSceneExtended().
|
protected |
Scene capture component.
Definition at line 443 of file SceneCaptureSensor.h.
Referenced by ASceneCaptureSensor(), BeginPlay(), CaptureSceneExtended(), GetAperture(), GetBladeCount(), GetBloomIntensity(), GetChromAberrIntensity(), GetChromAberrOffset(), GetDepthBlurAmount(), GetDepthBlurRadius(), GetDepthOfFieldMinFstop(), GetExposureCalibrationConstant(), GetExposureCompensation(), GetExposureMaxBrightness(), GetExposureMethod(), GetExposureMinBrightness(), GetExposureSpeedDown(), GetExposureSpeedUp(), GetFilmBlackClip(), GetFilmShoulder(), GetFilmSlope(), GetFilmToe(), GetFilmWhiteClip(), GetFocalDistance(), GetFOVAngle(), GetISO(), GetLensFlareIntensity(), GetMotionBlurIntensity(), GetMotionBlurMaxDistortion(), GetMotionBlurMinObjectScreenSize(), GetShutterSpeed(), GetWhiteTemp(), GetWhiteTint(), PrePhysTick(), SetAperture(), SetBladeCount(), SetBloomIntensity(), SetChromAberrIntensity(), SetChromAberrOffset(), SetDepthBlurAmount(), SetDepthBlurRadius(), SetDepthOfFieldMinFstop(), SetExposureCalibrationConstant(), SetExposureCompensation(), SetExposureMaxBrightness(), SetExposureMethod(), SetExposureMinBrightness(), SetExposureSpeedDown(), SetExposureSpeedUp(), SetFilmBlackClip(), SetFilmShoulder(), SetFilmSlope(), SetFilmToe(), SetFilmWhiteClip(), SetFocalDistance(), SetFOVAngle(), SetISO(), SetLensFlareIntensity(), SetMotionBlurIntensity(), SetMotionBlurMaxDistortion(), SetMotionBlurMinObjectScreenSize(), SetShutterSpeed(), SetWhiteTemp(), and SetWhiteTint().
|
protected |
Render target necessary for scene capture.
Definition at line 439 of file SceneCaptureSensor.h.
Referenced by ASceneCaptureSensor(), BeginPlay(), and ADVSCamera::PostPhysTick().
FCameraGBufferUint8 ASceneCaptureSensor::CustomDepth |
Definition at line 418 of file SceneCaptureSensor.h.
Referenced by FCarlaServer::FPimpl::BindActions().
FCameraGBufferUint8 ASceneCaptureSensor::CustomStencil |
Definition at line 419 of file SceneCaptureSensor.h.
Referenced by FCarlaServer::FPimpl::BindActions().
FCameraGBufferUint8 ASceneCaptureSensor::GBufferA |
Definition at line 410 of file SceneCaptureSensor.h.
Referenced by FCarlaServer::FPimpl::BindActions().
FCameraGBufferUint8 ASceneCaptureSensor::GBufferB |
Definition at line 411 of file SceneCaptureSensor.h.
Referenced by FCarlaServer::FPimpl::BindActions().
FCameraGBufferUint8 ASceneCaptureSensor::GBufferC |
Definition at line 412 of file SceneCaptureSensor.h.
Referenced by FCarlaServer::FPimpl::BindActions().
FCameraGBufferUint8 ASceneCaptureSensor::GBufferD |
Definition at line 413 of file SceneCaptureSensor.h.
Referenced by FCarlaServer::FPimpl::BindActions().
FCameraGBufferUint8 ASceneCaptureSensor::GBufferE |
Definition at line 414 of file SceneCaptureSensor.h.
Referenced by FCarlaServer::FPimpl::BindActions().
FCameraGBufferUint8 ASceneCaptureSensor::GBufferF |
Definition at line 415 of file SceneCaptureSensor.h.
Referenced by FCarlaServer::FPimpl::BindActions().
|
protected |
Image height in pixels.
Definition at line 454 of file SceneCaptureSensor.h.
Referenced by BeginPlay(), and SetImageSize().
|
protected |
Image width in pixels.
Definition at line 450 of file SceneCaptureSensor.h.
Referenced by BeginPlay(), PrePhysTick(), and SetImageSize().
FCameraGBufferUint8 ASceneCaptureSensor::SceneColor |
Definition at line 407 of file SceneCaptureSensor.h.
Referenced by FCarlaServer::FPimpl::BindActions().
FCameraGBufferUint8 ASceneCaptureSensor::SceneDepth |
Definition at line 408 of file SceneCaptureSensor.h.
Referenced by FCarlaServer::FPimpl::BindActions().
FCameraGBufferUint8 ASceneCaptureSensor::SceneStencil |
Definition at line 409 of file SceneCaptureSensor.h.
Referenced by FCarlaServer::FPimpl::BindActions().
FCameraGBufferUint8 ASceneCaptureSensor::SSAO |
Definition at line 417 of file SceneCaptureSensor.h.
Referenced by FCarlaServer::FPimpl::BindActions().
|
protected |
Definition at line 446 of file SceneCaptureSensor.h.
Referenced by BeginPlay().
FCameraGBufferUint8 ASceneCaptureSensor::Velocity |
Definition at line 416 of file SceneCaptureSensor.h.
Referenced by FCarlaServer::FPimpl::BindActions().