CARLA
 
载入中...
搜索中...
未找到
RayTracer.h
浏览该文件的文档.
1// Copyright (c) 2020 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 "Kismet/BlueprintFunctionLibrary.h"
10
11#include "GameFramework/Actor.h"
12
17
18#include <vector>
19#include <utility>
20
21#include "RayTracer.generated.h"
22
23UCLASS()
24class CARLA_API URayTracer : public UBlueprintFunctionLibrary
25{
26 GENERATED_BODY()
27
28public:
29
30 static std::vector<carla::rpc::LabelledPoint> CastRay(
31 FVector StartLocation, FVector EndLocation, UWorld * World);
32
33 static std::pair<bool, carla::rpc::LabelledPoint> ProjectPoint(
34 FVector StartLocation, FVector Direction, float MaxDistance, UWorld * World);
35
36};