|
CARLA
|
#include <BoundingBoxCalculator.h>
Static Public Member Functions | |
| static FBoundingBox | CombineBBs (const TArray< FBoundingBox > &BBsToCombine) |
| static void | CombineBBsOfActor (const AActor *Actor, TArray< FBoundingBox > &OutBB, TArray< uint8 > &OutTag, const float DistanceThreshold=0.0f, uint8 TagToCombine=0xFF) |
| static FBoundingBox | CombineBoxes (const TArray< UBoxComponent * > &BBsToCombine) |
| static FBoundingBox | GetActorBoundingBox (const AActor *Actor, uint8 InTagQueried=0xFF) |
| Compute the bounding box of the given Carla actor. | |
| static TArray< FBoundingBox > | GetBBsOfActor (const AActor *Actor, uint8 InTagQueried=0xFF) |
| static void | GetBBsOfSkeletalMeshComponents (const TArray< USkeletalMeshComponent * > &SkeletalMeshComps, TArray< FBoundingBox > &OutBB, TArray< uint8 > &OutTag, uint8 InTagQueried=0xFF) |
| static void | GetBBsOfStaticMeshComponents (const TArray< UStaticMeshComponent * > &StaticMeshComps, TArray< FBoundingBox > &OutBB, TArray< uint8 > &OutTag, uint8 InTagQueried=0xFF) |
| static TArray< FBoundingBox > | GetBoundingBoxOfActors (const TArray< AActor * > &Actors, uint8 InTagQueried=0xFF) |
| static FBoundingBox | GetCharacterBoundingBox (const ACharacter *Character, uint8 InTagQueried=0xFF) |
| static void | GetISMBoundingBox (UInstancedStaticMeshComponent *ISMComp, TArray< FBoundingBox > &OutBoundingBox) |
| static void | GetMeshCompsFromActorBoundingBox (const AActor *Actor, const FBoundingBox &InBB, TArray< UStaticMeshComponent * > &OutStaticMeshComps) |
| static FBoundingBox | GetSkeletalMeshBoundingBox (const USkeletalMesh *SkeletalMesh) |
| static FBoundingBox | GetSkeletalMeshBoundingBoxFromComponent (const USkeletalMeshComponent *SkeletalMeshComp) |
| static FBoundingBox | GetStaticMeshBoundingBox (const UStaticMesh *StaticMesh) |
| static void | GetTrafficLightBoundingBox (const ATrafficLightBase *TrafficLight, TArray< FBoundingBox > &OutBB, TArray< uint8 > &OutTag, uint8 InTagQueried=0xFF) |
| static FBoundingBox | GetVehicleBoundingBox (const ACarlaWheeledVehicle *Vehicle, uint8 InTagQueried=0xFF) |
Definition at line 18 of file BoundingBoxCalculator.h.
|
static |
Definition at line 671 of file BoundingBoxCalculator.cpp.
References CombineBoundingBoxesGeneric().
Referenced by CombineBBsOfActor(), and GetActorBoundingBox().
|
static |
Definition at line 570 of file BoundingBoxCalculator.cpp.
References CombineBBs(), GetBBsOfStaticMeshComponents(), FBoundingBox::Origin, and FBoundingBox::Rotation.
Referenced by GetTrafficLightBoundingBox().
|
static |
Definition at line 676 of file BoundingBoxCalculator.cpp.
References CombineBoundingBoxesGeneric().
|
static |
Compute the bounding box of the given Carla actor.
Definition at line 40 of file BoundingBoxCalculator.cpp.
References ApplyTransformToBB(), Character, CombineBBs(), FBoundingBox::Extent, GetBBsOfActor(), GetSkeletalMeshBoundingBoxFromComponent(), FBoundingBox::Origin, FBoundingBox::Rotation, TriggerVolume, and Vehicle.
Referenced by CaService::AddBasicVehicleContainerHighFrequency(), FActorRegistry::MakeCarlaActor(), and UCarlaEpisode::SerializeActor().
|
static |
Definition at line 494 of file BoundingBoxCalculator.cpp.
References carla::rpc::Any, BoundingBox, Character, GetBBsOfSkeletalMeshComponents(), GetBBsOfStaticMeshComponents(), GetCharacterBoundingBox(), GetISMBoundingBox(), ATagger::GetTagOfTaggedComponent(), GetTrafficLightBoundingBox(), GetVehicleBoundingBox(), TrafficLight, and Vehicle.
Referenced by GetActorBoundingBox(), and GetBoundingBoxOfActors().
|
static |
Definition at line 447 of file BoundingBoxCalculator.cpp.
References carla::rpc::Any, ApplyTransformToBB(), BoundingBox, GetSkeletalMeshBoundingBox(), and ATagger::GetTagOfTaggedComponent().
Referenced by GetBBsOfActor(), and UObjectRegister::RegisterSKMComponents().
|
static |
Definition at line 409 of file BoundingBoxCalculator.cpp.
References carla::rpc::Any, ApplyTransformToBB(), BoundingBox, GetStaticMeshBoundingBox(), and ATagger::GetTagOfTaggedComponent().
Referenced by CombineBBsOfActor(), GetBBsOfActor(), GetMeshCompsFromActorBoundingBox(), and UObjectRegister::RegisterSMComponents().
|
static |
Definition at line 480 of file BoundingBoxCalculator.cpp.
References GetBBsOfActor().
Referenced by ACarlaGameModeBase::GetAllBBsOfLevel().
|
static |
Definition at line 241 of file BoundingBoxCalculator.cpp.
References carla::rpc::Any, ApplyTransformToBB(), BoundingBox, Character, GetSkeletalMeshBoundingBoxFromComponent(), and carla::rpc::Pedestrians.
Referenced by GetBBsOfActor(), and UObjectRegister::RegisterCharacter().
|
static |
Definition at line 372 of file BoundingBoxCalculator.cpp.
References ApplyTransformToBB(), BoundingBox, GetStaticMeshBoundingBox(), and ISMComp.
Referenced by GetBBsOfActor(), and UObjectRegister::RegisterISMComponents().
|
static |
Definition at line 689 of file BoundingBoxCalculator.cpp.
References GetBBsOfStaticMeshComponents(), and FBoundingBox::Origin.
Referenced by UObjectRegister::RegisterTrafficLight().
|
static |
Definition at line 327 of file BoundingBoxCalculator.cpp.
Referenced by GetBBsOfSkeletalMeshComponents(), and GetVehicleBoundingBox().
|
static |
Definition at line 303 of file BoundingBoxCalculator.cpp.
Referenced by GetActorBoundingBox(), and GetCharacterBoundingBox().
|
static |
Definition at line 359 of file BoundingBoxCalculator.cpp.
Referenced by GetBBsOfStaticMeshComponents(), and GetISMBoundingBox().
|
static |
Definition at line 268 of file BoundingBoxCalculator.cpp.
References carla::rpc::Any, CombineBBsOfActor(), carla::rpc::TrafficLight, and TrafficLight.
Referenced by FCarlaServer::FPimpl::BindActions(), GetBBsOfActor(), and UObjectRegister::RegisterTrafficLight().
|
static |
Definition at line 163 of file BoundingBoxCalculator.cpp.
References carla::rpc::Any, ApplyTransformToBB(), FBoundingBox::Extent, GetSkeletalMeshBoundingBox(), ATagger::GetTagOfTaggedComponent(), FBoundingBox::Origin, FBoundingBox::Rotation, and Vehicle.
Referenced by ACarlaWheeledVehicle::AdjustVehicleBounds(), GetBBsOfActor(), and UObjectRegister::RegisterVehicle().