![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GridInterpolant.h>
Public Types | |
| using | CellSizeType = std::conditional_t< bScalarCellSize, RealType, TVector< RealType > > |
Public Member Functions | |
| TTriLinearGridInterpolant (GridType *Grid, TVector< RealType > GridOrigin, CellSizeType CellSize, FVector3i Dimensions) | |
| TAxisAlignedBox3< RealType > | Bounds () const |
| FVector3i | Cell (const TVector< RealType > &Pt) const |
| template<bool bClamped = false> | |
| RealType | Value (const TVector< RealType > &Pt) const |
| TVector< RealType > | Gradient (const TVector< RealType > &Pt) const |
Public Attributes | |
| GridType * | Grid |
| TVector< RealType > | GridOrigin |
| CellSizeType | CellSize |
| FVector3i | Dimensions |
| RealType | Outside = TMathUtil<RealType>::SafeLargeValue |
Protected Member Functions | |
| void | get_value_pair (int I, int J, int K, RealType &A, RealType &B) const |
Tri-linear interpolant for a 3D dense Grid. Supports Grid translation via GridOrigin, but does not support scaling or rotation. If you need those, you can wrap this in something that does the xform.
GridType must have a GetValue() that returns a value to interpolate at a given FVector3i location – (w/ locations ranging from [0,0,0] to Dimensions (exclusive))
| using UE::Geometry::TTriLinearGridInterpolant< GridType, RealType, bScalarCellSize >::CellSizeType = std::conditional_t<bScalarCellSize, RealType, TVector<RealType> > |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
| CellSizeType UE::Geometry::TTriLinearGridInterpolant< GridType, RealType, bScalarCellSize >::CellSize |
| FVector3i UE::Geometry::TTriLinearGridInterpolant< GridType, RealType, bScalarCellSize >::Dimensions |
| GridType* UE::Geometry::TTriLinearGridInterpolant< GridType, RealType, bScalarCellSize >::Grid |
| TVector<RealType> UE::Geometry::TTriLinearGridInterpolant< GridType, RealType, bScalarCellSize >::GridOrigin |
| RealType UE::Geometry::TTriLinearGridInterpolant< GridType, RealType, bScalarCellSize >::Outside = TMathUtil<RealType>::SafeLargeValue |