VTK  9.6.20260215
vtkVoronoiBatchManager Struct Reference

Class to manage batches of points. More...

#include <vtkVoronoiCore.h>

Public Member Functions

 vtkVoronoiBatchManager (vtkIdType num, vtkIdType batchSize)
 
vtkIdType GetNumberOfBatches () const
 
vtkIdType GetBatchItemRange (vtkIdType batchNum, vtkIdType &startId, vtkIdType &endId) const
 

Public Attributes

vtkIdType Num
 
vtkIdType BatchSize
 
vtkIdType NumBatches
 

Detailed Description

Class to manage batches of points.

This is used to improve threaded performance and reduce memory.

Definition at line 352 of file vtkVoronoiCore.h.

Constructor & Destructor Documentation

◆ vtkVoronoiBatchManager()

vtkVoronoiBatchManager::vtkVoronoiBatchManager ( vtkIdType num,
vtkIdType batchSize )
inline

Definition at line 357 of file vtkVoronoiCore.h.

Member Function Documentation

◆ GetNumberOfBatches()

vtkIdType vtkVoronoiBatchManager::GetNumberOfBatches ( ) const
inline

Definition at line 363 of file vtkVoronoiCore.h.

◆ GetBatchItemRange()

vtkIdType vtkVoronoiBatchManager::GetBatchItemRange ( vtkIdType batchNum,
vtkIdType & startId,
vtkIdType & endId ) const
inline

Definition at line 364 of file vtkVoronoiCore.h.

Member Data Documentation

◆ Num

vtkIdType vtkVoronoiBatchManager::Num

Definition at line 354 of file vtkVoronoiCore.h.

◆ BatchSize

vtkIdType vtkVoronoiBatchManager::BatchSize

Definition at line 355 of file vtkVoronoiCore.h.

◆ NumBatches

vtkIdType vtkVoronoiBatchManager::NumBatches

Definition at line 356 of file vtkVoronoiCore.h.


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