Navigation
API > API/Plugins > API/Plugins/MetaHumanImageViewerEditor
| Name | STrackerImageViewer |
| Type | class |
| Header File | /Engine/Plugins/MetaHuman/MetaHumanAnimator/Source/MetaHumanImageViewerEditor/Public/STrackerImageViewer.h |
| Include Path | #include "STrackerImageViewer.h" |
Syntax
class STrackerImageViewer : public SABImage
Inheritance Hierarchy
- FGCObject → SABImage → STrackerImageViewer
- FSharedFromThisBase → TSharedFromThis → SWidget → SLeafWidget → SImage → SMetaHumanImageViewer → SABImage → STrackerImageViewer
- FSlateControlledConstruction → SWidget → SLeafWidget → SImage → SMetaHumanImageViewer → SABImage → STrackerImageViewer
Structs
| Name | Remarks |
|---|---|
| FArguments |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DistanceToCurveForHighlighting | float | STrackerImageViewer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
STrackerImageViewer.h | ||
FVector2D GetPointPositionOnImage
(
const FVector2D& InScreenPosition, |
Returns image coordinates for specified screen position | STrackerImageViewer.h | |
TSet< int32 > & GetViewportSelectedPointIds() |
Returns a reference to selected points ids stored in the viewport | STrackerImageViewer.h | |
void ResetTrackerImageScreenRect
(
const FBox2D& InTrackerScreenRect |
Set the tracker image screen rect used to place the tracking contours in the correct location on screen. | STrackerImageViewer.h | |
void SetDataControllerForCurrentFrame
(
TSharedPtr< class FMetaHumanCurveDataController > InShapeAnnotation |
STrackerImageViewer.h | ||
void SetEditCurvesAndPointsEnabled
(
bool bInCanEdit |
Sets whether or not the points and curves can be edited user interaction | STrackerImageViewer.h | |
void SetTrackerImageSize
(
const FIntPoint& InTrackerImageSize |
Sets the size of the underlying tracker image. | STrackerImageViewer.h | |
void UpdateCurveSelection
(
bool bClearPointSelection |
A function connected to a callback in controller when curve selection is changed | STrackerImageViewer.h | |
void UpdateDisplayedDataForWidget() |
Update visual data for points and curves on this widget from underlying contour data | STrackerImageViewer.h | |
void UpdatePointPositionFullCurve
(
IConsoleVariable* InVar |
A wrapper around Update point position for CVar | STrackerImageViewer.h |
Overridden from SMetaHumanImageViewer
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| STrackerImageViewer.h | |||
virtual FReply OnMouseButtonDown
(
const FGeometry& InGeometry, |
STrackerImageViewer.h | ||
virtual FReply OnMouseButtonUp
(
const FGeometry& InGeometry, |
STrackerImageViewer.h | ||
virtual FReply OnMouseMove
(
const FGeometry& InGeometry, |
STrackerImageViewer.h | ||
virtual FReply OnMouseWheel
(
const FGeometry& InGeometry, |
STrackerImageViewer.h | ||
virtual int32 OnPaint
(
const FPaintArgs& InArgs, |
STrackerImageViewer.h | ||
virtual void ResetView() |
STrackerImageViewer.h | ||
virtual bool SupportsKeyboardFocus() |
STrackerImageViewer.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddRemoveKey
(
const FVector2D& InMousePos, |
STrackerImageViewer.h | ||
bool CanEditCurvesAndPoints() |
STrackerImageViewer.h | ||
void DrawControlVertices
(
FSlateWindowElementList& OutDrawElements, |
STrackerImageViewer.h | ||
void DrawTrackingCurves
(
FSlateWindowElementList& OutDrawElements, |
STrackerImageViewer.h | ||
void DrawTrackingCurvesFromAllPoints
(
FSlateWindowElementList& OutDrawElements, |
STrackerImageViewer.h | ||
TPair< FString, FVector2D > GetClosestInsertionPosition
(
const FVector2D& InMousePosition, |
Returns a curve name and closest position on that curve to mouse pos. | STrackerImageViewer.h | |
| Returns the map of curves with corresponding dense spline point ID within a check distance from mouse | STrackerImageViewer.h | ||
FLinearColor GetCurveColor
(
const FString& InCurveName |
STrackerImageViewer.h | ||
TArray< FVector2D > GetPointAtPosition
(
const FVector2D& InScreenPosition |
STrackerImageViewer.h | ||
FLinearColor GetPointColor
(
const int32 InPointID |
STrackerImageViewer.h | ||
FVector2D GetPointPositionOnScreen
(
const FVector2D& InOriginalPosition, |
STrackerImageViewer.h | ||
void PopulateSelectionListForMouseClick() |
STrackerImageViewer.h | ||
void ResolveHighlightingForMouseMove
(
const FVector2D& InMousePosition |
STrackerImageViewer.h | ||
bool ResolveSelectionForMouseClick
(
const FPointerEvent& InMouseEvent, |
STrackerImageViewer.h | ||
void ResolveSelectionFromMarquee
(
const FSlateRect& InSelectionMarquee |
STrackerImageViewer.h | ||
bool SetHighlightingFromCurve
(
const FVector2D& InMousePos |
STrackerImageViewer.h | ||
bool SetHighlightingFromPoint
(
const FVector2D& InMousePos |
STrackerImageViewer.h | ||
bool SetManipulationStateForMouseClick
(
const FPointerEvent& InMouseEvent, |
STrackerImageViewer.h |