Navigation
API > API/Plugins > API/Plugins/CameraCalibrationCore
Dynamic Charuco board actor for camera calibration
| Name | ACameraCalibrationCharucoBoard |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/CameraCalibrationCore/Source/CameraCalibrationCore/Public/CameraCalibrationCharucoBoard.h |
| Include Path | #include "CameraCalibrationCharucoBoard.h" |
Syntax
UCLASS (MinimalAPI)
class ACameraCalibrationCharucoBoard : public AActor
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → ACameraCalibrationCharucoBoard
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ACameraCalibrationCharucoBoard() |
CameraCalibrationCharucoBoard.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ArucoDictionary | EArucoDictionaryShadow | ArUco dictionary to use for markers | CameraCalibrationCharucoBoard.h |
|
| BoardMaterial | TObjectPtr< UMaterialInterface > | The material to apply the Charuco pattern to | CameraCalibrationCharucoBoard.h |
|
| BoardMesh | TObjectPtr< UStaticMesh > | The static mesh to use for the board | CameraCalibrationCharucoBoard.h |
|
| BottomLeft | TObjectPtr< UCalibrationPointComponent > | BottomLeft calibration point | CameraCalibrationCharucoBoard.h |
|
| BottomRight | TObjectPtr< UCalibrationPointComponent > | BottomRight calibration point | CameraCalibrationCharucoBoard.h |
|
| Center | TObjectPtr< UCalibrationPointComponent > | Center calibration point | CameraCalibrationCharucoBoard.h |
|
| MarkerSizeRatio | float | Size of the ArUco markers relative to square size (0.0 - 1.0) | CameraCalibrationCharucoBoard.h |
|
| MaxTextureResolution | int32 | Maximum dimension of the generated texture. | CameraCalibrationCharucoBoard.h |
|
| NumCornerCols | int32 | Number of inner corner columns (same convention as checkerboard) | CameraCalibrationCharucoBoard.h |
|
| NumCornerRows | int32 | Number of inner corner rows (same convention as checkerboard) | CameraCalibrationCharucoBoard.h |
|
| Root | TObjectPtr< USceneComponent > | Root component, gives the Actor a transform | CameraCalibrationCharucoBoard.h |
|
| SquareSideLength | float | Length of the side of each square (in cm) | CameraCalibrationCharucoBoard.h |
|
| Thickness | float | Thickness of the board (not used for calibration) | CameraCalibrationCharucoBoard.h |
|
| TopLeft | TObjectPtr< UCalibrationPointComponent > | TopLeft calibration point | CameraCalibrationCharucoBoard.h |
|
| TopRight | TObjectPtr< UCalibrationPointComponent > | TopRight calibration point | CameraCalibrationCharucoBoard.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BoardMeshComponent | TObjectPtr< UStaticMeshComponent > | Mesh component for the board | CameraCalibrationCharucoBoard.h |
|
| CharucoBoardTexture | TObjectPtr< UTexture2D > | Generated texture containing the Charuco pattern | CameraCalibrationCharucoBoard.h |
|
| DynamicBoardMaterial | TObjectPtr< UMaterialInstanceDynamic > | Dynamic material instance for displaying the pattern | CameraCalibrationCharucoBoard.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UTexture2D * GetCharucoBoardTexture() |
Get the generated Charuco board texture | CameraCalibrationCharucoBoard.h |
|
FVector GetCornerPosition
(
int32 CornerId |
Get the 3D position of a specific corner by its ID | CameraCalibrationCharucoBoard.h |
|
int32 GetNumCorners() |
Get the total number of corners in the Charuco board | CameraCalibrationCharucoBoard.h |
|
void Rebuild() |
Rebuilds the board mesh and generates the Charuco pattern texture | CameraCalibrationCharucoBoard.h |
|
Public Virtual
Overridden from AActor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnConstruction
(
const FTransform& Transform |
CameraCalibrationCharucoBoard.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
CameraCalibrationCharucoBoard.h |