Navigation
API > API/Plugins > API/Plugins/CameraCalibrationCore > API/Plugins/CameraCalibrationCore/Models
Inheritance Hierarchy
References
| Module | CameraCalibrationCore |
| Header | /Engine/Plugins/VirtualProduction/CameraCalibrationCore/Source/CameraCalibrationCore/Public/Models/LensModel.h |
| Include | #include "Models/LensModel.h" |
Syntax
UCLASS&40;Abstract&41;
class ULensModel : public UObject
Remarks
Abstract base class for lens models
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Populate the float fields in the destination struct with the values in the source array Note: the template type must be a UStruct | ||
| void | FromArray_Internal
(
UScriptStruct* TypeStruct, |
Internal implementation of FromArray. See declaration of public template method. | |
| void | GetDefaultParameterArray
(
TArray< float >& OutParameterValues |
Returns an array of floats representing the default values of each property in the parameter struct | |
| TSubclassOf< ULensDistortionModelHandlerBase > | GetHandlerClass
(
TSubclassOf< ULensModel > LensModel |
Returns the first handler that supports the given LensModel | |
| FName | GetModelName () |
Get the lens model name | |
| uint32 | Get the number of float fields in the parameter struct supported by this model | ||
| TArray< FText > | Get the names of each float parameters supported by this model | ||
| UScriptStruct * | Get the struct of distortion parameters supported by this model | ||
| FName | Get the lens model short name | ||
| void | Fill the destination array of floats with the values of the fields in the source struct Note: the template type must be a UStruct | ||
| void | ToArray
(
const FStructOnScope& SrcData, |
ToArray specialization taking a StructOnScope containing type and data | |
| void | ToArray_Internal
(
const UScriptStruct* TypeStruct, |
Internal implementation of ToArray. See declaration of public template method. |