CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 成员函数 | Protected 属性 | 所有成员列表
AOpenDriveGenerator类 参考

#include <OpenDriveGenerator.h>

+ 类 AOpenDriveGenerator 继承关系图:
+ AOpenDriveGenerator 的协作图:

Public 成员函数

 AOpenDriveGenerator (const FObjectInitializer &ObjectInitializer)
 
void GenerateAll ()
 
void GeneratePoles ()
 OpenDRIVEϢɸ
 
void GenerateRoadMesh ()
 OpenDRIVEϢɵ·е
 
void GenerateSpawnPoints ()
 ص·ɵ㡣
 
const FString & GetOpenDrive () const
 ַʽȡOpenDRIVEϢ
 
bool IsOpenDriveValid () const
 ǷѼOpenDriveЧԡ
 
bool LoadOpenDrive (const FString &OpenDrive)
 OpenDRIVEϢΪַɿɲѯӳṹ
 

Protected 成员函数

virtual void BeginPlay () override
 

Protected 属性

TArray< AActor * > ActorMeshList
 
FString OpenDriveData
 
float SpawnersHeight = 300.f
 ȷÿRoutePlannerķø߶
 
TArray< AVehicleSpawnPoint * > VehicleSpawners
 

详细描述

在文件 OpenDriveGenerator.h33 行定义.

构造及析构函数说明

◆ AOpenDriveGenerator()

AOpenDriveGenerator::AOpenDriveGenerator ( const FObjectInitializer & ObjectInitializer)

在文件 OpenDriveGenerator.cpp38 行定义.

成员函数说明

◆ BeginPlay()

void AOpenDriveGenerator::BeginPlay ( )
overrideprotectedvirtual

在文件 OpenDriveGenerator.cpp171 行定义.

引用了 GenerateAll(), UOpenDrive::GetXODR(), LoadOpenDrive() , 以及 World.

+ 函数调用图:

◆ GenerateAll()

void AOpenDriveGenerator::GenerateAll ( )

在文件 OpenDriveGenerator.cpp163 行定义.

引用了 GeneratePoles(), GenerateRoadMesh() , 以及 GenerateSpawnPoints().

被这些函数引用 BeginPlay().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ GeneratePoles()

void AOpenDriveGenerator::GeneratePoles ( )

OpenDRIVEϢɸ

TODO: To implement

在文件 OpenDriveGenerator.cpp132 行定义.

引用了 IsOpenDriveValid() , 以及 UE_LOG().

被这些函数引用 GenerateAll().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ GenerateRoadMesh()

void AOpenDriveGenerator::GenerateRoadMesh ( )

OpenDRIVEϢɵ·е

在文件 OpenDriveGenerator.cpp75 行定义.

引用了 ActorMeshList, carla::rpc::OpendriveGenerationParameters::enable_mesh_visibility, UCarlaStatics::GetGameInstance(), UCarlaStatics::GetGameMode(), ACarlaGameModeBase::GetMap(), UCarlaGameInstance::GetOpendriveGenerationParameters(), IsOpenDriveValid(), carla::log_warning(), AProceduralMeshActor::MeshComponent, FProceduralCustomMesh::Normals, FProceduralCustomMesh::Triangles, UE_LOG() , 以及 FProceduralCustomMesh::Vertices.

被这些函数引用 GenerateAll().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ GenerateSpawnPoints()

void AOpenDriveGenerator::GenerateSpawnPoints ( )

ص·ɵ㡣

在文件 OpenDriveGenerator.cpp143 行定义.

引用了 UCarlaStatics::GetGameMode(), ACarlaGameModeBase::GetMap(), IsOpenDriveValid(), SpawnersHeight, UE_LOG() , 以及 VehicleSpawners.

被这些函数引用 GenerateAll().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ GetOpenDrive()

const FString & AOpenDriveGenerator::GetOpenDrive ( ) const

ַʽȡOpenDRIVEϢ

在文件 OpenDriveGenerator.cpp63 行定义.

引用了 OpenDriveData.

◆ IsOpenDriveValid()

bool AOpenDriveGenerator::IsOpenDriveValid ( ) const

ǷѼOpenDriveЧԡ

在文件 OpenDriveGenerator.cpp69 行定义.

引用了 UCarlaStatics::GetGameMode() , 以及 ACarlaGameModeBase::GetMap().

被这些函数引用 GeneratePoles(), GenerateRoadMesh() , 以及 GenerateSpawnPoints().

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ LoadOpenDrive()

bool AOpenDriveGenerator::LoadOpenDrive ( const FString & OpenDrive)

OpenDRIVEϢΪַɿɲѯӳṹ

在文件 OpenDriveGenerator.cpp48 行定义.

引用了 OpenDriveData , 以及 UE_LOG().

被这些函数引用 BeginPlay().

+ 函数调用图:
+ 这是这个函数的调用关系图:

类成员变量说明

◆ ActorMeshList

TArray<AActor *> AOpenDriveGenerator::ActorMeshList
protected

在文件 OpenDriveGenerator.h76 行定义.

被这些函数引用 GenerateRoadMesh().

◆ OpenDriveData

FString AOpenDriveGenerator::OpenDriveData
protected

在文件 OpenDriveGenerator.h73 行定义.

被这些函数引用 GetOpenDrive() , 以及 LoadOpenDrive().

◆ SpawnersHeight

float AOpenDriveGenerator::SpawnersHeight = 300.f
protected

ȷÿRoutePlannerķø߶

在文件 OpenDriveGenerator.h67 行定义.

被这些函数引用 GenerateSpawnPoints().

◆ VehicleSpawners

TArray<AVehicleSpawnPoint *> AOpenDriveGenerator::VehicleSpawners
protected

在文件 OpenDriveGenerator.h70 行定义.

被这些函数引用 GenerateSpawnPoints().


该类的文档由以下文件生成: