HDK
|
#include <GU_NeighbourList.h>
Public Types | |
typedef GA_Index | IdxType |
typedef UT_ValArray< IdxType > | IdxArrayType |
Public Member Functions | |
GU_NeighbourList () | |
virtual | ~GU_NeighbourList () |
void | build (const GU_Detail *gdp, const GU_NeighbourListParms &parms) |
Build the neighbour list structure from the given gdp. More... | |
void | clearLists () |
Erases our storage. More... | |
void | getNeighbours (int pointidx, const GU_Detail *gdp, UT_Array< GA_Offset > &ptlist) const |
int64 | getMemoryUsage () const |
GU_NeighbourList This class associates with each point in the provided geometry a fixed interaction radius. Based on this interaction radius, a list of neighbour points can be efficiently determined for each point in the geometry.
Definition at line 90 of file GU_NeighbourList.h.
Definition at line 94 of file GU_NeighbourList.h.
typedef GA_Index GU_NeighbourList::IdxType |
Definition at line 93 of file GU_NeighbourList.h.
GU_NeighbourList::GU_NeighbourList | ( | ) |
|
virtual |
void GU_NeighbourList::build | ( | const GU_Detail * | gdp, |
const GU_NeighbourListParms & | parms | ||
) |
Build the neighbour list structure from the given gdp.
void GU_NeighbourList::clearLists | ( | ) |
Erases our storage.
int64 GU_NeighbourList::getMemoryUsage | ( | ) | const |
void GU_NeighbourList::getNeighbours | ( | int | pointidx, |
const GU_Detail * | gdp, | ||
UT_Array< GA_Offset > & | ptlist | ||
) | const |
Fills the giving point array with the list of neighbours of the given point index. Out of range point indices will be return empty lists. If the gdp has too few points, the out of range neighbours are ignored.