Navigation
Unreal Engine C++ API Reference > Plugins > LidarPointCloudRuntime
References
Module | LidarPointCloudRuntime |
Header | /Engine/Plugins/Enterprise/LidarPointCloud/Source/LidarPointCloudRuntime/Public/LidarPointCloudOctree.h |
Include | #include "LidarPointCloudOctree.h" |
Syntax
struct FLidarPointCloudOctreeNode
Remarks
WARNING: Exercise caution when modifying the contents of the Octree, as it may be in use by the Rendering Thread via FPointCloudSceneProxy Use the FLidarPointCloudOctree::DataLock prior to such attempt Child ordering 0 X- Y- Z- 1 X- Y- Z+ 2 X- Y+ Z- 3 X- Y+ Z+ 4 X+ Y- Z- 5 X+ Y- Z+ 6 X+ Y+ Z- 7 X+ Y+ Z+ Represents a single octant in the tree.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
|||
![]() |
FLidarPointCloudOctreeNode
(
FLidarPointCloudOctree* Tree, |
||
![]() |
FLidarPointCloudOctreeNode
(
FLidarPointCloudOctree* Tree, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddPointCount
(
int32 PointCount |
Convenience function, to add point statistics to the Tree table. |
![]() |
bool | BuildDataCache
(
bool bUseStaticBuffers, |
Builds and updates the necessary render data buffers Returns true if successful |
![]() |
void | Empty
(
bool bRecursive |
Removes all points. |
![]() ![]() |
int64 | GetAllocatedSize
(
bool bRecursive, |
Returns the amount of memory used by this node |
![]() ![]() |
FBox | GetBounds () |
Calculates and returns the bounds of this node |
![]() ![]() |
FLidarPointCloudOctreeNode * | GetChildNodeAtLocation
(
const uint8& Location |
Returns a pointer to the node at the given location, or null if one doesn't exist yet. |
![]() ![]() |
uint8 | ||
![]() ![]() |
FLidarPointCloudPoint * | GetData () |
Returns a pointer to the point data |
![]() |
TSharedPtr< FLidarPointCloudRenderBuffer > | GetDataCache () |
Returns a pointer to the point data |
![]() ![]() |
uint32 | GetMaxDepth () |
Returns the maximum depth of any children of this node . |
![]() ![]() |
uint32 | GetNumPoints () |
Returns the sum of grid and padding points allocated to this node. |
![]() ![]() |
uint32 | Returns the sum of visible grid and padding points allocated to this node. | |
![]() ![]() |
FLidarPointCloudPoint * | Returns a pointer to the point data and prevents it from being released | |
![]() |
TSharedPtr< FLidarPointCloudRayTracingGeometry > | Return a pointer to the ray tracing geometry | |
![]() ![]() |
FSphere | Calculates and returns the sphere bounds of this node | |
![]() |
TSharedPtr< FLidarPointCloudVertexFactory > | Return a pointer to the vertex factory containing pre-cached geometry | |
![]() ![]() |
bool | HasData () |
Returns true, if the node has its data loaded |
![]() ![]() |
bool | Returns true, if the node has its data loaded | |
![]() |
void | InsertPoints
(
const FLidarPointCloudPoint* Points, |
Attempts to insert given points to this node or passes it to the children, otherwise. |
![]() |
void | InsertPoints
(
FLidarPointCloudPoint** Points, |
Attempts to insert given points to this node or passes it to the children, otherwise. |
![]() |
void | ReleaseData
(
bool bForce |
Releases the BulkData If forced, the node will be released even if persistent |
![]() |
void | Releases and removes the render data cache | |
![]() |
void | Sorts the points by visibility (visible first) to optimize data processing and rendering | |
![]() |
void |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
FLidarPointCloudOctreeNode & | operator=
(
const FLidarPointCloudOctreeNode& |
|
![]() |
FLidarPointCloudOctreeNode & |