VTK  9.5.20251208
BucketList2D< TIds > Struct Template Reference

#include <vtkStaticPointLocator2DPrivate.h>

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

Classes

struct  MapDataSet
 
struct  MapOffsets
 
struct  MapPointsArray
 
struct  MergeClose
 
struct  MergePrecise
 

Public Member Functions

 BucketList2D (vtkStaticPointLocator2D *loc, vtkIdType numPts, int numBuckets)
 
 ~BucketList2D () 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 FindNPointsInAnnulus (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)
 
double FindCloseNBoundedPoints (int N, const double x[3], vtkIdList *result)
 
void MergePoints (double tol, vtkIdType *pointMap)
 
void GenerateRepresentation (int level, vtkPolyData *pd)
 
bool BucketIntersectsCircle (int i, int j, const double center[3], double R2)
 
void GetOverlappingBuckets (NeighborBuckets2D *buckets, const double x[3], const int ij[2], double dist, int level)
 
void GetOverlappingBuckets (NeighborBuckets2D *buckets, const double x[3], double dist, int prevMinLevel[2], int prevMaxLevel[2])
 
void BuildLocator () override
 
- Public Member Functions inherited from vtkBucketList2D
 vtkBucketList2D (vtkStaticPointLocator2D *loc, vtkIdType numPts, int numBuckets)
 
virtual ~vtkBucketList2D ()=default
 
void GetBucketNeighbors (NeighborBuckets2D *buckets, const int ij[2], const int ndivs[2], 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 ij[2]) const
 
vtkIdType GetBucketIndex (const double *x) const
 
void GetBucketCenter (int i, int j, double center[3])
 
void GetBucketBounds (int i, int j, double min[3], double max[3])
 

Public Attributes

vtkLocatorTuple< TIds > * Map
 
TIds * Offsets
 
- Public Attributes inherited from vtkBucketList2D
vtkStaticPointLocator2DLocator
 
vtkIdType NumPts
 
vtkIdType NumBuckets
 
int BatchSize
 
vtkDataSetDataSet
 
int Divisions [3]
 
double Bounds [6]
 
double H [3]
 
double hX
 
double hY
 
double hX2
 
double hY2
 
double fX
 
double fY
 
double bX
 
double bY
 
vtkIdType xD
 
vtkIdType yD
 
vtkIdType zD
 
double * FastPoints
 
double BinRadius
 
int MaxLevel
 

Detailed Description

template<typename TIds>
struct BucketList2D< TIds >

Definition at line 213 of file vtkStaticPointLocator2DPrivate.h.

Constructor & Destructor Documentation

◆ BucketList2D()

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

Definition at line 220 of file vtkStaticPointLocator2DPrivate.h.

◆ ~BucketList2D()

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

Definition at line 231 of file vtkStaticPointLocator2DPrivate.h.

Member Function Documentation

◆ GetNumberOfIds()

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

Definition at line 239 of file vtkStaticPointLocator2DPrivate.h.

◆ GetIds() [1/2]

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

Definition at line 245 of file vtkStaticPointLocator2DPrivate.h.

◆ GetIds() [2/2]

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

Definition at line 251 of file vtkStaticPointLocator2DPrivate.h.

◆ FindClosestPoint()

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

◆ FindClosestPointWithinRadius()

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

◆ FindClosestNPoints()

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

◆ FindNPointsInAnnulus()

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

◆ FindPointsWithinRadius()

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

◆ IntersectWithLine()

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

◆ FindCloseNBoundedPoints()

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

◆ MergePoints()

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

◆ GenerateRepresentation()

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

◆ BucketIntersectsCircle()

template<typename TIds>
bool BucketList2D< TIds >::BucketIntersectsCircle ( int i,
int j,
const double center[3],
double R2 )

◆ GetOverlappingBuckets() [1/2]

template<typename TIds>
void BucketList2D< TIds >::GetOverlappingBuckets ( NeighborBuckets2D * buckets,
const double x[3],
const int ij[2],
double dist,
int level )

◆ GetOverlappingBuckets() [2/2]

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

◆ BuildLocator()

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

Implements vtkBucketList2D.

Definition at line 521 of file vtkStaticPointLocator2DPrivate.h.

Member Data Documentation

◆ Map

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

Definition at line 216 of file vtkStaticPointLocator2DPrivate.h.

◆ Offsets

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

Definition at line 217 of file vtkStaticPointLocator2DPrivate.h.


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