VTK  9.7.20261102
vtk::keys::SortUnique Struct Reference

#include <vtkKeys.h>

Detailed Description

The reduce functor of an array of elements that keeps one element of every set of equal ones, with operator< and operator==: it sorts the elements of every key, then applies std::unique().

Definition at line 411 of file vtkKeys.h.

Public Member Functions

template<typename Element, typename KeyIdType, typename ElementIdType>
void operator() (Element *elements, KeyIdType beginKeyId, KeyIdType endKeyId, const ElementIdType *offsets, ElementIdType *counts) const

Member Function Documentation

◆ operator()()

template<typename Element, typename KeyIdType, typename ElementIdType>
void vtk::keys::SortUnique::operator() ( Element * elements,
KeyIdType beginKeyId,
KeyIdType endKeyId,
const ElementIdType * offsets,
ElementIdType * counts ) const

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