| FGroupTopologyDeformer
|
Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/MeshModelingTools/Public/DeformMeshPolygonsTool.h |
Include |
#include "DeformMeshPolygonsTool.h" |
class FGroupTopologyLaplacianDeformer : public FGroupTopologyDeformer
Name | Description | ||
---|---|---|---|
|
AsyncMeshDeformTask |
Asynchronous task object. |
|
|
bDeformerNeedsToRun |
This is set to true whenever the user interacts with the tool under laplacian deformation mode. |
|
|
bLocalize |
||
|
bPostfixHandles |
When true, tells the solver to attempt to postfix the actual position of the handles to the constrained position |
|
|
bTaskSubmeshIsDirty |
Need to update the task with the current submesh |
|
|
bVertexPositionsNeedSync |
This is set to false only after 1) the asynchronous deformation task is complete 2) the main thread has seen it complete, and 3) the main thread updates the vertex positions of the mesh one last time |
|
|
double |
HandleWeights |
The weight which will be applied to the constraints corresponding to the handle vertices. |
|
SrcMeshConstraintBuffer |
Stores the position of the vertex constraints and corresponding weights for the entire mesh. |
|
|
SubsetIDBuffer |
Array of vertex indices organized in groups of three - basically an index buffer - that defines the subset of the mesh that the deformation task will work on. |
Name | Description | |
---|---|---|
|
FGroupTopologyLaplacianDeformer() |
Name | Description | |
---|---|---|
|
~FGroupTopologyLaplacianDeformer() |
Name | Description | ||
---|---|---|---|
|
ExportDeformedPositions ( |
Updates the vertex positions of the mesh with the result from the last deformation solve. |
|
|
const TArray... |
GetROIFaces() |
|
|
InitBackgroundWorker ( |
Allocates shared storage for use in task synchronization |
|
|
InitializeConstraintBuffer() |
Sets the SrcMeshConstraintBuffer to have a size of MaxVertexID, and initializes with the current mesh positions, but weight zero |
|
|
IsDone() |
Returns true if the asynchronous task has finished. |
|
|
IsTaskInFlight() |
Capture data about background task state. |
|
|
RecordModifiedVertex ( |
Used to iteratively add to the active change set (TSet<>) |
|
|
RecordModifiedVertices ( |
Change tracking |
|
|
ResetModifiedVertices() |
Used to begin a procedural addition of modified vertices |
|
|
Shutdown() |
Triggers abort on task and passes off ownership to deleter object |
|
|
UpdateAndLaunchdWorker ( |
Coordinates the background tasks. Returns false if the worker was already running |
|
|
UpdateSelection ( |
Given an array of Group IDs, update the selection and record vertices |
Name | Description | ||
---|---|---|---|
|
SetActiveHandleCorners ( |
Set the active handle to the given Corners |
|
|
SetActiveHandleEdges ( |
Set the active handle to the given Edges |
|
|
SetActiveHandleFaces ( |
Handle setup/configuraiton Set the active handle to the given Faces |
|
|
UpdateSolution ( |
Updates the mesh preview and/or solvers upon user input, provided a deformation strategy |