ULidarPointCloudBlueprintLibrary

Blueprint library for the Point Cloud assets

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

LidarPointCloudRuntime

Header

/Engine/Plugins/Enterprise/LidarPointCloud/Source/LidarPointCloudRuntime/Public/LidarPointCloud.h

Include

#include "LidarPointCloud.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(BlueprintType)
class ULidarPointCloudBlueprintLibrary : public UBlueprintFunctionLibrary

Remarks

Blueprint library for the Point Cloud assets

Functions

Name Description

Public function Static UFunction BlueprintCallable, Category

void

 

AlignClouds

(
    TArray< ULidarPointCloud* > Po...
)

Aligns provided clouds based on the relative offset between their Original Coordinates.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

ApplyColorToFirstPointByRay

(
    UObject* WorldContextObject,
    FColor NewColor,
    FVector Origin,
    FVector Direction,
    float Radius,
    bool bVisibleOnly
)

Applies the given color to the first point hit by the given ray

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

ApplyColorToPointsByRay

(
    UObject* WorldContextObject,
    FColor NewColor,
    FVector Origin,
    FVector Direction,
    float Radius,
    bool bVisibleOnly
)

Applies the given color to all points hit by the given ray

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

ApplyColorToPointsInBox

(
    UObject* WorldContextObject,
    FColor NewColor,
    FVector Center,
    FVector Extent,
    bool bVisibleOnly
)

Applies the given color to all points within the box

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

ApplyColorToPointsInSphere

(
    UObject* WorldContextObject,
    FColor NewColor,
    FVector Center,
    float Radius,
    bool bVisibleOnly
)

Applies the given color to all points within the sphere

Public function Static UFunction BlueprintPure, Category, Meta

bool

 

ArePointsByRay

(
    UObject* WorldContextObject,
    FVector Origin,
    FVector Direction,
    float Radius,
    bool bVisibleOnly
)

Returns true if there are any points hit by the given ray.

Public function Static UFunction BlueprintPure, Category, Meta

bool

 

ArePointsInBox

(
    UObject* WorldContextObject,
    FVector Center,
    FVector Extent,
    bool bVisibleOnly
)

Returns true if there are any points within the given box.

Public function Static UFunction BlueprintPure, Category, Meta

bool

 

ArePointsInSphere

(
    UObject* WorldContextObject,
    FVector Center,
    float Radius,
    bool bVisibleOnly
)

Returns true if there are any points within the given sphere.

Public function Static UFunction BlueprintPure, Category, Meta

FVector

 

Conv_LidarPointCloudNormalToVector

(
    const FLidarPointCloudNormal& Norm...
)

Converts a Lidar Point Cloud Normal to a Vector

Public function Static UFunction BlueprintPure, Category, Meta

FLidarPointC...

 

Conv_VectorToLidarPointCloudNormal

(
    const FVector& Vector
)

Converts a Vector to a Lidar Point Cloud Normal

Public function Static UFunction BlueprintPure, Category, Meta

ULidarPointC...

 

CreatePointCloudEmpty()

Returns new, empty Point Cloud object.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

CreatePointCloudFromData

(
    UObject* WorldContextObject,
    const TArray< FLidarPointCloudPoint...,
    bool bUseAsync,
    FLatentActionInfo LatentInfo,
    ELidarPointCloudAsyncMode& AsyncMo...,
    float& Progress,
    ULidarPointCloud*& PointCloud
)

Returns new Point Cloud object created from the data provided.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

CreatePointCloudFromFile

(
    UObject* WorldContextObject,
    const FString& Filename,
    bool bUseAsync,
    FLatentActionInfo LatentInfo,
    ELidarPointCloudAsyncMode& AsyncMo...,
    float& Progress,
    ULidarPointCloud*& PointCloud
)

Returns new Point Cloud object imported using default settings.

Public function Static

void

 

CreatePointCloudFromFile

(
    UObject* WorldContextObject,
    const FString& Filename,
    bool bUseAsync,
    FLatentActionInfo LatentInfo,
    TSharedPtr< struct FLidarPointCloud...,
    ELidarPointCloudAsyncMode& AsyncMo...,
    float& Progress,
    ULidarPointCloud*& PointCloud
)

Returns new Point Cloud object imported using default settings.

Public function Static UFunction BlueprintCallable, Category

bool

 

ExportPointCloudToFile

(
    ULidarPointCloud* PointCloud,
    const FString& Filename
)

Exports the Point Cloud to the given filename.

Public function Static UFunction BlueprintPure, Category, Meta

void

 

GetPointsInBoxAsCopies

(
    UObject* WorldContextObject,
    TArray< FLidarPointCloudPoint >& S...,
    FVector Center,
    FVector Extent,
    const bool& bVisibleOnly
)

Returns an array with copies of points within the given box

Public function Static UFunction BlueprintPure, Category, Meta

void

 

GetPointsInSphereAsCopies

(
    UObject* WorldContextObject,
    TArray< FLidarPointCloudPoint >& S...,
    FVector Center,
    float Radius,
    bool bVisibleOnly
)

Returns an array with copies of points within the given sphere

Public function Static UFunction BlueprintPure, Category, Meta

bool

 

LineTraceMulti

(
    UObject* WorldContextObject,
    FVector Origin,
    FVector Direction,
    float Radius,
    bool bVisibleOnly,
    TArray< FLidarPointCloudTraceHit > ...
)

Does a collision trace along the given line and returns all hits encountered up to and including the first blocking hit.

Public function Static UFunction BlueprintPure, Category, Meta

bool

 

LineTraceSingle

(
    UObject* WorldContextObject,
    FVector Origin,
    FVector Direction,
    float Radius,
    bool bVisibleOnly,
    FLidarPointCloudTraceHit& Hit
)

Does a collision trace along the given line and returns the first blocking hit encountered.

Public function Static UFunction BlueprintCallable, Category

void

 

NormalFromVector

(
    FLidarPointCloudNormal& Normal,
    FVector Vector
)

Sets the given normal using provided vector

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

RemoveFirstPointByRay

(
    UObject* WorldContextObject,
    FVector Origin,
    FVector Direction,
    float Radius,
    bool bVisibleOnly
)

Removes the first point hit by the given ray

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

RemovePointsByRay

(
    UObject* WorldContextObject,
    FVector Origin,
    FVector Direction,
    float Radius,
    bool bVisibleOnly
)

Removes all points hit by the given ray

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

RemovePointsInBox

(
    UObject* WorldContextObject,
    FVector Center,
    FVector Extent,
    bool bVisibleOnly
)

Removes all points within the given box

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

RemovePointsInSphere

(
    UObject* WorldContextObject,
    FVector Center,
    float Radius,
    bool bVisibleOnly
)

Removes all points within the given sphere

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

SetVisibilityOfFirstPointByRay

(
    UObject* WorldContextObject,
    bool bNewVisibility,
    FVector Origin,
    FVector Direction,
    float Radius
)

Sets visibility of the first point hit by the given ray.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

SetVisibilityOfPointsByRay

(
    UObject* WorldContextObject,
    bool bNewVisibility,
    FVector Origin,
    FVector Direction,
    float Radius
)

Sets visibility of points hit by the given ray.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

SetVisibilityOfPointsInBox

(
    UObject* WorldContextObject,
    bool bNewVisibility,
    FVector Center,
    FVector Extent
)

Sets visibility of points within the given box.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

SetVisibilityOfPointsInSphere

(
    UObject* WorldContextObject,
    bool bNewVisibility,
    FVector Center,
    float Radius
)

Sets visibility of points within the given sphere.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss