Agrarsense
|
#include <Tagger.h>
Public Member Functions | |
ATagger () | |
Protected Member Functions | |
virtual void | BeginPlay () override |
virtual void | EndPlay (const EEndPlayReason::Type EndPlayReason) override |
Private Member Functions | |
void | TagExistingActors () |
void | OnActorSpawned (AActor *Actor) |
void | TagActor (AActor &Actor, bool TagForSemanticSegmentation) |
void | SetStencilValue (UPrimitiveComponent &Component, const ELabels &Label, const bool SetRenderCustomDepth) |
ELabels | GetLabelFromString (const FString &String) |
ELabels | GetLabelFromStaticComponent (UStaticMeshComponent *StaticMeshComponentPtr) |
ELabels | GetLabelFromSkeletalMeshComponent (USkeletalMeshComponent *USkeletalMeshComponentPtr) |
ELabels | GetLabelFromPath (const FString &Path, FString &FolderName) |
template<typename T > | |
ELabels | GetLabelFromTag (const T *Object) |
Private Attributes | |
FDelegateHandle | ActorSpawnedDelegateHandle |
TMap< FString, ELabels > | LabelMap |
ATagger::ATagger | ( | ) |
Definition at line 21 of file Tagger.cpp.
|
overrideprotectedvirtual |
Definition at line 26 of file Tagger.cpp.
References ActorSpawnedDelegateHandle, UAgrarsenseSettings::IsPlayingInMainMenu(), LabelMap, OnActorSpawned(), and TagExistingActors().
|
overrideprotectedvirtual |
Definition at line 54 of file Tagger.cpp.
References ActorSpawnedDelegateHandle.
|
private |
Definition at line 210 of file Tagger.cpp.
References GetLabelFromString(), and None.
Referenced by GetLabelFromSkeletalMeshComponent(), and GetLabelFromStaticComponent().
|
private |
Definition at line 180 of file Tagger.cpp.
References GetLabelFromPath(), GetLabelFromTag(), and None.
Referenced by TagActor().
|
private |
Definition at line 150 of file Tagger.cpp.
References GetLabelFromPath(), GetLabelFromTag(), and None.
Referenced by TagActor().
|
private |
Definition at line 134 of file Tagger.cpp.
References LabelMap, and None.
Referenced by GetLabelFromPath().
|
inlineprivate |
Definition at line 61 of file Tagger.h.
References None.
Referenced by GetLabelFromSkeletalMeshComponent(), and GetLabelFromStaticComponent().
|
private |
Definition at line 75 of file Tagger.cpp.
References TagActor().
Referenced by BeginPlay().
|
private |
Definition at line 127 of file Tagger.cpp.
References None.
Referenced by TagActor().
|
private |
Definition at line 83 of file Tagger.cpp.
References GetLabelFromSkeletalMeshComponent(), GetLabelFromStaticComponent(), AInstancedActor::IsCustomDepthSetup(), SetStencilValue(), and Walker.
Referenced by OnActorSpawned(), and TagExistingActors().
|
private |
Definition at line 61 of file Tagger.cpp.
References TagActor().
Referenced by BeginPlay().
|
private |
Definition at line 71 of file Tagger.h.
Referenced by BeginPlay(), and EndPlay().
|
private |
Definition at line 73 of file Tagger.h.
Referenced by BeginPlay(), and GetLabelFromString().