Navigation
API > API/Runtime > API/Runtime/GeometryCore
3D dense grid of 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
(
int32 DimX, |
Spatial/DenseGrid3.h | ||
TDenseGrid3
(
int32 DimX, |
Spatial/DenseGrid3.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Assign
(
ElemType Value |
Spatial/DenseGrid3.h | ||
const ElemType & At
(
int32 X, |
Spatial/DenseGrid3.h | ||
ElemType & At
(
int32 X, |
Spatial/DenseGrid3.h | ||
| Spatial/DenseGrid3.h | |||
| Spatial/DenseGrid3.h | |||
FAxisAlignedBox3i Bounds() |
Spatial/DenseGrid3.h | ||
FAxisAlignedBox3i BoundsInclusive() |
Spatial/DenseGrid3.h | ||
int32 Depth() |
Spatial/DenseGrid3.h | ||
FVector3i GetCoords
(
int64 Index |
Spatial/DenseGrid3.h | ||
const FVector3i & GetDimensions() |
Spatial/DenseGrid3.h | ||
int64 GetIndex
(
int32 X, |
Spatial/DenseGrid3.h | ||
| Spatial/DenseGrid3.h | |||
ElemType GetValue
(
int32 X, |
Spatial/DenseGrid3.h | ||
| Spatial/DenseGrid3.h | |||
void GetXPair
(
int32 X0, |
Spatial/DenseGrid3.h | ||
const TArray64< ElemType > & GridValues () |
Spatial/DenseGrid3.h | ||
TArray64< ElemType > & GridValues () |
Spatial/DenseGrid3.h | ||
int32 Height() |
Spatial/DenseGrid3.h | ||
bool IsValidIndex
(
int32 X, |
Spatial/DenseGrid3.h | ||
bool IsValidIndex
(
const FVector3i& XYZ |
Spatial/DenseGrid3.h | ||
int64 Num() |
Spatial/DenseGrid3.h | ||
void Process
(
ProcessFunc Func |
Call a function on all values. | Spatial/DenseGrid3.h | |
| Call a function on the value at (X,Y,Z). | Spatial/DenseGrid3.h | ||
void Process
(
int32 X, |
Call a function on the value at (X,Y,Z). | Spatial/DenseGrid3.h | |
void ProcessValue
(
const FVector3i& XYZ, |
Spatial/DenseGrid3.h | ||
void ProcessValue
(
int32 X, |
Spatial/DenseGrid3.h | ||
void Resize
(
int32 DimX, |
Spatial/DenseGrid3.h | ||
void SetMax
(
const FVector3i& XYZ, |
Spatial/DenseGrid3.h | ||
void SetMin
(
const FVector3i& XYZ, |
Spatial/DenseGrid3.h | ||
| Spatial/DenseGrid3.h | |||
void SetValue
(
int32 X, |
Spatial/DenseGrid3.h | ||
int64 Size() |
Spatial/DenseGrid3.h | ||
FVector3i ToIndex
(
int32 Index |
Spatial/DenseGrid3.h | ||
int32 ToLinear
(
int32 X, |
Spatial/DenseGrid3.h | ||
| Spatial/DenseGrid3.h | |||
int32 Width() |
Spatial/DenseGrid3.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const ElemType & operator[]
(
FVector3i XYZ |
Spatial/DenseGrid3.h | ||
ElemType & operator[]
(
FVector3i XYZ |
Spatial/DenseGrid3.h | ||
ElemType & operator[]
(
int64 Index |
Spatial/DenseGrid3.h | ||
const ElemType & operator[]
(
int64 Index |
Spatial/DenseGrid3.h |