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