Navigation
API > API/Plugins > API/Plugins/CameraCalibrationCore
Inheritance Hierarchy
- UObject
- UCameraNodalOffsetAlgo
References
| Module | CameraCalibrationCore |
| Header | /Engine/Plugins/VirtualProduction/CameraCalibrationCore/Source/CameraCalibrationCore/Public/CameraNodalOffsetAlgo.h |
| Include | #include "CameraNodalOffsetAlgo.h" |
Syntax
UCLASS (Abstract)
class UCameraNodalOffsetAlgo : public UObject
Remarks
UCameraNodalOffsetAlgo defines the interface that any nodal calibration point algorithm should implement in order to be used and listed by the Nodal Offset Tool.
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< SWidget > | Called to present the user with instructions on how to use this algo | ||
| TSharedRef< SWidget > | BuildUI () |
Returns the UI of this calibrator. Expected to only be called once | |
| FName | FriendlyName () |
Returns a descriptive name/title for this algorithm | |
| bool | GetNodalOffset
(
FNodalPointOffset& OutNodalOffset, |
Returns the most recently calibrated nodal offset transform, with an error metric | |
| UMaterialInterface * | Returns the overlay material used by this algo (if any) | ||
| bool | Returns true if there is any existing calibration data | ||
| int32 | ImportCalibrationRow
(
const TSharedRef< FJsonObject >& CalibrationRowObject, |
Import a JsonObject of calibration data that represents a single calibration row. | |
| void | ImportSessionData
(
const TSharedRef< FJsonObject >& SessionDataObject |
Import a JsonObject of calibration data that is needed by the algorithm, but is not associated with a single row of data | |
| void | Initialize
(
UNodalOffsetTool* InNodalOffsetTool |
Make sure you initialize before using the object | |
| bool | Returns true is this algo has enabled an overlay | ||
| void | Called when the current offset was saved | ||
| bool | OnViewportClicked
(
const FGeometry& MyGeometry, |
Callback when viewport is clicked. Returns false if the event was not handled. | |
| bool | OnViewportInputKey
(
const FKey& InKey, |
Callback when viewport receives input key presses. Returns false if the event was not handled. | |
| void | Performs any necessary steps after importing a calibration dataset | ||
| void | Performs any necessary steps (such as clearing existing calibration data) before importing a calibration dataset | ||
| FName | ShortName () |
Returns a shorter name for this algorithm | |
| void | Shutdown () |
Clean up resources and don't use NodalOffsetTool anymore | |
| void | Tick
(
float DeltaTime |
Called every frame |