|
VTK
9.7.20261120
|
#include <vtkKeys.h>
What DenseKeys and SparseKeys share, and all that Reduce(), Group(), Compact() and ForEachKeyRange() use: the first element of every key id, the elements of key id k being at [GetOffset(k), GetOffset(k + 1)) of the Output.
KeyIdType is the type of the key ids.
Public Types | |
| using | KeyType = TKey |
| using | ElementIdType = TElementId |
| using | KeyIdType = TKeyId |
Public Member Functions | |
| vtkIdType | GetNumberOfRecords () const |
| vtkIdType | GetNumberOfElements () const |
| KeyIdType | GetNumberOfKeys () const |
| ElementIdType | GetOffset (KeyIdType keyId) const |
| The first element of a key id, 0 <= keyId <= GetNumberOfKeys(). | |
| const ElementIdType * | GetOffsets () const |
| The first element of every key id, GetNumberOfKeys() + 1 values, nullptr without element. | |
| ElementIdType | GetNumberOfElementsOfKey (KeyIdType keyId) const |
Protected Member Functions | |
| void | ResetBase () |
| void | CopyBaseFrom (const KeysBase &other) |
Protected Attributes | |
| vtkIdType | NumberOfRecords = 0 |
| vtkIdType | NumberOfElements = 0 |
| KeyIdType | NumberOfKeys = 0 |
| std::unique_ptr< ElementIdType[]> | Offsets |
| using vtk::keys::KeysBase< TKey, TElementId, TKeyId >::KeyType = TKey |
| using vtk::keys::KeysBase< TKey, TElementId, TKeyId >::ElementIdType = TElementId |
| using vtk::keys::KeysBase< TKey, TElementId, TKeyId >::KeyIdType = TKeyId |
|
inline |
|
inline |
|
inline |
|
inline |
The first element of a key id, 0 <= keyId <= GetNumberOfKeys().
|
inline |
The first element of every key id, GetNumberOfKeys() + 1 values, nullptr without element.
|
inline |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
protected |
|
protected |
|
protected |