Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Helpers
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Helpers/PCGPointDataPartition.h |
| Include | #include "Helpers/PCGPointDataPartition.h" |
Syntax
template<typename Derived, typename KeyType>
class FPCGPointDataPartitionBase
Remarks
Convenience class to do point data partitioning, i.e. building a TMap
The intended implementation is that derived classes will implement the same functions (e.g. name hiding) and those will be appropriately called through using the derived class type. Methods that are not re-implemented/hidden will retain their default implementation, which is mostly trivial.
Variables
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPCGPointDataPartitionBase
(
const TArrayView< KeyType >& InKeys |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddToPartitionData
(
Element* SelectedElement, |
||
| bool | Initialize () |
Overridable behavior methods | |
| bool | InitializeForPointData
(
const UPCGPointData* PointData |
||
| void | Reset () |
||
| Element * | SelectPoint
(
const FPCGPoint& Point, |
||
| bool | SelectPoints
(
FPCGContext& Context, |
API | |
| Derived * | This () |
||
| const Derived * | This () |
||
| int32 | |||
| void | WriteToOutputData
(
UPCGPointData* OutPointData, |
Classes
| Type | Name | Description | |
|---|---|---|---|
| Element |