Navigation
API > API/Plugins > API/Plugins/MetaHumanCore
| Name | FMetaHumanCurveDataController |
| Type | class |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanAnimator/Source/MetaHumanCore/Public/MetaHumanCurveDataController.h |
| Include Path | #include "MetaHumanCurveDataController.h" |
Syntax
class FMetaHumanCurveDataController
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMetaHumanCurveDataController
(
TObjectPtr< UMetaHumanContourData > InCurveData, |
MetaHumanCurveDataController.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| CurveAddRemoveThreshold | float | MetaHumanCurveDataController.h | |
| LinesPerCircle | int32 | MetaHumanCurveDataController.h | |
| PointSize | int32 | MetaHumanCurveDataController.h | |
| SelectionCaptureRange | float | MetaHumanCurveDataController.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ContourData | TObjectPtr< UMetaHumanContourData > | MetaHumanCurveDataController.h | ||
| DisplayMode | const ECurveDisplayMode | MetaHumanCurveDataController.h | ||
| OnCurvesSelectedDelegate | FOnCurvesSelectedDelegate | MetaHumanCurveDataController.h | ||
| OnGetViewportPointSelection | FOnGetViewportPointSelectionDelegate | MetaHumanCurveDataController.h | ||
| ShapeAnnotationWrapper | FShapeAnnotationWrapper | MetaHumanCurveDataController.h | ||
| UpdateContourDelegate | FSimpleMulticastDelegate | MetaHumanCurveDataController.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddRemoveKey
(
const FVector2D& InPointPosition, |
Scoped operation for adding or removing the key | MetaHumanCurveDataController.h | |
void ClearContourData() |
Removes all contour data, invalidating the initialization from config | MetaHumanCurveDataController.h | |
void ClearDrawData() |
Clears displayed data but keeps controller initialization with whatever last data was set | MetaHumanCurveDataController.h | |
void GenerateCurvesFromControlVertices() |
MetaHumanCurveDataController.h | ||
void GenerateDrawDataForDensePoints() |
MetaHumanCurveDataController.h | ||
TArray< FControlVertex > GetAllVisibleControlVertices() |
MetaHumanCurveDataController.h | ||
const TObjectPtr< UMetaHumanContourData > GetContourData() |
MetaHumanCurveDataController.h | ||
TArray< FString > GetCurveNamesForPointId
(
const int32 InPointId |
MetaHumanCurveDataController.h | ||
TPair< bool, bool > GetCurveSelectedAndActiveStatus
(
const FString& InCurve |
Checks if the curve is selected or active | MetaHumanCurveDataController.h | |
FOnCurvesSelectedDelegate & GetCurvesSelectedDelegate() |
MetaHumanCurveDataController.h | ||
| MetaHumanCurveDataController.h | |||
| MetaHumanCurveDataController.h | |||
TArray< int32 > GetPointIdsWithEndPointsForCurve
(
const FString& InCurveName |
MetaHumanCurveDataController.h | ||
void HandleUndoOperation() |
Triggers relevant updates to draw data after the undo operation | MetaHumanCurveDataController.h | |
void InitializeContoursFromConfig
(
const FFrameTrackingContourData& InDefaultContourData, |
Sets up the curve list from config along with default data to be displayed | MetaHumanCurveDataController.h | |
void MoveSelectedPoint
(
const FVector2D& InNewPosition, |
Moves a single point to a mouse cursor in image space | MetaHumanCurveDataController.h | |
void OffsetSelectedPoints
(
const TSet< int32 >& InSelectedPoints, |
Moves selected points by a provided offset | MetaHumanCurveDataController.h | |
void ResolveCurveSelectionFromSelectedPoints
(
const TSet< int32 >& InSelectedPoints |
Updates the selection of contour data based of individually selected points | MetaHumanCurveDataController.h | |
void ResolvePointSelectionOnCurveVisibilityChanged
(
const TArray< FString >& InCurveNames, |
Resolves end point selection when these points belong to multiple curves | MetaHumanCurveDataController.h | |
void SetCurveSelection
(
const TSet< FString >& InSelectedCurves, |
Updates the selection of contour data & emits the signal for relevant updates | MetaHumanCurveDataController.h | |
FSimpleMulticastDelegate & TriggerContourUpdate() |
MetaHumanCurveDataController.h | ||
void UpdateDensePointsAfterDragging
(
const TSet< int32 >& InDraggedIds |
Update the original dense points data to represent the modified curve | MetaHumanCurveDataController.h | |
void UpdateFromContourData
(
const FFrameTrackingContourData& InTrackingData, |
Updates the tracking contour data present in config & relevant data to display those curves | MetaHumanCurveDataController.h | |
void UpdateIndividualCurves
(
const FFrameTrackingContourData& InTrackingData |
Updates individual curves, keeping reduced data of other curves intact | MetaHumanCurveDataController.h | |
FOnGetViewportPointSelectionDelegate & ViewportPointSelectionRetrieverDelegate() |
MetaHumanCurveDataController.h |