CARLA
Static Public Member Functions | List of all members
URayTracer Class Reference

#include <RayTracer.h>

+ Inheritance diagram for URayTracer:
+ Collaboration diagram for URayTracer:

Static Public Member Functions

static std::vector< carla::rpc::LabelledPointCastRay (FVector StartLocation, FVector EndLocation, UWorld *World)
 
static std::pair< bool, carla::rpc::LabelledPointProjectPoint (FVector StartLocation, FVector Direction, float MaxDistance, UWorld *World)
 

Detailed Description

Definition at line 24 of file RayTracer.h.

Member Function Documentation

◆ CastRay()

std::vector< crp::LabelledPoint > URayTracer::CastRay ( FVector  StartLocation,
FVector  EndLocation,
UWorld *  World 
)
static

Definition at line 15 of file RayTracer.cpp.

References UCarlaStatics::GetGameMode(), ACarlaGameModeBase::GetLMManager(), ATagger::GetTagOfTaggedComponent(), and ALargeMapManager::LocalToGlobalLocation().

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ProjectPoint()

std::pair< bool, crp::LabelledPoint > URayTracer::ProjectPoint ( FVector  StartLocation,
FVector  Direction,
float  MaxDistance,
UWorld *  World 
)
static

Definition at line 46 of file RayTracer.cpp.

References UCarlaStatics::GetGameMode(), ACarlaGameModeBase::GetLMManager(), ATagger::GetTagOfTaggedComponent(), ALargeMapManager::LocalToGlobalLocation(), and carla::rpc::None.

Referenced by FCarlaServer::FPimpl::BindActions().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: