Navigation
API > API/Runtime > API/Runtime/GeometryCore
3D dense grid of floating-point scalar values.
| Name | TDenseGrid3 |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Spatial/DenseGrid3.h |
| Include Path | #include "Spatial/DenseGrid3.h" |
Syntax
template<typename ElemType>
class TDenseGrid3
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TDenseGrid3 () |
Create empty grid | Spatial/DenseGrid3.h | |
TDenseGrid3
(
int DimX, |
Spatial/DenseGrid3.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Apply
(
TFunctionRef< ElemType(ElemType)> F |
Spatial/DenseGrid3.h | ||
void Assign
(
ElemType Value |
Spatial/DenseGrid3.h | ||
const ElemType & At
(
int I, |
Spatial/DenseGrid3.h | ||
ElemType & At
(
int I, |
Spatial/DenseGrid3.h | ||
FAxisAlignedBox3i Bounds() |
Spatial/DenseGrid3.h | ||
FAxisAlignedBox3i BoundsInclusive() |
Spatial/DenseGrid3.h | ||
const FVector3i & GetDimensions() |
Spatial/DenseGrid3.h | ||
ElemType GetValue
(
int32 X, |
Spatial/DenseGrid3.h | ||
| Spatial/DenseGrid3.h | |||
void GetXPair
(
int X0, |
Spatial/DenseGrid3.h | ||
const TArray< ElemType > & GridValues () |
Spatial/DenseGrid3.h | ||
TArray< ElemType > & GridValues () |
Spatial/DenseGrid3.h | ||
bool IsValidIndex
(
const FVector3i& Index |
Spatial/DenseGrid3.h | ||
void ProcessValue
(
const FVector3i& CellCoords, |
Call an external lambda with a reference to the grid value at (X,Y,Z). | Spatial/DenseGrid3.h | |
void ProcessValue
(
int32 X, |
Call an external lambda with a reference to the grid value at (X,Y,Z). | Spatial/DenseGrid3.h | |
void Resize
(
int DimX, |
Spatial/DenseGrid3.h | ||
void Resize
(
int DimX, |
Spatial/DenseGrid3.h | ||
void SetMax
(
const FVector3i& IJK, |
Spatial/DenseGrid3.h | ||
void SetMin
(
const FVector3i& IJK, |
Spatial/DenseGrid3.h | ||
void SetValue
(
int32 X, |
Set the grid value at (X,Y,Z) | Spatial/DenseGrid3.h | |
| Set the grid value at (X,Y,Z) | Spatial/DenseGrid3.h | ||
int Size() |
Spatial/DenseGrid3.h | ||
FVector3i ToIndex
(
int Idx |
Spatial/DenseGrid3.h | ||
| Spatial/DenseGrid3.h | |||
int ToLinear
(
int X, |
Spatial/DenseGrid3.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ElemType & operator[]
(
int Idx |
Spatial/DenseGrid3.h | ||
const ElemType & operator[]
(
int Idx |
Spatial/DenseGrid3.h | ||
ElemType & operator[]
(
FVector3i Idx |
Spatial/DenseGrid3.h | ||
const ElemType & operator[]
(
FVector3i Idx |
Spatial/DenseGrid3.h |