|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   66 #ifndef vtkSortDataArray_h 
   67 #define vtkSortDataArray_h 
   69 #include "vtkCommonCoreModule.h"  
  175   static void GenerateSortIndices(
 
  177   static void ShuffleArray(
vtkIdType* idx, 
int dataType, 
vtkIdType numKeys, 
int numComp,
 
  179   static void ShuffleIdList(
 
  189   static void GenerateSort1Indices(
int dataType, 
void* dataIn, 
vtkIdType numKeys, 
vtkIdType* idx);
 
  193   static void Shuffle1Array(
 
  201 #endif // vtkSortDataArray_h 
  
provides several methods for sorting VTK arrays.
static void Sort(vtkIdList *keys)
Sorts the given array in ascending order.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
abstract base class for most VTK objects
static void Sort(vtkAbstractArray *keys)
static void Sort(vtkAbstractArray *keys, vtkAbstractArray *values)
Sorts the given key/value pairs based on the keys (the keys are expected to be 1-tuples,...
a simple class to control print indentation
static void Sort(vtkAbstractArray *keys, vtkIdList *values)
list of point or cell ids
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static void SortArrayByComponent(vtkAbstractArray *arr, int k)
Sorts the given data array using the specified component as a key.
Abstract superclass for all arrays.