Navigation
API > API/Runtime > API/Runtime/GeometryCore
Spatial decomposition of a region of 3d ijk space into 3d cubes of size BlockSize (per side). This class gives a consistent translation between locations in 3d lattice space and blocks of a spatial decomposition; it is independent of any sort of data that you might want to associate with those locations. See BlockedDenseGrid3.h for usage.
| Name | TBlockedGrid3Layout |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Spatial/BlockedLayout3.h |
| Include Path | #include "Spatial/BlockedLayout3.h" |
Syntax
template<int32 BlockSize_>
class TBlockedGrid3Layout
Derived Classes
- TBasicBlockedDenseGrid3
- TSparseNarrowBandMeshSDF::FScatterCounter
- TSparseNarrowBandMeshSDF::FTriIDBlockGrid
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Spatial/BlockedLayout3.h | |||
TBlockedGrid3Layout
(
FVector3i Dims |
Spatial/BlockedLayout3.h | ||
TBlockedGrid3Layout
(
int32 DimI, |
Spatial/BlockedLayout3.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FBlockData3Layout | TBlockData3Layout< BlockSize_ > | Spatial/BlockedLayout3.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| BlockElemCount | int32 | Spatial/BlockedLayout3.h | |
| BlockSize | int32 | Spatial/BlockedLayout3.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 BlockIJKToBlockIndex
(
const FVector3i& BlockIJK |
Spatial/BlockedLayout3.h | ||
FVector3i BlockIndexToBlockIJK
(
const int32 BlockIndex |
Spatial/BlockedLayout3.h | ||
FAxisAlignedBox3i Bounds() |
Spatial/BlockedLayout3.h | ||
FAxisAlignedBox3i BoundsInclusive() |
Spatial/BlockedLayout3.h | ||
void GetBlockAndLocalIndex
(
const FVector3i& IJK, |
Return the block index and local index of the cell at (I,J,K). | Spatial/BlockedLayout3.h | |
void GetBlockAndLocalIndex
(
int32 I, |
Spatial/BlockedLayout3.h | ||
const FVector3i & GetBlockDimensions() |
Spatial/BlockedLayout3.h | ||
const FVector3i & GetDimensions() |
Spatial/BlockedLayout3.h | ||
int32 IJKtoBlockIndex
(
const FVector3i& IJK |
Spatial/BlockedLayout3.h | ||
bool IsValidBlockIJK
(
const FVector3i& BlockIJK |
Spatial/BlockedLayout3.h | ||
bool IsValidIJK
(
const FVector3i& IJK |
Spatial/BlockedLayout3.h | ||
void Resize
(
int32 DimI, |
Recompute the block dimensions required to cover the requested cell dimensions. | Spatial/BlockedLayout3.h | |
int64 Size() |
Spatial/BlockedLayout3.h |