Agrarsense
|
#include <TreeHeightsFromImage.h>
Public Member Functions | |
ATreeHeightsFromImage () | |
Public Attributes | |
UTexture2D * | treeMapImage |
Protected Member Functions | |
virtual void | BeginPlay () override |
float | EuclideanDistance (const FColor &Color1, const FColor &Color2) |
FColor | FindClosestColor (const FColor &TargetColor, const TMap< int32, FColor > &ColorMap) |
Protected Attributes | |
const TMap< int, FColor > | colorHeight |
Definition at line 15 of file TreeHeightsFromImage.h.
ATreeHeightsFromImage::ATreeHeightsFromImage | ( | ) |
Definition at line 8 of file TreeHeightsFromImage.cpp.
|
overrideprotectedvirtual |
Definition at line 13 of file TreeHeightsFromImage.cpp.
References colorHeight, FindClosestColor(), and treeMapImage.
|
protected |
Definition at line 76 of file TreeHeightsFromImage.cpp.
Referenced by FindClosestColor().
|
protected |
Definition at line 87 of file TreeHeightsFromImage.cpp.
References EuclideanDistance().
Referenced by BeginPlay().
|
protected |
Definition at line 31 of file TreeHeightsFromImage.h.
Referenced by BeginPlay().
UTexture2D* ATreeHeightsFromImage::treeMapImage |
Definition at line 64 of file TreeHeightsFromImage.h.
Referenced by BeginPlay().