|
VTK
9.4.2
|
#include <vtkBatch.h>
Public Member Functions | |
| vtkBatches () | |
| ~vtkBatches ()=default | |
| void | Initialize (vtkIdType numberOfElements, unsigned int batchSize=1000) |
| Initialize the batches. | |
| void | TrimBatches (const std::function< bool(const vtkTBatch &)> shouldRemoveBatch) |
| Remove batches that should be skipped. | |
| TBatchData | BuildOffsetsAndGetGlobalSum () |
| Build offsets in place and returns the Global sum for a vtkBatch with Compact Batch Data. | |
| vtkIdType | GetNumberOfBatches () const |
| Get the number of batches. | |
| unsigned int | GetBatchSize () const |
| Get the batch size. | |
| reference | operator[] (size_type pos) noexcept |
| The following methods expose the underlying vector. | |
| const_reference | operator[] (size_type pos) const noexcept |
| The following methods expose the underlying vector. | |
| iterator | begin () noexcept |
| The following methods expose the underlying vector. | |
| const_iterator | begin () const noexcept |
| The following methods expose the underlying vector. | |
| const_iterator | cbegin () const noexcept |
| The following methods expose the underlying vector. | |
| iterator | end () noexcept |
| The following methods expose the underlying vector. | |
| const_iterator | end () const noexcept |
| The following methods expose the underlying vector. | |
| const_iterator | cend () const noexcept |
| The following methods expose the underlying vector. | |
Definition at line 52 of file vtkBatch.h.
|
inline |
Definition at line 64 of file vtkBatch.h.
|
default |
|
inline |
Initialize the batches.
Definition at line 73 of file vtkBatch.h.
|
inline |
Remove batches that should be skipped.
Definition at line 99 of file vtkBatch.h.
|
inline |
Build offsets in place and returns the Global sum for a vtkBatch with Compact Batch Data.
Compact Batch Data are those that use one or more variables to calculate sums and then converts them to offsets to save memory.
1) TBatchData& operator+=(const TBatchData& rhs); 2) TBatchData operator+(const TBatchData& rhs);
Definition at line 158 of file vtkBatch.h.
|
inline |
Get the number of batches.
Definition at line 238 of file vtkBatch.h.
|
inline |
Get the batch size.
Definition at line 243 of file vtkBatch.h.
|
inlinenoexcept |
The following methods expose the underlying vector.
Definition at line 249 of file vtkBatch.h.
|
inlinenoexcept |
The following methods expose the underlying vector.
Definition at line 250 of file vtkBatch.h.
|
inlinenoexcept |
The following methods expose the underlying vector.
Definition at line 251 of file vtkBatch.h.
|
inlinenoexcept |
The following methods expose the underlying vector.
Definition at line 252 of file vtkBatch.h.
|
inlinenoexcept |
The following methods expose the underlying vector.
Definition at line 253 of file vtkBatch.h.
|
inlinenoexcept |
The following methods expose the underlying vector.
Definition at line 254 of file vtkBatch.h.
|
inlinenoexcept |
The following methods expose the underlying vector.
Definition at line 255 of file vtkBatch.h.
|
inlinenoexcept |
The following methods expose the underlying vector.
Definition at line 256 of file vtkBatch.h.