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

    • Point

      FVector Point
      

      Point to transform

    • Lattice

      TArray<FVector> Lattice
      

      The corners of the lattice to use for deformation. Should have length 8.

    • MinBound

      FVector MinBound
      

      Minimum X,Y,Z of the target mesh's bounding box

    • MaxBound

      FVector MaxBound
      

      Maximum X,Y,Z of the target mesh's bounding box


    Returns

    • FVector
      

      Transformed 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

    • TargetMesh

      UDynamicMesh* TargetMesh
      

      Mesh to deform

    • Lattice

      TArray<FVector> Lattice
      

      The corners of the lattice to use for deformation. Should have length 8.

    • MinBound

      FVector MinBound
      

      Minimum X,Y,Z of the target mesh's bounding box

    • MaxBound

      FVector MaxBound
      

      Maximum X,Y,Z of the target mesh's bounding box

    • origin

      FVector origin
      

      Origin 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

    • Vertices

      FGeometryScriptVectorList Vertices
      

      Vertices to transform

    • Lattice

      TArray<FVector> Lattice
      

      The corners of the lattice to use for deformation. Should have length 8.

    • MinBound

      FVector MinBound
      

      Minimum X,Y,Z of the target mesh's bounding box

    • MaxBound

      FVector MaxBound
      

      Maximum X,Y,Z of the target mesh's bounding box

    • origin

      FVector origin
      

      Origin the mesh's vertices are relative to


    Returns

    • FGeometryScriptVectorList
      

      The transformed vertices






For any questions, help, suggestions or feature requests, please feel free to contact me at nbpsup@gmail.com