Navigation
API > API/Runtime > API/Runtime/GeometryCore
TVectorSetAnalysis3 computes various analyses of a set of input Vectors (currently mainly clustering.
| Name | TVectorSetAnalysis3 |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Sampling/VectorSetAnalysis.h |
| Include Path | #include "Sampling/VectorSetAnalysis.h" |
Syntax
template<typename RealType>
class TVectorSetAnalysis3
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bNormalized | bool | Sampling/VectorSetAnalysis.h | ||
| ClusterVectors | TArray< TVector< RealType > > | Calculated values Set of vectors that represent centers of clusters | Sampling/VectorSetAnalysis.h | |
| VectorIDs | TArray< int32 > | Sampling/VectorSetAnalysis.h | ||
| Vectors | TArray< TVector< RealType > > | Input data | Sampling/VectorSetAnalysis.h | |
| VectorToClusterMap | TArray< int32 > | Mapping from Vector index to ClusterVectors index | Sampling/VectorSetAnalysis.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GreedyClusterVectors
(
RealType AngleToleranceDeg |
Run simple greedy clustering algorithm on input ClusterVectors. | Sampling/VectorSetAnalysis.h | |
void Initialize
(
EnumerableIDType EnumerableIDs, |
Initialize the internal set of Vectors and IDs using an external integer-Enumerable and associated GetVector(ID) function | Sampling/VectorSetAnalysis.h | |
int32 NumClusters() |
Sampling/VectorSetAnalysis.h | ||
int32 NumVectors() |
Sampling/VectorSetAnalysis.h |