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

#include <ObjectRegister.h>

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

Public 成员函数

void EnableEnvironmentObjects (const TSet< uint64 > &EnvObjectIds, bool Enable)
 
TArray< FEnvironmentObjectGetEnvironmentObjects (uint8 InTagQueried=0xFF) const
 
void RegisterObjects (TArray< AActor * > Actors)
 
 UObjectRegister ()
 
 ~UObjectRegister ()
 

Private 成员函数

void EnableActor (FEnvironmentObject &EnvironmentObject, bool Enable)
 
void EnableEnvironmentObject (FEnvironmentObject &EnvironmentObject, bool Enable)
 
void EnableISMComp (FEnvironmentObject &EnvironmentObject, bool Enable)
 
void EnableTrafficLight (FEnvironmentObject &EnvironmentObject, bool Enable)
 
void RegisterCharacter (ACharacter *Character)
 
void RegisterEnvironmentObject (AActor *Actor, FBoundingBox &BoundingBox, EnvironmentObjectType Type, uint8 Tag)
 
void RegisterISMComponents (AActor *Actor)
 
void RegisterSKMComponents (AActor *Actor)
 
void RegisterSMComponents (AActor *Actor)
 
void RegisterTrafficLight (ATrafficLightBase *TrafficLight)
 
void RegisterVehicle (ACarlaWheeledVehicle *Vehicle)
 

Private 属性

TArray< FEnvironmentObjectEnvironmentObjects
 
int FoliageActorInstanceCount = 0
 
TMultiMap< uint64, const UStaticMeshComponent * > ObjectIdToComp
 

详细描述

在文件 ObjectRegister.h19 行定义.

构造及析构函数说明

◆ UObjectRegister()

UObjectRegister::UObjectRegister ( )
inline

在文件 ObjectRegister.h25 行定义.

◆ ~UObjectRegister()

UObjectRegister::~UObjectRegister ( )
inline

在文件 ObjectRegister.h26 行定义.

成员函数说明

◆ EnableActor()

void UObjectRegister::EnableActor ( FEnvironmentObject & EnvironmentObject,
bool Enable )
private

在文件 ObjectRegister.cpp375 行定义.

引用了 FEnvironmentObject::Actor , 以及 FEnvironmentObject::CanTick.

被这些函数引用 EnableEnvironmentObject().

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

◆ EnableEnvironmentObject()

void UObjectRegister::EnableEnvironmentObject ( FEnvironmentObject & EnvironmentObject,
bool Enable )
private

在文件 ObjectRegister.cpp350 行定义.

引用了 Character, EnableActor(), EnableISMComp(), EnableTrafficLight(), ISMComp, SKMComp, SMComp, TrafficLight, FEnvironmentObject::Type , 以及 Vehicle.

被这些函数引用 EnableEnvironmentObjects().

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

◆ EnableEnvironmentObjects()

void UObjectRegister::EnableEnvironmentObjects ( const TSet< uint64 > & EnvObjectIds,
bool Enable )

在文件 ObjectRegister.cpp108 行定义.

引用了 EnableEnvironmentObject() , 以及 EnvironmentObjects.

被这些函数引用 ACarlaGameModeBase::EnableEnvironmentObjects().

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

◆ EnableISMComp()

void UObjectRegister::EnableISMComp ( FEnvironmentObject & EnvironmentObject,
bool Enable )
private

在文件 ObjectRegister.cpp406 行定义.

引用了 FEnvironmentObject::Id, ISMComp, FEnvironmentObject::Name, ObjectIdToComp, SMComp , 以及 FEnvironmentObject::Transform.

被这些函数引用 EnableEnvironmentObject().

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

◆ EnableTrafficLight()

void UObjectRegister::EnableTrafficLight ( FEnvironmentObject & EnvironmentObject,
bool Enable )
private

在文件 ObjectRegister.cpp387 行定义.

引用了 FEnvironmentObject::Id, ObjectIdToComp , 以及 SMComp.

被这些函数引用 EnableEnvironmentObject().

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

◆ GetEnvironmentObjects()

TArray< FEnvironmentObject > UObjectRegister::GetEnvironmentObjects ( uint8 InTagQueried = 0xFF) const

在文件 ObjectRegister.cpp23 行定义.

引用了 EnvironmentObjects.

◆ RegisterCharacter()

void UObjectRegister::RegisterCharacter ( ACharacter * Character)
private

在文件 ObjectRegister.cpp159 行定义.

引用了 Character, UBoundingBoxCalculator::GetCharacterBoundingBox() , 以及 RegisterEnvironmentObject().

被这些函数引用 RegisterObjects().

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

◆ RegisterEnvironmentObject()

void UObjectRegister::RegisterEnvironmentObject ( AActor * Actor,
FBoundingBox & BoundingBox,
EnvironmentObjectType Type,
uint8 Tag )
private

在文件 ObjectRegister.cpp130 行定义.

引用了 FEnvironmentObject::Actor, BoundingBox, FEnvironmentObject::BoundingBox, FEnvironmentObject::CanTick, EnvironmentObjects, FEnvironmentObject::Id, FEnvironmentObject::Name, FEnvironmentObject::ObjectLabel, FEnvironmentObject::Transform , 以及 FEnvironmentObject::Type.

被这些函数引用 RegisterCharacter() , 以及 RegisterVehicle().

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

◆ RegisterISMComponents()

void UObjectRegister::RegisterISMComponents ( AActor * Actor)
private

在文件 ObjectRegister.cpp212 行定义.

引用了 FEnvironmentObject::Actor, FEnvironmentObject::BoundingBox, FEnvironmentObject::CanTick, EnvironmentObjects, FoliageActorInstanceCount, UBoundingBoxCalculator::GetISMBoundingBox(), ATagger::GetTagOfTaggedComponent(), FEnvironmentObject::Id, FEnvironmentObject::IdStr, ISMComp, FEnvironmentObject::Name, ObjectIdToComp, FEnvironmentObject::ObjectLabel, FEnvironmentObject::Transform , 以及 FEnvironmentObject::Type.

被这些函数引用 RegisterObjects().

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

◆ RegisterObjects()

void UObjectRegister::RegisterObjects ( TArray< AActor * > Actors)

在文件 ObjectRegister.cpp41 行定义.

引用了 Character, EnvironmentObjects, RegisterCharacter(), RegisterISMComponents(), RegisterSKMComponents(), RegisterSMComponents(), RegisterTrafficLight(), RegisterVehicle(), TrafficLight , 以及 Vehicle.

被这些函数引用 ACarlaGameModeBase::RegisterEnvironmentObjects().

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

◆ RegisterSKMComponents()

void UObjectRegister::RegisterSKMComponents ( AActor * Actor)
private

在文件 ObjectRegister.cpp315 行定义.

引用了 FEnvironmentObject::Actor, FEnvironmentObject::BoundingBox, FEnvironmentObject::CanTick, EnvironmentObjects, UBoundingBoxCalculator::GetBBsOfSkeletalMeshComponents(), FEnvironmentObject::Id, FEnvironmentObject::Name, FEnvironmentObject::ObjectLabel, SKMComp, FEnvironmentObject::Transform , 以及 FEnvironmentObject::Type.

被这些函数引用 RegisterObjects().

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

◆ RegisterSMComponents()

void UObjectRegister::RegisterSMComponents ( AActor * Actor)
private

在文件 ObjectRegister.cpp282 行定义.

引用了 FEnvironmentObject::Actor, FEnvironmentObject::BoundingBox, FEnvironmentObject::CanTick, EnvironmentObjects, UBoundingBoxCalculator::GetBBsOfStaticMeshComponents(), FEnvironmentObject::Id, FEnvironmentObject::Name, FEnvironmentObject::ObjectLabel, SMComp, FEnvironmentObject::Transform , 以及 FEnvironmentObject::Type.

被这些函数引用 RegisterObjects().

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

◆ RegisterTrafficLight()

void UObjectRegister::RegisterTrafficLight ( ATrafficLightBase * TrafficLight)
private

在文件 ObjectRegister.cpp166 行定义.

引用了 FEnvironmentObject::Actor, FEnvironmentObject::BoundingBox, FEnvironmentObject::CanTick, EnvironmentObjects, UBoundingBoxCalculator::GetMeshCompsFromActorBoundingBox(), ATagger::GetTagAsString(), UBoundingBoxCalculator::GetTrafficLightBoundingBox(), FEnvironmentObject::Id, FEnvironmentObject::Name, ObjectIdToComp, FEnvironmentObject::ObjectLabel, TrafficLight, FEnvironmentObject::Transform , 以及 FEnvironmentObject::Type.

被这些函数引用 RegisterObjects().

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

◆ RegisterVehicle()

void UObjectRegister::RegisterVehicle ( ACarlaWheeledVehicle * Vehicle)
private

在文件 ObjectRegister.cpp151 行定义.

引用了 ATagger::GetTagOfTaggedComponent(), UBoundingBoxCalculator::GetVehicleBoundingBox(), RegisterEnvironmentObject() , 以及 Vehicle.

被这些函数引用 RegisterObjects().

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

类成员变量说明

◆ EnvironmentObjects

TArray<FEnvironmentObject> UObjectRegister::EnvironmentObjects
private

◆ FoliageActorInstanceCount

int UObjectRegister::FoliageActorInstanceCount = 0
private

在文件 ObjectRegister.h70 行定义.

被这些函数引用 RegisterISMComponents().

◆ ObjectIdToComp

TMultiMap<uint64, const UStaticMeshComponent*> UObjectRegister::ObjectIdToComp
private

在文件 ObjectRegister.h65 行定义.

被这些函数引用 EnableISMComp(), EnableTrafficLight(), RegisterISMComponents() , 以及 RegisterTrafficLight().


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