VTK  9.6.1
BucketList< TIds > Struct Template Reference

#include <vtkStaticPointLocatorPrivate.h>

Inheritance diagram for BucketList< TIds >:
[legend]
Collaboration diagram for BucketList< TIds >:
[legend]

Classes

struct  MapDataSet
struct  MapPointsArray
struct  MapPointsArrayWorker
struct  MapOffsets
struct  MergePrecise
struct  MergeClose
struct  MergePointOrder
struct  MergeBinOrder
struct  MergePointsAndData

Public Member Functions

 BucketList (vtkStaticPointLocator *loc, vtkIdType numPts, int numBuckets)
 ~BucketList () override
vtkIdType GetNumberOfIds (vtkIdType bucketNum)
const vtkLocatorTuple< TIds > * GetIds (vtkIdType bucketNum)
void GetIds (vtkIdType bucketNum, vtkIdList *bList)
vtkIdType FindClosestPoint (const double x[3])
vtkIdType FindClosestPointWithinRadius (double radius, const double x[3], double inputDataLength, double &dist2)
void FindClosestNPoints (int N, const double x[3], vtkIdList *result)
double FindNPointsInShell (int N, const double x[3], vtkDist2TupleArray &results, double minDist2=(-0.1), bool sort=true, vtkDoubleArray *petals=nullptr)
void FindPointsWithinRadius (double R, const double x[3], vtkIdList *result)
int IntersectWithLine (double a0[3], double a1[3], double tol, double &t, double lineX[3], double ptX[3], vtkIdType &ptId)
void MergePoints (double tol, vtkIdType *pointMap, int orderingMode)
void MergePointsWithData (vtkDataArray *data, vtkIdType *pointMap)
void GenerateRepresentation (int level, vtkPolyData *pd)
void GetOverlappingBuckets (NeighborBuckets *buckets, const double x[3], const int ijk[3], double dist, int level)
void GetOverlappingBuckets (NeighborBuckets *buckets, const double x[3], double dist, int prevMinLevel[3], int prevMaxLevel[3])
void BuildLocator () override
Public Member Functions inherited from vtkBucketList
 vtkBucketList (vtkStaticPointLocator *loc, vtkIdType numPts, int numBuckets)
virtual ~vtkBucketList ()=default
void GetBucketNeighbors (NeighborBuckets *buckets, const int ijk[3], const int ndivs[3], int level)
void GenerateFace (int face, int i, int j, int k, vtkPoints *pts, vtkCellArray *polys)
double Distance2ToBucket (const double x[3], const int nei[3])
double Distance2ToBounds (const double x[3], const double bounds[6])
void GetBucketIndices (const double *x, int ijk[3]) const
vtkIdType GetBucketIndex (const double *x) const
void GetBucketCenter (int i, int j, int k, double center[3])
void GetBucketBounds (int i, int j, int k, double min[3], double max[3])
bool BucketInsideSphere (int i, int j, int k, double center[3], double r2)

Public Attributes

vtkLocatorTuple< TIds > * Map
TIds * Offsets
Public Attributes inherited from vtkBucketList
vtkStaticPointLocatorLocator
vtkIdType NumPts
vtkIdType NumBuckets
int BatchSize
vtkDataSetDataSet
int Divisions [3]
double Bounds [6]
double H [3]
double hX
double hY
double hZ
double hX2
double hY2
double hZ2
double fX
double fY
double fZ
double bX
double bY
double bZ
vtkIdType xD
vtkIdType yD
vtkIdType zD
vtkIdType xyD
double * FastPoints
double BinRadius
int MaxLevel

Detailed Description

template<typename TIds>
struct BucketList< TIds >

Definition at line 189 of file vtkStaticPointLocatorPrivate.h.

Constructor & Destructor Documentation

◆ BucketList()

template<typename TIds>
BucketList< TIds >::BucketList ( vtkStaticPointLocator * loc,
vtkIdType numPts,
int numBuckets )
inline

Definition at line 196 of file vtkStaticPointLocatorPrivate.h.

◆ ~BucketList()

template<typename TIds>
BucketList< TIds >::~BucketList ( )
inlineoverride

Definition at line 207 of file vtkStaticPointLocatorPrivate.h.

Member Function Documentation

◆ GetNumberOfIds()

template<typename TIds>
vtkIdType BucketList< TIds >::GetNumberOfIds ( vtkIdType bucketNum)
inline

Definition at line 215 of file vtkStaticPointLocatorPrivate.h.

◆ GetIds() [1/2]

template<typename TIds>
const vtkLocatorTuple< TIds > * BucketList< TIds >::GetIds ( vtkIdType bucketNum)
inline

Definition at line 221 of file vtkStaticPointLocatorPrivate.h.

◆ GetIds() [2/2]

template<typename TIds>
void BucketList< TIds >::GetIds ( vtkIdType bucketNum,
vtkIdList * bList )
inline

Definition at line 227 of file vtkStaticPointLocatorPrivate.h.

◆ FindClosestPoint()

template<typename TIds>
vtkIdType BucketList< TIds >::FindClosestPoint ( const double x[3])

◆ FindClosestPointWithinRadius()

template<typename TIds>
vtkIdType BucketList< TIds >::FindClosestPointWithinRadius ( double radius,
const double x[3],
double inputDataLength,
double & dist2 )

◆ FindClosestNPoints()

template<typename TIds>
void BucketList< TIds >::FindClosestNPoints ( int N,
const double x[3],
vtkIdList * result )

◆ FindNPointsInShell()

template<typename TIds>
double BucketList< TIds >::FindNPointsInShell ( int N,
const double x[3],
vtkDist2TupleArray & results,
double minDist2 = (-0.1),
bool sort = true,
vtkDoubleArray * petals = nullptr )

◆ FindPointsWithinRadius()

template<typename TIds>
void BucketList< TIds >::FindPointsWithinRadius ( double R,
const double x[3],
vtkIdList * result )

◆ IntersectWithLine()

template<typename TIds>
int BucketList< TIds >::IntersectWithLine ( double a0[3],
double a1[3],
double tol,
double & t,
double lineX[3],
double ptX[3],
vtkIdType & ptId )

◆ MergePoints()

template<typename TIds>
void BucketList< TIds >::MergePoints ( double tol,
vtkIdType * pointMap,
int orderingMode )

◆ MergePointsWithData()

template<typename TIds>
void BucketList< TIds >::MergePointsWithData ( vtkDataArray * data,
vtkIdType * pointMap )

◆ GenerateRepresentation()

template<typename TIds>
void BucketList< TIds >::GenerateRepresentation ( int level,
vtkPolyData * pd )

◆ GetOverlappingBuckets() [1/2]

template<typename TIds>
void BucketList< TIds >::GetOverlappingBuckets ( NeighborBuckets * buckets,
const double x[3],
const int ijk[3],
double dist,
int level )

◆ GetOverlappingBuckets() [2/2]

template<typename TIds>
void BucketList< TIds >::GetOverlappingBuckets ( NeighborBuckets * buckets,
const double x[3],
double dist,
int prevMinLevel[3],
int prevMaxLevel[3] )

◆ BuildLocator()

template<typename TIds>
void BucketList< TIds >::BuildLocator ( )
inlineoverridevirtual

Implements vtkBucketList.

Definition at line 758 of file vtkStaticPointLocatorPrivate.h.

Member Data Documentation

◆ Map

template<typename TIds>
vtkLocatorTuple<TIds>* BucketList< TIds >::Map

Definition at line 192 of file vtkStaticPointLocatorPrivate.h.

◆ Offsets

template<typename TIds>
TIds* BucketList< TIds >::Offsets

Definition at line 193 of file vtkStaticPointLocatorPrivate.h.


The documentation for this struct was generated from the following file: