| FSparseDynamicPointOctree3
|
Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/DynamicVerticesOctree3.h |
Include |
#include "DynamicVerticesOctree3.h" |
template<typename SourceType>
class TDynamicVerticesOctree3 : public FSparseDynamicPointOctree3
TDynamicVerticesOctree3 is an extension of FSparseDynamicPointOctree3 for the vertices of a FDynamicXYZ3 instance (eg FDynamicMesh3, TDynamicPointSet3, FDynamicGraph, etc) This extension does several things: 1) provides a simplified API based on vertex IDs to various Octree functions 2) tracks ModifiedBounds box of modified areas
The template expansion requires that FDynamicXYZ3 has the following API: 1) a function int MaxVertexID() that returns the maximum vertex ID/index 2) a function bool IsVertex(int) that returns true if the index is valid 3) a function FVector3d GetVertex(int index) that returns the position of a vertex 4) a function FAxisAlignedBox3d GetBounds() that returns a bounding-box of the point set
Name | Description | ||
---|---|---|---|
|
double |
HitSphereRadius |
|
|
ModifiedBounds |
Bounding box of vertices that have been inserted/removed since last clear |
|
|
const SourceTyp... |
VertexSource |
Potential optimizations: |
Name | Description | ||
---|---|---|---|
|
CheckValidity ( |
Check that the Octree is internally valid |
|
|
FindNearestHitVertex ( |
Find the nearest triangle of the VertexSource that is hit by the ray |
|
|
Initialize ( |
Add all vertices of MeshIn to the octree |
|
|
InsertVertex ( |
Insert a triangle into the tree |
|
|
InsertVertices ( |
Insert a list of vertices into the tree |
|
|
InsertVertices ( |
Insert a set of vertices into the tree |
|
|
NotifyPendingModification ( |
Include the current bounds of a triangle in the ModifiedBounds box |
|
|
NotifyPendingModification ( |
Include the current bounds of a set of vertices in the ModifiedBounds box |
|
|
ReinsertVertices ( |
Reinsert a set of vertices into the tree |
|
|
RemovePoint ( |
Remove a triangle from the tree |
|
|
RemoveVertices ( |
Remove a list of vertices from the tree |
|
|
RemoveVertices ( |
Remove a set of vertices from the tree |
|
|
ResetModifiedBounds() |
Reset the internal ModifiedBounds box that tracks modified triangle bounds |