Module |
|
Header |
/Engine/Plugins/Enterprise/LidarPointCloud/Source/LidarPointCloudRuntime/Public/LidarPointCloudOctree.h |
Include |
#include "LidarPointCloudOctree.h" |
class FLidarPointCloudOctree
Used for efficient handling of point cloud data.
Name | Description | ||
---|---|---|---|
|
DataLock |
Used for thread safety between rendering and asset operations. |
Name | Description | |
---|---|---|
|
FLidarPointCloudOctree() |
|
|
FLidarPointCloudOctree ( |
|
|
FLidarPointCloudOctree ( |
|
|
FLidarPointCloudOctree |
Name | Description | |
---|---|---|
|
~FLidarPointCloudOctree() |
Name | Description | ||
---|---|---|---|
|
ApplyColorToAllPoints |
Applies the given color to all points |
|
|
ApplyColorToFirstPointByRay ( |
Applies the given color to the first point hit by the given ray |
|
|
ApplyColorToPointsByRay ( |
Applies the given color to all points hit by the given ray |
|
|
ApplyColorToPointsInBox |
Applies the given color to all points within the box |
|
|
ApplyColorToPointsInSphere |
Applies the given color to all points within the sphere |
|
|
BuildCollision ( |
Builds collision using the accuracy provided |
|
|
Empty ( |
Removes all points and, optionally, all nodes except for the root node. Retains the bounds. |
|
|
ExecuteActionOnAllPoints |
Executes the provided action on each of the points. |
|
|
ExecuteActionOnFirstPointByRay ( |
Executes the provided action on the first point hit by the given ray. |
|
|
ExecuteActionOnPointsByRay ( |
Executes the provided action on each of the points hit by the given ray. |
|
|
ExecuteActionOnPointsInBox |
Executes the provided action on each of the points within the given box. |
|
|
ExecuteActionOnPointsInSphere |
Executes the provided action on each of the points within the given sphere. |
|
|
GetAllocatedSize() |
Returns the amount of memory used by this Octree, including the BulkData |
|
|
GetAllocatedStructureSize() |
Returns the amount of memory used by this Octree, excluding the BulkData |
|
|
GetBounds() |
Returns the Cloud bounds. |
|
|
const FTriMe... |
GetCollisionData() |
Returns pointer to the collision data |
|
float |
GetEstimatedPointSpacing() |
Returns an estimated spacing between points |
|
GetExtent() |
Returns the extent of the Cloud's bounds. |
|
|
GetNumLODs() |
Returns the number of different LODs. |
|
|
GetNumNodes() |
Returns the total number of nodes. |
|
|
GetNumPoints() |
Returns the total number of points. |
|
|
ULidarPointC... |
GetOwner() |
Returns a pointer to the Point Cloud asset, which owns this Octree. |
|
GetPoints ( |
Populates the given array with points from the tree |
|
|
GetPointsAsCopies ( |
Populates the given array with copies of points from the tree |
|
|
GetPointsInBox ( |
Populates the array with the list of pointers to points within the given box. |
|
|
GetPointsInBoxAsCopies ( |
Populates the array with the list of pointers to points within the given box. |
|
|
GetPointsInFrustum ( |
Populates the array with the list of points within the given frustum. |
|
|
GetPointsInSphere ( |
Populates the array with the list of points within the given sphere. |
|
|
GetPointsInSphereAsCopies ( |
Populates the array with the list of points within the given sphere. |
|
|
float |
GetRootCellSize() |
Returns the grid cell size at root level. |
|
HasCollisionData() |
Returns true, if the Octree has collision built |
|
|
HasData() |
Returns true if the Root node exists and has any data assigned. |
|
|
HasPointsInBox |
Returns true if there are any points within the given box. |
|
|
HasPointsInSphere |
Returns true if there are any points within the given sphere. |
|
|
HideAll() |
Marks all points hidden |
|
|
Initialize ( |
Initializes the Octree properties. |
|
|
InsertPoint ( |
Inserts the given point into the Octree structure, internally thread-safe. |
|
|
InsertPoints ( |
Inserts group of points into the Octree structure, internally thread-safe. |
|
|
IsFullyLoaded() |
Returns true, if the cloud is fully and persistently loaded. |
|
|
LoadAllNodes() |
Persistently loads all nodes. |
|
|
MarkPointVisibilityDirty() |
This should to be called if any manual modification to individual points' visibility has been made. |
|
|
QueueNode ( |
If bImmediate is true, the node will be loaded immediately, otherwise, it will be queued for async loading. |
|
|
RaycastMulti ( |
Performs a raycast test against the point cloud. |
|
|
RaycastMulti ( |
Performs a raycast test against the point cloud. |
|
|
FLidarPointC... |
RaycastSingle ( |
Performs a raycast test against the point cloud. Returns the pointer if hit or nullptr otherwise. |
|
RefreshBounds() |
Recalculates and updates points bounds. |
|
|
RegisterTraversalOctree |
Adds the given traversal octree to the list of linked octrees. |
|
|
ReleaseAllNodes ( |
Releases all nodes. Optionally, releases persistent nodes too. |
|
|
RemoveCollision() |
Removes collision mesh data |
|
|
RemoveHiddenPoints() |
Removes all hidden points |
|
|
RemovePoint ( |
Attempts to remove the given point. |
|
|
RemovePoint ( |
Attempts to remove the given point. |
|
|
RemovePoints ( |
Removes points in bulk |
|
|
RemovePointsByRay ( |
Removes all points hit by the given ray |
|
|
RemovePointsInBox |
Removes all points within the given box |
|
|
RemovePointsInSphere |
Removes all points within the given sphere |
|
|
SetVisibilityOfFirstPointByRay ( |
Sets visibility of the first point hit by the given ray. |
|
|
SetVisibilityOfPointsByRay ( |
Sets visibility of points hit by the given ray. |
|
|
SetVisibilityOfPointsInBox |
Sets visibility of points within the given box. |
|
|
SetVisibilityOfPointsInSphere |
Sets visibility of points within the given sphere. |
|
|
StreamQueuedNodes() |
Streams all requested nodes |
|
|
UnhideAll() |
Marks all points visible |
|
|
UnloadOldNodes ( |
||
|
UnregisterTraversalOctree |
Removes the given traversal octree from the list |
Name | Description | ||
---|---|---|---|
|
FLidarPointC... |
operator= |
|
|
FLidarPointC... |
operator= ( |
Name |
Description |
|
---|---|---|
|
FSharedLODData |
Stores shared per-LOD node data. |
Name |
Description |
---|---|
MaxBucketSize |
Maximum number of unallocated points to keep inside the node before they need to be converted in to a full child node |
MaxNodeDepth |
Maximum allowed depth for any node |
NodeGridResolution |
Virtual grid resolution to divide the node into |