Sets actors' custom depth stencil value for semantic segmentation according to their meshes. 更多...
#include <Tagger.h>
Public 成员函数 | |
ATagger () | |
静态 Public 成员函数 | |
static FLinearColor | GetActorLabelColor (const AActor &Actor, const crp::CityObjectLabel &Label) |
获得实例分割中参与者所标注的颜色 | |
static crp::CityObjectLabel | GetLabelByFolderName (const FString &String) |
Method that computes the label corresponding to a folder path | |
template<typename T > | |
static crp::CityObjectLabel | GetLabelByPath (const T *Object) |
Method that computes the label corresponding to an specific object using the folder path in which it is stored | |
static FString | GetTagAsString (crp::CityObjectLabel Tag) |
Retrieve the tags of an already tagged actor. | |
static crp::CityObjectLabel | GetTagOfTaggedComponent (const UPrimitiveComponent &Component) |
Retrieve the tag of an already tagged component. | |
static void | GetTagsOfTaggedActor (const AActor &Actor, TSet< crp::CityObjectLabel > &Tags) |
Retrieve the tags of an already tagged actor. | |
static bool | IsThing (const crp::CityObjectLabel &Label) |
static bool | MatchComponent (const UPrimitiveComponent &Component, crp::CityObjectLabel Tag) |
Return true if Component has been tagged with the given Tag. | |
static void | SetStencilValue (UPrimitiveComponent &Component, const crp::CityObjectLabel &Label, const bool bSetRenderCustomDepth) |
static void | TagActor (const AActor &Actor, bool bTagForSemanticSegmentation) |
Set the tag of an actor. | |
static void | TagActorsInLevel (ULevel &Level, bool bTagForSemanticSegmentation) |
static void | TagActorsInLevel (UWorld &World, bool bTagForSemanticSegmentation) |
Set the tag of every actor in level. | |
Private 属性 | |
bool | bTagForSemanticSegmentation = false |
bool | bTriggerTagObjects = false |
Sets actors' custom depth stencil value for semantic segmentation according to their meshes.
Non-static functions present so it can be dropped into the scene for testing purposes.
ATagger::ATagger | ( | ) |
在文件 Tagger.cpp 第 294 行定义.
|
static |
获得实例分割中参与者所标注的颜色
Actor | 所需要判断显示颜色的参与者 |
Label |
在文件 Tagger.cpp 第 84 行定义.
引用了 CastEnum().
被这些函数引用 TagActor().
|
static |
|
inlinestatic |
Method that computes the label corresponding to an specific object using the folder path in which it is stored
被这些函数引用 TagActor().
|
static |
Retrieve the tags of an already tagged actor.
CityObjectLabel::None is not added to the array.
在文件 Tagger.cpp 第 251 行定义.
引用了 CARLA_GET_LABEL_STR, Other , 以及 TrafficLight.
被这些函数引用 CarlaGetRelevantTagAsString(), UObjectRegister::RegisterTrafficLight() , 以及 TagActor().
|
inlinestatic |
Retrieve the tag of an already tagged component.
被这些函数引用 URayTracer::CastRay(), ACarlaGameModeBase::EnableOverlapEvents(), UBoundingBoxCalculator::GetBBsOfActor(), UBoundingBoxCalculator::GetBBsOfSkeletalMeshComponents(), UBoundingBoxCalculator::GetBBsOfStaticMeshComponents(), CaService::GetStationType(), GetTagsOfTaggedActor(), UBoundingBoxCalculator::GetVehicleBoundingBox(), URayTracer::ProjectPoint(), UObjectRegister::RegisterISMComponents() , 以及 UObjectRegister::RegisterVehicle().
|
static |
Retrieve the tags of an already tagged actor.
CityObjectLabel::None is not added to the array.
在文件 Tagger.cpp 第 237 行定义.
引用了 GetTagOfTaggedComponent().
被这些函数引用 FActorRegistry::MakeCarlaActor() , 以及 UCarlaEpisode::SerializeActor().
|
static |
在文件 Tagger.cpp 第 64 行定义.
|
inlinestatic |
|
static |
|
static |
Set the tag of an actor.
If bTagForSemanticSegmentation true, activate the custom depth pass. This pass is necessary for rendering the semantic segmentation. However, it may add a performance penalty since occlusion doesn't seem to be applied to objects having this value active.
在文件 Tagger.cpp 第 104 行定义.
引用了 bTagForSemanticSegmentation, GetActorLabelColor(), GetLabelByPath(), GetTagAsString(), IsValid(), UTaggedComponent::SetColor() , 以及 SetStencilValue().
被这些函数引用 UTaggerDelegate::OnActorSpawned(), UActorDispatcher::SpawnActor(), TagActorsInLevel() , 以及 TagActorsInLevel().
|
static |
|
static |
Set the tag of every actor in level.
If bTagForSemanticSegmentation true, activate the custom depth pass. This pass is necessary for rendering the semantic segmentation. However, it may add a performance penalty since occlusion doesn't seem to be applied to objects having this value active.
在文件 Tagger.cpp 第 223 行定义.
引用了 bTagForSemanticSegmentation , 以及 TagActor().
被这些函数引用 ACarlaGameModeBase::BeginPlay(), ACityMapGenerator::GenerateRoadMap(), ALargeMapManager::OnLevelAddedToWorld() , 以及 ACarlaGameModeBase::OnLoadStreamLevel().
|
private |
被这些函数引用 TagActor(), TagActorsInLevel() , 以及 TagActorsInLevel().