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

#include <CarlaReplayerHelper.h>

+ CarlaReplayerHelper 的协作图:

Public 成员函数

void ProcessReplayerAnimBiker (CarlaRecorderAnimBiker Biker)
 
void ProcessReplayerAnimVehicle (CarlaRecorderAnimVehicle Vehicle)
 
void ProcessReplayerAnimVehicleWheels (CarlaRecorderAnimWheels Vehicle)
 
void ProcessReplayerAnimWalker (CarlaRecorderAnimWalker Walker)
 
void ProcessReplayerDoorVehicle (CarlaRecorderDoorVehicle DoorVehicle)
 
std::pair< int, uint32_t > ProcessReplayerEventAdd (FVector Location, FVector Rotation, CarlaRecorderActorDescription Description, uint32_t DesiredId, bool bIgnoreHero, bool bIgnoreSpectator, bool ReplaySensors)
 
bool ProcessReplayerEventDel (uint32_t DatabaseId)
 
bool ProcessReplayerEventParent (uint32_t ChildId, uint32_t ParentId)
 
bool ProcessReplayerFinish (bool bApplyAutopilot, bool bIgnoreHero, std::unordered_map< uint32_t, bool > &IsHero)
 
void ProcessReplayerLightScene (CarlaRecorderLightScene LightScene)
 
void ProcessReplayerLightVehicle (CarlaRecorderLightVehicle LightVehicle)
 
bool ProcessReplayerPosition (CarlaRecorderPosition Pos1, CarlaRecorderPosition Pos2, double Per, double DeltaTime, bool bIgnoreSpectator)
 
bool ProcessReplayerStateTrafficLight (CarlaRecorderStateTrafficLight State)
 
void ProcessReplayerWalkerBones (const CarlaRecorderWalkerBones &Walker)
 
void RemoveStaticProps ()
 
void SetActorVelocity (FCarlaActor *CarlaActor, FVector Velocity)
 
bool SetCameraPosition (uint32_t Id, FVector Offset, FQuat Rotation)
 
void SetEpisode (UCarlaEpisode *ThisEpisode)
 
void SetWalkerSpeed (uint32_t ActorId, float Speed)
 

Private 成员函数

FCarlaActorFindTrafficLightAt (FVector Location)
 
bool SetActorAutopilot (FCarlaActor *CarlaActor, bool bEnabled, bool bKeepState=false)
 
bool SetActorSimulatePhysics (FCarlaActor *CarlaActor, bool bEnabled)
 
std::pair< int, FCarlaActor * > TryToCreateReplayerActor (FVector &Location, FVector &Rotation, FActorDescription &ActorDesc, uint32_t DesiredId, bool SpawnSensors)
 

Private 属性

UCarlaEpisodeEpisode {nullptr}
 

详细描述

在文件 CarlaReplayerHelper.h27 行定义.

成员函数说明

◆ FindTrafficLightAt()

FCarlaActor * CarlaReplayerHelper::FindTrafficLightAt ( FVector Location)
private

在文件 CarlaReplayerHelper.cpp110 行定义.

引用了 FActorRegistry::begin(), FActorRegistry::end(), Episode, FCarlaActor::GetActorGlobalLocation(), UCarlaEpisode::GetActorRegistry(), FCarlaActor::GetActorType() , 以及 FCarlaActor::TrafficLight.

被这些函数引用 TryToCreateReplayerActor().

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

◆ ProcessReplayerAnimBiker()

void CarlaReplayerHelper::ProcessReplayerAnimBiker ( CarlaRecorderAnimBiker Biker)

在文件 CarlaReplayerHelper.cpp486 行定义.

引用了 CarlaRecorderAnimBiker::DatabaseId, CarlaRecorderAnimBiker::EngineRotation, Episode, UCarlaEpisode::FindCarlaActor(), CarlaRecorderAnimBiker::ForwardSpeed, FCarlaActor::GetActor(), ACarlaWheeledVehicle::SetRotationAnim() , 以及 ACarlaWheeledVehicle::SetSpeedAnim().

被这些函数引用 CarlaReplayer::ProcessAnimBiker().

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

◆ ProcessReplayerAnimVehicle()

void CarlaReplayerHelper::ProcessReplayerAnimVehicle ( CarlaRecorderAnimVehicle Vehicle)

在文件 CarlaReplayerHelper.cpp410 行定义.

引用了 FCarlaActor::ApplyControlToVehicle(), FVehicleControl::bHandBrake, FVehicleControl::bManualGearShift, FVehicleControl::Brake, FVehicleControl::bReverse, Episode, UCarlaEpisode::FindCarlaActor(), FVehicleControl::Gear, FVehicleControl::Steer, FVehicleControl::Throttle , 以及 Vehicle.

被这些函数引用 CarlaReplayer::ProcessAnimVehicle().

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

◆ ProcessReplayerAnimVehicleWheels()

void CarlaReplayerHelper::ProcessReplayerAnimVehicleWheels ( CarlaRecorderAnimWheels Vehicle)

在文件 CarlaReplayerHelper.cpp337 行定义.

引用了 CarlaRecorderAnimWheels::DatabaseId, Episode, UCarlaEpisode::FindCarlaActor(), FCarlaActor::GetActor(), FCarlaActor::GetActorType(), WheelInfo::Location, WheelInfo::SteeringAngle, WheelInfo::TireRotation, FCarlaActor::Vehicle , 以及 CarlaRecorderAnimWheels::WheelValues.

被这些函数引用 CarlaReplayer::ProcessAnimVehicleWheels().

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

◆ ProcessReplayerAnimWalker()

void CarlaReplayerHelper::ProcessReplayerAnimWalker ( CarlaRecorderAnimWalker Walker)

在文件 CarlaReplayerHelper.cpp481 行定义.

引用了 CarlaRecorderAnimWalker::DatabaseId, SetWalkerSpeed() , 以及 CarlaRecorderAnimWalker::Speed.

被这些函数引用 CarlaReplayer::ProcessAnimWalker().

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

◆ ProcessReplayerDoorVehicle()

void CarlaReplayerHelper::ProcessReplayerDoorVehicle ( CarlaRecorderDoorVehicle DoorVehicle)

在文件 CarlaReplayerHelper.cpp429 行定义.

引用了 CarlaRecorderDoorVehicle::bIsOpen, CarlaRecorderDoorVehicle::DatabaseId, CarlaRecorderDoorVehicle::Doors, Episode, UCarlaEpisode::FindCarlaActor(), FCarlaActor::GetActor() , 以及 Vehicle.

被这些函数引用 CarlaReplayer::ProcessDoorVehicle().

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

◆ ProcessReplayerEventAdd()

std::pair< int, uint32_t > CarlaReplayerHelper::ProcessReplayerEventAdd ( FVector Location,
FVector Rotation,
CarlaRecorderActorDescription Description,
uint32_t DesiredId,
bool bIgnoreHero,
bool bIgnoreSpectator,
bool ReplaySensors )

在文件 CarlaReplayerHelper.cpp176 行定义.

引用了 CarlaRecorderActorDescription::Attributes, Episode, FActorAttribute::Id, FActorDescription::Id, CarlaRecorderActorDescription::Id, SetActorAutopilot(), SetActorSimulatePhysics(), TryToCreateReplayerActor(), FActorAttribute::Type, FActorDescription::UId, CarlaRecorderActorDescription::UId, FActorAttribute::Value, FActorDescription::Variations, FCarlaActor::Vehicle , 以及 FCarlaActor::Walker.

被这些函数引用 CarlaReplayer::ProcessEventsAdd().

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

◆ ProcessReplayerEventDel()

bool CarlaReplayerHelper::ProcessReplayerEventDel ( uint32_t DatabaseId)

在文件 CarlaReplayerHelper.cpp253 行定义.

引用了 UCarlaEpisode::DestroyActor(), Episode, UCarlaEpisode::FindCarlaActor() , 以及 FCarlaActor::GetActorId().

被这些函数引用 CarlaReplayer::ProcessEventsDel().

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

◆ ProcessReplayerEventParent()

bool CarlaReplayerHelper::ProcessReplayerEventParent ( uint32_t ChildId,
uint32_t ParentId )

在文件 CarlaReplayerHelper.cpp267 行定义.

引用了 FCarlaActor::AddChildren(), UCarlaEpisode::AttachActors(), Episode, UCarlaEpisode::FindCarlaActor(), FCarlaActor::GetActor(), FCarlaActor::GetActorId(), FCarlaActor::IsDormant(), UCarlaEpisode::PutActorToSleep(), carla::rpc::Rigid, FCarlaActor::SetAttachmentType() , 以及 FCarlaActor::SetParent().

被这些函数引用 CarlaReplayer::ProcessEventsParent().

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

◆ ProcessReplayerFinish()

bool CarlaReplayerHelper::ProcessReplayerFinish ( bool bApplyAutopilot,
bool bIgnoreHero,
std::unordered_map< uint32_t, bool > & IsHero )

在文件 CarlaReplayerHelper.cpp527 行定义.

引用了 FCarlaActor::ApplyControlToVehicle(), FVehicleControl::bHandBrake, FVehicleControl::bManualGearShift, FVehicleControl::Brake, FVehicleControl::bReverse, Episode, FVehicleControl::Gear, FCarlaActor::GetActorId(), UCarlaEpisode::GetActorRegistry(), FCarlaActor::GetActorType(), SetActorSimulatePhysics(), SetActorVelocity(), SetWalkerSpeed(), FVehicleControl::Steer, FVehicleControl::Throttle, FCarlaActor::Vehicle , 以及 FCarlaActor::Walker.

被这些函数引用 CarlaReplayer::Stop().

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

◆ ProcessReplayerLightScene()

void CarlaReplayerHelper::ProcessReplayerLightScene ( CarlaRecorderLightScene LightScene)

在文件 CarlaReplayerHelper.cpp458 行定义.

引用了 CarlaRecorderLightScene::bOn, CarlaRecorderLightScene::Color, Episode, UCarlaLightSubsystem::GetLight(), CarlaRecorderLightScene::Intensity, CarlaRecorderLightScene::LightId , 以及 CarlaRecorderLightScene::Type.

被这些函数引用 CarlaReplayer::ProcessLightScene().

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

◆ ProcessReplayerLightVehicle()

void CarlaReplayerHelper::ProcessReplayerLightVehicle ( CarlaRecorderLightVehicle LightVehicle)

在文件 CarlaReplayerHelper.cpp447 行定义.

引用了 CarlaRecorderLightVehicle::DatabaseId, Episode, UCarlaEpisode::FindCarlaActor(), FCarlaActor::SetVehicleLightState() , 以及 CarlaRecorderLightVehicle::State.

被这些函数引用 CarlaReplayer::ProcessLightVehicle().

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

◆ ProcessReplayerPosition()

bool CarlaReplayerHelper::ProcessReplayerPosition ( CarlaRecorderPosition Pos1,
CarlaRecorderPosition Pos2,
double Per,
double DeltaTime,
bool bIgnoreSpectator )

在文件 CarlaReplayerHelper.cpp303 行定义.

引用了 CarlaRecorderPosition::DatabaseId, Episode, UCarlaEpisode::FindCarlaActor(), FCarlaActor::GetActor(), CarlaRecorderPosition::Location, CarlaRecorderPosition::Rotation , 以及 FCarlaActor::SetActorGlobalTransform().

被这些函数引用 CarlaReplayer::InterpolatePosition().

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

◆ ProcessReplayerStateTrafficLight()

bool CarlaReplayerHelper::ProcessReplayerStateTrafficLight ( CarlaRecorderStateTrafficLight State)

在文件 CarlaReplayerHelper.cpp387 行定义.

引用了 Episode, UCarlaEpisode::FindCarlaActor(), UTrafficLightController::GetGroup(), FCarlaActor::GetTrafficLightController(), UTrafficLightController::SetElapsedTime(), ATrafficLightGroup::SetFrozenGroup(), FCarlaActor::SetTrafficLightState() , 以及 State.

被这些函数引用 CarlaReplayer::ProcessStates().

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

◆ ProcessReplayerWalkerBones()

void CarlaReplayerHelper::ProcessReplayerWalkerBones ( const CarlaRecorderWalkerBones & Walker)

在文件 CarlaReplayerHelper.cpp499 行定义.

引用了 AWalkerController::BlendPose(), FWalkerBoneControlIn::BoneTransforms, Episode, UCarlaEpisode::FindCarlaActor(), FCarlaActor::GetActor(), AWalkerController::SetBonesTransform() , 以及 WalkerBones.

被这些函数引用 CarlaReplayer::ProcessWalkerBones().

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

◆ RemoveStaticProps()

void CarlaReplayerHelper::RemoveStaticProps ( )

在文件 CarlaReplayerHelper.cpp592 行定义.

引用了 Episode.

被这些函数引用 CarlaReplayer::CheckPlayAfterMapLoaded() , 以及 CarlaReplayer::ReplayFile().

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

◆ SetActorAutopilot()

bool CarlaReplayerHelper::SetActorAutopilot ( FCarlaActor * CarlaActor,
bool bEnabled,
bool bKeepState = false )
private

在文件 CarlaReplayerHelper.cpp160 行定义.

引用了 FCarlaActor::SetActorAutopilot() , 以及 Success.

被这些函数引用 ProcessReplayerEventAdd().

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

◆ SetActorSimulatePhysics()

bool CarlaReplayerHelper::SetActorSimulatePhysics ( FCarlaActor * CarlaActor,
bool bEnabled )
private

在文件 CarlaReplayerHelper.cpp144 行定义.

引用了 FCarlaActor::SetActorSimulatePhysics() , 以及 Success.

被这些函数引用 ProcessReplayerEventAdd() , 以及 ProcessReplayerFinish().

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

◆ SetActorVelocity()

void CarlaReplayerHelper::SetActorVelocity ( FCarlaActor * CarlaActor,
FVector Velocity )

在文件 CarlaReplayerHelper.cpp569 行定义.

引用了 FCarlaActor::SetActorTargetVelocity().

被这些函数引用 ProcessReplayerFinish().

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

◆ SetCameraPosition()

bool CarlaReplayerHelper::SetCameraPosition ( uint32_t Id,
FVector Offset,
FQuat Rotation )

在文件 CarlaReplayerHelper.cpp361 行定义.

引用了 Episode, UCarlaEpisode::FindCarlaActor(), FCarlaActor::GetActorGlobalTransform(), UCarlaEpisode::GetSpectatorPawn() , 以及 FCarlaActor::SetActorGlobalTransform().

被这些函数引用 CarlaReplayer::UpdatePositions().

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

◆ SetEpisode()

void CarlaReplayerHelper::SetEpisode ( UCarlaEpisode * ThisEpisode)
inline

在文件 CarlaReplayerHelper.h33 行定义.

引用了 Episode.

被这些函数引用 CarlaReplayer::SetEpisode().

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

◆ SetWalkerSpeed()

void CarlaReplayerHelper::SetWalkerSpeed ( uint32_t ActorId,
float Speed )

在文件 CarlaReplayerHelper.cpp579 行定义.

引用了 FCarlaActor::ApplyControlToWalker(), Episode, UCarlaEpisode::FindCarlaActor() , 以及 FWalkerControl::Speed.

被这些函数引用 ProcessReplayerAnimWalker() , 以及 ProcessReplayerFinish().

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

◆ TryToCreateReplayerActor()

std::pair< int, FCarlaActor * > CarlaReplayerHelper::TryToCreateReplayerActor ( FVector & Location,
FVector & Rotation,
FActorDescription & ActorDesc,
uint32_t DesiredId,
bool SpawnSensors )
private

在文件 CarlaReplayerHelper.cpp38 行定义.

引用了 FActorRegistry::Contains(), Episode, UCarlaEpisode::FindCarlaActor(), FindTrafficLightAt(), UCarlaEpisode::GetActorRegistry(), UCarlaStatics::GetLargeMapManager(), FActorDescription::Id, ALargeMapManager::OnActorSpawned() , 以及 UCarlaEpisode::SpawnActorWithInfo().

被这些函数引用 ProcessReplayerEventAdd().

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

类成员变量说明

◆ Episode

UCarlaEpisode* CarlaReplayerHelper::Episode {nullptr}
private

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