#include <CarlaReplayerHelper.h>
Private 成员函数 | |
FCarlaActor * | FindTrafficLightAt (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 属性 | |
UCarlaEpisode * | Episode {nullptr} |
在文件 CarlaReplayerHelper.h 第 27 行定义.
|
private |
在文件 CarlaReplayerHelper.cpp 第 110 行定义.
引用了 FActorRegistry::begin(), FActorRegistry::end(), Episode, FCarlaActor::GetActorGlobalLocation(), UCarlaEpisode::GetActorRegistry(), FCarlaActor::GetActorType() , 以及 FCarlaActor::TrafficLight.
被这些函数引用 TryToCreateReplayerActor().
void CarlaReplayerHelper::ProcessReplayerAnimBiker | ( | CarlaRecorderAnimBiker | Biker | ) |
在文件 CarlaReplayerHelper.cpp 第 486 行定义.
引用了 CarlaRecorderAnimBiker::DatabaseId, CarlaRecorderAnimBiker::EngineRotation, Episode, UCarlaEpisode::FindCarlaActor(), CarlaRecorderAnimBiker::ForwardSpeed, FCarlaActor::GetActor(), ACarlaWheeledVehicle::SetRotationAnim() , 以及 ACarlaWheeledVehicle::SetSpeedAnim().
被这些函数引用 CarlaReplayer::ProcessAnimBiker().
void CarlaReplayerHelper::ProcessReplayerAnimVehicle | ( | CarlaRecorderAnimVehicle | Vehicle | ) |
在文件 CarlaReplayerHelper.cpp 第 410 行定义.
引用了 FCarlaActor::ApplyControlToVehicle(), FVehicleControl::bHandBrake, FVehicleControl::bManualGearShift, FVehicleControl::Brake, FVehicleControl::bReverse, Episode, UCarlaEpisode::FindCarlaActor(), FVehicleControl::Gear, FVehicleControl::Steer, FVehicleControl::Throttle , 以及 Vehicle.
被这些函数引用 CarlaReplayer::ProcessAnimVehicle().
void CarlaReplayerHelper::ProcessReplayerAnimVehicleWheels | ( | CarlaRecorderAnimWheels | Vehicle | ) |
在文件 CarlaReplayerHelper.cpp 第 337 行定义.
引用了 CarlaRecorderAnimWheels::DatabaseId, Episode, UCarlaEpisode::FindCarlaActor(), FCarlaActor::GetActor(), FCarlaActor::GetActorType(), WheelInfo::Location, WheelInfo::SteeringAngle, WheelInfo::TireRotation, FCarlaActor::Vehicle , 以及 CarlaRecorderAnimWheels::WheelValues.
被这些函数引用 CarlaReplayer::ProcessAnimVehicleWheels().
void CarlaReplayerHelper::ProcessReplayerAnimWalker | ( | CarlaRecorderAnimWalker | Walker | ) |
在文件 CarlaReplayerHelper.cpp 第 481 行定义.
引用了 CarlaRecorderAnimWalker::DatabaseId, SetWalkerSpeed() , 以及 CarlaRecorderAnimWalker::Speed.
被这些函数引用 CarlaReplayer::ProcessAnimWalker().
void CarlaReplayerHelper::ProcessReplayerDoorVehicle | ( | CarlaRecorderDoorVehicle | DoorVehicle | ) |
在文件 CarlaReplayerHelper.cpp 第 429 行定义.
引用了 CarlaRecorderDoorVehicle::bIsOpen, CarlaRecorderDoorVehicle::DatabaseId, CarlaRecorderDoorVehicle::Doors, Episode, UCarlaEpisode::FindCarlaActor(), FCarlaActor::GetActor() , 以及 Vehicle.
被这些函数引用 CarlaReplayer::ProcessDoorVehicle().
std::pair< int, uint32_t > CarlaReplayerHelper::ProcessReplayerEventAdd | ( | FVector | Location, |
FVector | Rotation, | ||
CarlaRecorderActorDescription | Description, | ||
uint32_t | DesiredId, | ||
bool | bIgnoreHero, | ||
bool | bIgnoreSpectator, | ||
bool | ReplaySensors ) |
在文件 CarlaReplayerHelper.cpp 第 176 行定义.
引用了 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().
bool CarlaReplayerHelper::ProcessReplayerEventDel | ( | uint32_t | DatabaseId | ) |
在文件 CarlaReplayerHelper.cpp 第 253 行定义.
引用了 UCarlaEpisode::DestroyActor(), Episode, UCarlaEpisode::FindCarlaActor() , 以及 FCarlaActor::GetActorId().
被这些函数引用 CarlaReplayer::ProcessEventsDel().
bool CarlaReplayerHelper::ProcessReplayerEventParent | ( | uint32_t | ChildId, |
uint32_t | ParentId ) |
在文件 CarlaReplayerHelper.cpp 第 267 行定义.
引用了 FCarlaActor::AddChildren(), UCarlaEpisode::AttachActors(), Episode, UCarlaEpisode::FindCarlaActor(), FCarlaActor::GetActor(), FCarlaActor::GetActorId(), FCarlaActor::IsDormant(), UCarlaEpisode::PutActorToSleep(), carla::rpc::Rigid, FCarlaActor::SetAttachmentType() , 以及 FCarlaActor::SetParent().
被这些函数引用 CarlaReplayer::ProcessEventsParent().
bool CarlaReplayerHelper::ProcessReplayerFinish | ( | bool | bApplyAutopilot, |
bool | bIgnoreHero, | ||
std::unordered_map< uint32_t, bool > & | IsHero ) |
在文件 CarlaReplayerHelper.cpp 第 527 行定义.
引用了 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().
void CarlaReplayerHelper::ProcessReplayerLightScene | ( | CarlaRecorderLightScene | LightScene | ) |
在文件 CarlaReplayerHelper.cpp 第 458 行定义.
引用了 CarlaRecorderLightScene::bOn, CarlaRecorderLightScene::Color, Episode, UCarlaLightSubsystem::GetLight(), CarlaRecorderLightScene::Intensity, CarlaRecorderLightScene::LightId , 以及 CarlaRecorderLightScene::Type.
被这些函数引用 CarlaReplayer::ProcessLightScene().
void CarlaReplayerHelper::ProcessReplayerLightVehicle | ( | CarlaRecorderLightVehicle | LightVehicle | ) |
在文件 CarlaReplayerHelper.cpp 第 447 行定义.
引用了 CarlaRecorderLightVehicle::DatabaseId, Episode, UCarlaEpisode::FindCarlaActor(), FCarlaActor::SetVehicleLightState() , 以及 CarlaRecorderLightVehicle::State.
被这些函数引用 CarlaReplayer::ProcessLightVehicle().
bool CarlaReplayerHelper::ProcessReplayerPosition | ( | CarlaRecorderPosition | Pos1, |
CarlaRecorderPosition | Pos2, | ||
double | Per, | ||
double | DeltaTime, | ||
bool | bIgnoreSpectator ) |
在文件 CarlaReplayerHelper.cpp 第 303 行定义.
引用了 CarlaRecorderPosition::DatabaseId, Episode, UCarlaEpisode::FindCarlaActor(), FCarlaActor::GetActor(), CarlaRecorderPosition::Location, CarlaRecorderPosition::Rotation , 以及 FCarlaActor::SetActorGlobalTransform().
被这些函数引用 CarlaReplayer::InterpolatePosition().
bool CarlaReplayerHelper::ProcessReplayerStateTrafficLight | ( | CarlaRecorderStateTrafficLight | State | ) |
在文件 CarlaReplayerHelper.cpp 第 387 行定义.
引用了 Episode, UCarlaEpisode::FindCarlaActor(), UTrafficLightController::GetGroup(), FCarlaActor::GetTrafficLightController(), UTrafficLightController::SetElapsedTime(), ATrafficLightGroup::SetFrozenGroup(), FCarlaActor::SetTrafficLightState() , 以及 State.
被这些函数引用 CarlaReplayer::ProcessStates().
void CarlaReplayerHelper::ProcessReplayerWalkerBones | ( | const CarlaRecorderWalkerBones & | Walker | ) |
在文件 CarlaReplayerHelper.cpp 第 499 行定义.
引用了 AWalkerController::BlendPose(), FWalkerBoneControlIn::BoneTransforms, Episode, UCarlaEpisode::FindCarlaActor(), FCarlaActor::GetActor(), AWalkerController::SetBonesTransform() , 以及 WalkerBones.
被这些函数引用 CarlaReplayer::ProcessWalkerBones().
void CarlaReplayerHelper::RemoveStaticProps | ( | ) |
在文件 CarlaReplayerHelper.cpp 第 592 行定义.
引用了 Episode.
被这些函数引用 CarlaReplayer::CheckPlayAfterMapLoaded() , 以及 CarlaReplayer::ReplayFile().
|
private |
在文件 CarlaReplayerHelper.cpp 第 160 行定义.
引用了 FCarlaActor::SetActorAutopilot() , 以及 Success.
被这些函数引用 ProcessReplayerEventAdd().
|
private |
在文件 CarlaReplayerHelper.cpp 第 144 行定义.
引用了 FCarlaActor::SetActorSimulatePhysics() , 以及 Success.
被这些函数引用 ProcessReplayerEventAdd() , 以及 ProcessReplayerFinish().
void CarlaReplayerHelper::SetActorVelocity | ( | FCarlaActor * | CarlaActor, |
FVector | Velocity ) |
在文件 CarlaReplayerHelper.cpp 第 569 行定义.
引用了 FCarlaActor::SetActorTargetVelocity().
被这些函数引用 ProcessReplayerFinish().
bool CarlaReplayerHelper::SetCameraPosition | ( | uint32_t | Id, |
FVector | Offset, | ||
FQuat | Rotation ) |
在文件 CarlaReplayerHelper.cpp 第 361 行定义.
引用了 Episode, UCarlaEpisode::FindCarlaActor(), FCarlaActor::GetActorGlobalTransform(), UCarlaEpisode::GetSpectatorPawn() , 以及 FCarlaActor::SetActorGlobalTransform().
被这些函数引用 CarlaReplayer::UpdatePositions().
|
inline |
void CarlaReplayerHelper::SetWalkerSpeed | ( | uint32_t | ActorId, |
float | Speed ) |
在文件 CarlaReplayerHelper.cpp 第 579 行定义.
引用了 FCarlaActor::ApplyControlToWalker(), Episode, UCarlaEpisode::FindCarlaActor() , 以及 FWalkerControl::Speed.
被这些函数引用 ProcessReplayerAnimWalker() , 以及 ProcessReplayerFinish().
|
private |
在文件 CarlaReplayerHelper.cpp 第 38 行定义.
引用了 FActorRegistry::Contains(), Episode, UCarlaEpisode::FindCarlaActor(), FindTrafficLightAt(), UCarlaEpisode::GetActorRegistry(), UCarlaStatics::GetLargeMapManager(), FActorDescription::Id, ALargeMapManager::OnActorSpawned() , 以及 UCarlaEpisode::SpawnActorWithInfo().
被这些函数引用 ProcessReplayerEventAdd().
|
private |
在文件 CarlaReplayerHelper.h 第 100 行定义.
被这些函数引用 FindTrafficLightAt(), ProcessReplayerAnimBiker(), ProcessReplayerAnimVehicle(), ProcessReplayerAnimVehicleWheels(), ProcessReplayerDoorVehicle(), ProcessReplayerEventAdd(), ProcessReplayerEventDel(), ProcessReplayerEventParent(), ProcessReplayerFinish(), ProcessReplayerLightScene(), ProcessReplayerLightVehicle(), ProcessReplayerPosition(), ProcessReplayerStateTrafficLight(), ProcessReplayerWalkerBones(), RemoveStaticProps(), SetCameraPosition(), SetEpisode(), SetWalkerSpeed() , 以及 TryToCreateReplayerActor().