Class: UNBTrilinearInterpolation
// NBTrilinearInterpolation.h : 13
class UNBTrilinearInterpolation;
Contains the main implementation of Trilinear Interpolation.
Methods
-
TInterp// NBTrilinearInterpolation.h : 48 public: static FVector TInterp( FVector Point, TArray<FVector> Lattice, FVector MinBound, FVector MaxBound );Performs trilinear interpolation on a single point
Arguments
-
PointFVector PointPoint to transform
-
LatticeTArray<FVector> LatticeThe corners of the lattice to use for deformation. Should have length 8.
-
MinBoundFVector MinBoundMinimum X,Y,Z of the target mesh's bounding box
-
MaxBoundFVector MaxBoundMaximum X,Y,Z of the target mesh's bounding box
Returns
-
FVectorTransformed point
-
-
TrilinearInterpolation// NBTrilinearInterpolation.h : 26 public: static UDynamicMesh* TrilinearInterpolation( UDynamicMesh* TargetMesh, TArray<FVector> Lattice, FVector MinBound, FVector MaxBound, FVector origin );Performs trilinear interpolation on the given DynamicMesh. The mesh should be in its original, undeformed state.
Arguments
-
TargetMeshUDynamicMesh* TargetMeshMesh to deform
-
LatticeTArray<FVector> LatticeThe corners of the lattice to use for deformation. Should have length 8.
-
MinBoundFVector MinBoundMinimum X,Y,Z of the target mesh's bounding box
-
MaxBoundFVector MaxBoundMaximum X,Y,Z of the target mesh's bounding box
-
originFVector originOrigin the mesh's vertices are relative to
Returns
-
UDynamicMesh*The transformed mesh
-
-
TrilinearInterpolation// NBTrilinearInterpolation.h : 38 public: static FGeometryScriptVectorList TrilinearInterpolation( FGeometryScriptVectorList Vertices, TArray<FVector> Lattice, FVector MinBound, FVector MaxBound, FVector origin );Performs trilinear interpolation on a set of vertices. The vertices should be in their original, undeformed state.
Arguments
-
VerticesFGeometryScriptVectorList VerticesVertices to transform
-
LatticeTArray<FVector> LatticeThe corners of the lattice to use for deformation. Should have length 8.
-
MinBoundFVector MinBoundMinimum X,Y,Z of the target mesh's bounding box
-
MaxBoundFVector MaxBoundMaximum X,Y,Z of the target mesh's bounding box
-
originFVector originOrigin the mesh's vertices are relative to
Returns
-
FGeometryScriptVectorListThe transformed vertices
-
For any questions, help, suggestions or feature requests, please feel free to contact me at nbpsup@gmail.com