Navigation
API > API/Plugins > API/Plugins/CameraCalibrationCore
Lens distortion handler for a spherical lens model that implements the Brown-Conrady polynomial model
| Name | USphericalLensDistortionModelHandler |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/CameraCalibrationCore/Source/CameraCalibrationCore/Public/SphericalLensDistortionModelHandler.h |
| Include Path | #include "SphericalLensDistortionModelHandler.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class USphericalLensDistortionModelHandler : public ULensDistortionModelHandlerBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → ULensDistortionModelHandlerBase → USphericalLensDistortionModelHandler
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SphericalParameters | FSphericalDistortionParameters | Spherical lens distortion parameters (k1, k2, k3, p1, p2) | SphericalLensDistortionModelHandler.h |
Functions
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void InitDistortionMaterials() |
SphericalLensDistortionModelHandler.h | ||
virtual void InitializeHandler() |
SphericalLensDistortionModelHandler.h | ||
virtual void InterpretDistortionParameters() |
SphericalLensDistortionModelHandler.h | ||
virtual void UpdateMaterialParameters() |
SphericalLensDistortionModelHandler.h |
Overridden from ULensDistortionModelHandlerBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector2D ComputeDistortedUV
(
const FVector2D& InScreenUV |
Initialize the handler. | SphericalLensDistortionModelHandler.h | |
virtual FVector2D ComputeUndistortedUV
(
const FVector2D& InScreenUV |
Use the current distortion state to compute the undistortion position of an input UV coordinate | SphericalLensDistortionModelHandler.h |