CARLA
Toggle main menu visibility
Loading...
Searching...
No Matches
Unreal
CarlaUnreal
Plugins
Carla
Source
Carla
Util
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
9
#include <
util/disable-ue4-macros.h
>
10
#include "
carla/rpc/ObjectLabel.h
"
11
#include "
carla/rpc/LabelledPoint.h
"
12
#include <
util/enable-ue4-macros.h
>
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
24
UCLASS()
25
class CARLA_API
URayTracer
: public
UBlueprintFunctionLibrary
26
{
27
GENERATED_BODY()
28
29
public
:
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
};
LabelledPoint.h
ObjectLabel.h
UBlueprintFunctionLibrary
URayTracer
Definition
RayTracer.h:26
URayTracer::ProjectPoint
static std::pair< bool, carla::rpc::LabelledPoint > ProjectPoint(FVector StartLocation, FVector Direction, float MaxDistance, UWorld *World)
Definition
RayTracer.cpp:46
URayTracer::CastRay
static std::vector< carla::rpc::LabelledPoint > CastRay(FVector StartLocation, FVector EndLocation, UWorld *World)
Definition
RayTracer.cpp:15
disable-ue4-macros.h
enable-ue4-macros.h
Generated by
1.18.0