Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Operations/FFDLattice.h |
Include |
#include "Operations/FFDLattice.h" |
class FFFDLattice
Free-form deformation lattice. Initialize it with a mesh and desired resolution, get the initial lattice points out. Then pass in deformed lattice points and it will compute deformed mesh vertex positions.
Name | Description | ||
---|---|---|---|
|
CellSize |
3D size of a lattice cell |
|
|
Dims |
Number of lattice points in each dimension. |
|
|
InitialBounds |
Extents of the lattice before it is deformed. |
|
|
VertexEmbeddings |
Interpolation weights and cell indices per vertex of the input FDynamicMesh3. |
Name | Description | |
---|---|---|
|
FFFDLattice ( |
Create a lattice that fits the given mesh and has the given resolution along each dimension. |
Name | Description | ||
---|---|---|---|
|
ClosestLatticePosition |
Clamp the given index to [0, Dims] and return the current lattice point position at the clamped index. |
|
|
ComputeInitialEmbedding ( |
For each vertex in Mesh, compute the lattice cell it resides in and its weighting. |
|
|
ComputeTrilinearWeights |
Compute cell index and linear interpolation weights for a given point. |
|
|
int |
ControlPointIndexFromCoordinates ( |
|
|
int |
ControlPointIndexFromCoordinates ( |
Get the index into the flat TArray of positions given the (i,j,k) coordinates in the lattice. |
|
ExtrapolatedLatticePosition |
Compute the extrapolated position for a "virtual" lattice control point outside of the actual lattice. |
|
|
GenerateInitialLatticePositions |
||
|
GenerateLatticeEdges |
||
|
GetDeformedMeshVertexPositions ( |
Using the Lattice's current control point positions and the original embedding information, compute the deformed mesh vertex positions. |
|
|
GetValuePair |
Helper for linear interpolation. Returns lattice points at (I,J,K) and (I+1,J,K). |
|
|
InitializeLatticePositions() |
||
|
InterpolatedPosition ( |
Use the given cell index and weights to compute the interpolated position. |
|
|
InterpolatedPositionCubic ( |
Use the given cell index and weights to compute the interpolated position. |
Name |
Description |
|
---|---|---|
|
FEmbedding |
Linear interpolation information. There should be one of these per mesh vertex. |