#include "Carla.h"
#include "Carla/Actor/ActorBlueprintFunctionLibrary.h"
#include "Carla/Sensor/LidarDescription.h"
#include "Carla/Sensor/SceneCaptureSensor.h"
#include "Carla/Sensor/ShaderBasedSensor.h"
#include "Carla/Util/ScopedStack.h"
#include <algorithm>
#include <limits>
#include <stack>
Go to the source code of this file.
Classes | |
class | FActorDefinitionValidator |
Checks validity of FActorDefinition. More... | |
Macros | |
#define | CARLA_ABFL_CHECK_ACTOR(ActorPtr) check((ActorPtr != nullptr) && !ActorPtr->IsPendingKill()); |
============================================================================ – Helpers to set Actors ------------------------------------------------—More... | |
Functions | |
static void | AddRecommendedValuesForActorRoleName (FActorDefinition &Definition, TArray< FString > &&RecommendedValues) |
static void | AddRecommendedValuesForSensorRoleNames (FActorDefinition &Definition) |
static void | AddVariationsForSensor (FActorDefinition &Def) |
static void | AddVariationsForTrigger (FActorDefinition &Def) |
static FString | ColorToFString (const FColor &Color) |
template<typename T , typename Functor > | |
static void | FillActorDefinitionArray (const TArray< T > &ParameterArray, TArray< FActorDefinition > &Definitions, Functor Maker) |
template<typename ... TStrs> | |
static void | FillIdAndTags (FActorDefinition &Def, TStrs &&... Strings) |
============================================================================ – Helpers to create actor definitions ----------------------------------—More... | |
template<typename ... ARGS> | |
static FString | JoinStrings (const FString &Separator, ARGS &&... Args) |
#define CARLA_ABFL_CHECK_ACTOR | ( | ActorPtr | ) | check((ActorPtr != nullptr) && !ActorPtr->IsPendingKill()); |
============================================================================
Definition at line 1532 of file ActorBlueprintFunctionLibrary.cpp.
Referenced by UActorBlueprintFunctionLibrary::SetCamera(), UActorBlueprintFunctionLibrary::SetGnss(), UActorBlueprintFunctionLibrary::SetIMU(), and UActorBlueprintFunctionLibrary::SetRadar().
|
static |
Definition at line 216 of file ActorBlueprintFunctionLibrary.cpp.
References FActorDefinition::Variations.
Referenced by AddRecommendedValuesForSensorRoleNames(), UActorBlueprintFunctionLibrary::MakePedestrianDefinition(), UActorBlueprintFunctionLibrary::MakePropDefinition(), and UActorBlueprintFunctionLibrary::MakeVehicleDefinition().
|
static |
Definition at line 230 of file ActorBlueprintFunctionLibrary.cpp.
References AddRecommendedValuesForActorRoleName().
Referenced by UActorBlueprintFunctionLibrary::MakeCameraDefinition(), UActorBlueprintFunctionLibrary::MakeGenericSensorDefinition(), UActorBlueprintFunctionLibrary::MakeLidarDefinition(), and UActorBlueprintFunctionLibrary::MakeNormalsCameraDefinition().
|
static |
Definition at line 236 of file ActorBlueprintFunctionLibrary.cpp.
References FActorVariation::bRestrictToRecommended, Float, FActorVariation::Id, FActorVariation::RecommendedValues, FActorVariation::Type, and FActorDefinition::Variations.
Referenced by UActorBlueprintFunctionLibrary::MakeCameraDefinition(), UActorBlueprintFunctionLibrary::MakeGnssDefinition(), UActorBlueprintFunctionLibrary::MakeIMUDefinition(), UActorBlueprintFunctionLibrary::MakeLidarDefinition(), UActorBlueprintFunctionLibrary::MakeNormalsCameraDefinition(), UActorBlueprintFunctionLibrary::MakeObstacleDetectorDefinitions(), and UActorBlueprintFunctionLibrary::MakeRadarDefinition().
|
static |
Definition at line 248 of file ActorBlueprintFunctionLibrary.cpp.
References FActorVariation::bRestrictToRecommended, Float, FActorVariation::Id, JoinStrings(), FActorVariation::RecommendedValues, FActorVariation::Type, and FActorDefinition::Variations.
Referenced by UActorBlueprintFunctionLibrary::MakeTriggerDefinition().
|
static |
Definition at line 164 of file ActorBlueprintFunctionLibrary.cpp.
References JoinStrings().
Referenced by UActorBlueprintFunctionLibrary::MakeVehicleDefinition().
|
static |
Definition at line 1182 of file ActorBlueprintFunctionLibrary.cpp.
References Success.
Referenced by UActorBlueprintFunctionLibrary::MakePedestrianDefinitions(), UActorBlueprintFunctionLibrary::MakePropDefinitions(), UActorBlueprintFunctionLibrary::MakeTriggerDefinitions(), and UActorBlueprintFunctionLibrary::MakeVehicleDefinitions().
|
static |
============================================================================
Definition at line 194 of file ActorBlueprintFunctionLibrary.cpp.
References FActorVariation::bRestrictToRecommended, FActorDefinition::Id, FActorVariation::Id, JoinStrings(), FActorVariation::RecommendedValues, String, FActorDefinition::Tags, FActorVariation::Type, and FActorDefinition::Variations.
Referenced by UActorBlueprintFunctionLibrary::MakeCameraDefinition(), UActorBlueprintFunctionLibrary::MakeGenericDefinition(), UActorBlueprintFunctionLibrary::MakeGnssDefinition(), UActorBlueprintFunctionLibrary::MakeIMUDefinition(), UActorBlueprintFunctionLibrary::MakeLidarDefinition(), UActorBlueprintFunctionLibrary::MakeNormalsCameraDefinition(), UActorBlueprintFunctionLibrary::MakePedestrianDefinition(), UActorBlueprintFunctionLibrary::MakePropDefinition(), UActorBlueprintFunctionLibrary::MakeRadarDefinition(), UActorBlueprintFunctionLibrary::MakeTriggerDefinition(), and UActorBlueprintFunctionLibrary::MakeVehicleDefinition().
|
static |
Definition at line 159 of file ActorBlueprintFunctionLibrary.cpp.
Referenced by AddVariationsForTrigger(), ColorToFString(), and FillIdAndTags().