VTK  9.7.20260822
vtkBucketList2D Class Referenceabstract

#include <vtkStaticPointLocator2DPrivate.h>

Detailed Description

Private declarations for 2D binned spatial locator.

The main purpose of this class is to enable access to the internals of vtkStaticPointLocator2D, allowing complex iteration over locator bins. For example, see vtkAnnularBinIterator.

Definition at line 99 of file vtkStaticPointLocator2DPrivate.h.

Inheritance diagram for vtkBucketList2D:
[legend]
Collaboration diagram for vtkBucketList2D:
[legend]

Public Member Functions

 vtkBucketList2D (vtkStaticPointLocator2D *loc, vtkIdType numPts, int numBuckets)
virtual ~vtkBucketList2D ()=default
virtual void BuildLocator ()=0
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

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

Constructor & Destructor Documentation

◆ vtkBucketList2D()

vtkBucketList2D::vtkBucketList2D ( vtkStaticPointLocator2D * loc,
vtkIdType numPts,
int numBuckets )
inline

Definition at line 121 of file vtkStaticPointLocator2DPrivate.h.

◆ ~vtkBucketList2D()

virtual vtkBucketList2D::~vtkBucketList2D ( )
virtualdefault

Member Function Documentation

◆ BuildLocator()

virtual void vtkBucketList2D::BuildLocator ( )
pure virtual

◆ GetBucketNeighbors()

void vtkBucketList2D::GetBucketNeighbors ( NeighborBuckets2D * buckets,
const int ij[2],
const int ndivs[2],
int level )

◆ GenerateFace()

void vtkBucketList2D::GenerateFace ( int face,
int i,
int j,
int k,
vtkPoints * pts,
vtkCellArray * polys )

◆ Distance2ToBucket()

double vtkBucketList2D::Distance2ToBucket ( const double x[3],
const int nei[3] )

◆ Distance2ToBounds()

double vtkBucketList2D::Distance2ToBounds ( const double x[3],
const double bounds[6] )

◆ GetBucketIndices()

void vtkBucketList2D::GetBucketIndices ( const double * x,
int ij[2] ) const
inline

Definition at line 168 of file vtkStaticPointLocator2DPrivate.h.

◆ GetBucketIndex()

vtkIdType vtkBucketList2D::GetBucketIndex ( const double * x) const
inline

Definition at line 182 of file vtkStaticPointLocator2DPrivate.h.

◆ GetBucketCenter()

void vtkBucketList2D::GetBucketCenter ( int i,
int j,
double center[3] )
inline

Definition at line 192 of file vtkStaticPointLocator2DPrivate.h.

◆ GetBucketBounds()

void vtkBucketList2D::GetBucketBounds ( int i,
int j,
double min[3],
double max[3] )
inline

Definition at line 201 of file vtkStaticPointLocator2DPrivate.h.

◆ BucketInsideCircle()

bool vtkBucketList2D::BucketInsideCircle ( int i,
int j,
const double center[3],
double r2 )
inline

Definition at line 214 of file vtkStaticPointLocator2DPrivate.h.

Member Data Documentation

◆ Locator

vtkStaticPointLocator2D* vtkBucketList2D::Locator

Definition at line 101 of file vtkStaticPointLocator2DPrivate.h.

◆ NumPts

vtkIdType vtkBucketList2D::NumPts

Definition at line 102 of file vtkStaticPointLocator2DPrivate.h.

◆ NumBuckets

vtkIdType vtkBucketList2D::NumBuckets

Definition at line 103 of file vtkStaticPointLocator2DPrivate.h.

◆ BatchSize

int vtkBucketList2D::BatchSize

Definition at line 104 of file vtkStaticPointLocator2DPrivate.h.

◆ DataSet

vtkDataSet* vtkBucketList2D::DataSet

Definition at line 107 of file vtkStaticPointLocator2DPrivate.h.

◆ Divisions

int vtkBucketList2D::Divisions[3]

Definition at line 108 of file vtkStaticPointLocator2DPrivate.h.

◆ Bounds

double vtkBucketList2D::Bounds[6]

Definition at line 109 of file vtkStaticPointLocator2DPrivate.h.

◆ H

double vtkBucketList2D::H[3]

Definition at line 110 of file vtkStaticPointLocator2DPrivate.h.

◆ hX

double vtkBucketList2D::hX

Definition at line 111 of file vtkStaticPointLocator2DPrivate.h.

◆ hY

double vtkBucketList2D::hY

Definition at line 111 of file vtkStaticPointLocator2DPrivate.h.

◆ hX2

double vtkBucketList2D::hX2

Definition at line 111 of file vtkStaticPointLocator2DPrivate.h.

◆ hY2

double vtkBucketList2D::hY2

Definition at line 111 of file vtkStaticPointLocator2DPrivate.h.

◆ fX

double vtkBucketList2D::fX

Definition at line 112 of file vtkStaticPointLocator2DPrivate.h.

◆ fY

double vtkBucketList2D::fY

Definition at line 112 of file vtkStaticPointLocator2DPrivate.h.

◆ bX

double vtkBucketList2D::bX

Definition at line 112 of file vtkStaticPointLocator2DPrivate.h.

◆ bY

double vtkBucketList2D::bY

Definition at line 112 of file vtkStaticPointLocator2DPrivate.h.

◆ xD

vtkIdType vtkBucketList2D::xD

Definition at line 113 of file vtkStaticPointLocator2DPrivate.h.

◆ yD

vtkIdType vtkBucketList2D::yD

Definition at line 113 of file vtkStaticPointLocator2DPrivate.h.

◆ zD

vtkIdType vtkBucketList2D::zD

Definition at line 113 of file vtkStaticPointLocator2DPrivate.h.

◆ FastPoints

double* vtkBucketList2D::FastPoints

Definition at line 116 of file vtkStaticPointLocator2DPrivate.h.

◆ BinRadius

double vtkBucketList2D::BinRadius

Definition at line 117 of file vtkStaticPointLocator2DPrivate.h.

◆ MaxLevel

int vtkBucketList2D::MaxLevel

Definition at line 118 of file vtkStaticPointLocator2DPrivate.h.


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