CARLA
Loading...
Searching...
No Matches
RayTracer.h
Go to the documentation of this file.
1// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
3//
4// This work is licensed under the terms of the MIT license.
5// For a copy, see <https://opensource.org/licenses/MIT>.
6
7#pragma once
8
13
14#include <util/ue-header-guard-begin.h>
15#include "Kismet/BlueprintFunctionLibrary.h"
16#include "GameFramework/Actor.h"
17#include <util/ue-header-guard-end.h>
18
19#include <vector>
20#include <utility>
21
22#include "RayTracer.generated.h"
23
24UCLASS()
25class CARLA_API URayTracer : public UBlueprintFunctionLibrary
26{
27 GENERATED_BODY()
28
29public:
30
31 static std::vector<carla::rpc::LabelledPoint> CastRay(
32 FVector StartLocation, FVector EndLocation, UWorld * World);
33
34 static std::pair<bool, carla::rpc::LabelledPoint> ProjectPoint(
35 FVector StartLocation, FVector Direction, float MaxDistance, UWorld * World);
36
37};