VTK  9.7.1
Classes | Public Member Functions | Public Attributes | List of all members
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  MapPointsArrayWorker
 
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])
 
bool BucketInsideCircle (int i, int j, const double center[3], double r2)
 

Public Attributes

vtkLocatorTuple< TIds > * Map
 
TIds * Offsets
 
- Public Attributes inherited from vtkBucketList2D
vtkStaticPointLocator2D * Locator
 
vtkIdType NumPts
 
vtkIdType NumBuckets
 
int BatchSize
 
vtkDataSet * DataSet
 
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 232 of file vtkStaticPointLocator2DPrivate.h.

Constructor & Destructor Documentation

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

Definition at line 239 of file vtkStaticPointLocator2DPrivate.h.

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

Definition at line 250 of file vtkStaticPointLocator2DPrivate.h.

Member Function Documentation

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

Definition at line 258 of file vtkStaticPointLocator2DPrivate.h.

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

Definition at line 268 of file vtkStaticPointLocator2DPrivate.h.

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

Definition at line 274 of file vtkStaticPointLocator2DPrivate.h.

template<typename TIds>
vtkIdType BucketList2D< TIds >::FindClosestPoint ( const double  x[3])
template<typename TIds>
vtkIdType BucketList2D< TIds >::FindClosestPointWithinRadius ( double  radius,
const double  x[3],
double  inputDataLength,
double &  dist2 
)
template<typename TIds>
void BucketList2D< TIds >::FindClosestNPoints ( int  N,
const double  x[3],
vtkIdList *  result 
)
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 
)
template<typename TIds>
void BucketList2D< TIds >::FindPointsWithinRadius ( double  R,
const double  x[3],
vtkIdList *  result 
)
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 
)
template<typename TIds>
double BucketList2D< TIds >::FindCloseNBoundedPoints ( int  N,
const double  x[3],
vtkIdList *  result 
)
template<typename TIds>
void BucketList2D< TIds >::MergePoints ( double  tol,
vtkIdType *  pointMap 
)
template<typename TIds>
void BucketList2D< TIds >::GenerateRepresentation ( int  level,
vtkPolyData *  pd 
)
template<typename TIds>
bool BucketList2D< TIds >::BucketIntersectsCircle ( int  i,
int  j,
const double  center[3],
double  R2 
)
template<typename TIds>
void BucketList2D< TIds >::GetOverlappingBuckets ( NeighborBuckets2D *  buckets,
const double  x[3],
const int  ij[2],
double  dist,
int  level 
)
template<typename TIds>
void BucketList2D< TIds >::GetOverlappingBuckets ( NeighborBuckets2D *  buckets,
const double  x[3],
double  dist,
int  prevMinLevel[2],
int  prevMaxLevel[2] 
)
template<typename TIds>
void BucketList2D< TIds >::BuildLocator ( )
inlineoverridevirtual

Implements vtkBucketList2D.

Definition at line 552 of file vtkStaticPointLocator2DPrivate.h.

Member Data Documentation

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

Definition at line 235 of file vtkStaticPointLocator2DPrivate.h.

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

Definition at line 236 of file vtkStaticPointLocator2DPrivate.h.


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