TTK
Loading...
Searching...
No Matches
Functions
ttkIdentifierRandomizer.cpp File Reference
#include <Shuffle.h>
#include <ttkIdentifierRandomizer.h>
#include <vtkCellData.h>
#include <vtkDataArray.h>
#include <vtkDataSet.h>
#include <vtkInformation.h>
#include <vtkObjectFactory.h>
#include <vtkPointData.h>
#include <ttkMacros.h>
#include <ttkUtils.h>
#include <map>
#include <numeric>
#include <random>

Go to the source code of this file.

Functions

 vtkStandardNewMacro (ttkIdentifierRandomizer)
 
template<typename T >
int shuffleScalarFieldValues (const T *const inputField, T *const outputField, const int nValues, const int seed, const bool compactRange, const int nThreads=1)
 

Function Documentation

◆ shuffleScalarFieldValues()

template<typename T >
int shuffleScalarFieldValues ( const T *const  inputField,
T *const  outputField,
const int  nValues,
const int  seed,
const bool  compactRange,
const int  nThreads = 1 
)

Definition at line 47 of file ttkIdentifierRandomizer.cpp.

◆ vtkStandardNewMacro()

vtkStandardNewMacro ( ttkIdentifierRandomizer  )