34#ifndef vtkArrayListTemplate_h
35#define vtkArrayListTemplate_h
47VTK_ABI_NAMESPACE_BEGIN
72#ifdef VTK_USE_64BIT_IDS
73 virtual void Copy(
unsigned int inId,
unsigned int outId) = 0;
75 int numWeights,
const unsigned int* ids,
const double* weights,
unsigned int outId) = 0;
77 int numWeights,
const unsigned int* ids,
const double* weights,
unsigned int outId) = 0;
78 virtual void Average(
int numPts,
const unsigned int* ids,
unsigned int outId) = 0;
80 int numPts,
const unsigned int* ids,
const double* weights,
unsigned int outId) = 0;
81 virtual void InterpolateEdge(
unsigned int v0,
unsigned int v1,
double t,
unsigned int outId) = 0;
84 virtual void Copy(
unsigned short inId,
unsigned short outId) = 0;
86 int numWeights,
const unsigned short* ids,
const double* weights,
unsigned short outId) = 0;
88 int numWeights,
const unsigned short* ids,
const double* weights,
unsigned short outId) = 0;
89 virtual void Average(
int numPts,
const unsigned short* ids,
unsigned short outId) = 0;
91 int numPts,
const unsigned short* ids,
const double* weights,
unsigned short outId) = 0;
93 unsigned short v0,
unsigned short v1,
double t,
unsigned short outId) = 0;
116 template <
typename IdTypeT>
117 void Copy(IdTypeT inId, IdTypeT outId)
119 for (
int j = 0; j < this->
NumComp; ++j)
121 this->Output[outId * this->NumComp + j] =
122 static_cast<T
>(this->Input[inId * this->NumComp + j]);
126 template <
typename IdTypeT>
127 void Interpolate(
int numWeights,
const IdTypeT* ids,
const double* weights, IdTypeT outId)
129 for (
int j = 0; j < this->
NumComp; ++j)
132 for (
int i = 0; i < numWeights; ++i)
134 v += weights[i] *
static_cast<double>(this->Input[ids[i] * this->NumComp + j]);
136 this->Output[outId * this->NumComp + j] =
static_cast<T
>(v);
140 template <
typename IdTypeT>
141 void InterpolateOutput(
int numWeights,
const IdTypeT* ids,
const double* weights, IdTypeT outId)
143 for (
int j = 0; j < this->
NumComp; ++j)
146 for (
int i = 0; i < numWeights; ++i)
148 v += weights[i] *
static_cast<double>(this->Output[ids[i] * this->NumComp + j]);
150 this->Output[outId * this->NumComp + j] =
static_cast<T
>(v);
154 template <
typename IdTypeT>
155 void Average(
int numPts,
const IdTypeT* ids, IdTypeT outId)
157 for (
int j = 0; j < this->
NumComp; ++j)
160 for (
int i = 0; i < numPts; ++i)
162 v +=
static_cast<double>(this->Input[ids[i] * this->NumComp + j]);
164 v /=
static_cast<double>(numPts);
165 this->Output[outId * this->NumComp + j] =
static_cast<T
>(v);
169 template <
typename IdTypeT>
170 void WeightedAverage(
int numPts,
const IdTypeT* ids,
const double* weights, IdTypeT outId)
172 for (
int j = 0; j < this->
NumComp; ++j)
175 for (
int i = 0; i < numPts; ++i)
177 v += (weights[i] *
static_cast<double>(this->Input[ids[i] * this->NumComp + j]));
179 this->Output[outId * this->NumComp + j] =
static_cast<T
>(v);
183 template <
typename IdTypeT>
187 for (
int j = 0; j < this->
NumComp; ++j)
189 v = this->Input[v0 * this->NumComp + j] +
190 t * (this->Input[v1 * this->NumComp + j] - this->Input[v0 * this->NumComp + j]);
191 this->Output[outId * this->NumComp + j] =
static_cast<T
>(v);
195 template <
typename IdTypeT>
198 for (
int j = 0; j < this->
NumComp; ++j)
200 this->Output[outId * this->NumComp + j] = this->
NullValue;
207 int numWeights,
const vtkIdType* ids,
const double* weights,
vtkIdType outId)
override
212 int numWeights,
const vtkIdType* ids,
const double* weights,
vtkIdType outId)
override
230#ifdef VTK_USE_64BIT_IDS
231 void Copy(
unsigned int inId,
unsigned int outId)
override
236 int numWeights,
const unsigned int* ids,
const double* weights,
unsigned int outId)
override
241 int numWeights,
const unsigned int* ids,
const double* weights,
unsigned int outId)
override
245 void Average(
int numPts,
const unsigned int* ids,
unsigned int outId)
override
250 int numPts,
const unsigned int* ids,
const double* weights,
unsigned int outId)
override
254 void InterpolateEdge(
unsigned int v0,
unsigned int v1,
double t,
unsigned int outId)
override
260 void Copy(
unsigned short inId,
unsigned short outId)
override
265 int numWeights,
const unsigned short* ids,
const double* weights,
unsigned short outId)
override
270 int numWeights,
const unsigned short* ids,
const double* weights,
unsigned short outId)
override
274 void Average(
int numPts,
const unsigned short* ids,
unsigned short outId)
override
279 int numPts,
const unsigned short* ids,
const double* weights,
unsigned short outId)
override
284 unsigned short v0,
unsigned short v1,
double t,
unsigned short outId)
override
318 template <
typename IdTypeT>
319 void Copy(IdTypeT inId, IdTypeT outId)
321 for (
int j = 0; j < this->
NumComp; ++j)
323 this->Output[outId * this->NumComp + j] =
324 static_cast<vtkStdString>(this->Input[inId * this->NumComp + j]);
327 template <
typename IdTypeT>
329 int numWeights,
const IdTypeT* ids,
const double* vtkNotUsed(weights), IdTypeT outId)
331 for (
int i = 0; i < numWeights; ++i)
333 this->
Copy(ids[i], outId);
336 template <
typename IdTypeT>
338 const double* vtkNotUsed(weights), IdTypeT vtkNotUsed(outId))
341 template <
typename IdTypeT>
342 void Average(
int numPts,
const IdTypeT* ids, IdTypeT outId)
344 for (
int i = 0; i < numPts; ++i)
346 this->
Copy(ids[i], outId);
349 template <
typename IdTypeT>
351 int numPts,
const IdTypeT* ids,
const double* vtkNotUsed(weights), IdTypeT outId)
353 for (
int i = 0; i < numPts; ++i)
355 this->
Copy(ids[i], outId);
358 template <
typename IdTypeT>
362 for (
int j = 0; j < this->
NumComp; ++j)
364 s = std::string(this->Input[v0 * this->NumComp + j]) +
365 std::string(this->Input[v1 * this->NumComp + j]);
366 this->Output[outId * this->NumComp + j] = s;
370 template <
typename IdTypeT>
373 for (
int j = 0; j < this->
NumComp; ++j)
375 this->Output[outId * this->NumComp + j] = std::to_string(this->NullValue);
382 int numWeights,
const vtkIdType* ids,
const double* weights,
vtkIdType outId)
override
387 int numWeights,
const vtkIdType* ids,
const double* weights,
vtkIdType outId)
override
405#ifdef VTK_USE_64BIT_IDS
406 void Copy(
unsigned int inId,
unsigned int outId)
override
411 int numWeights,
const unsigned int* ids,
const double* weights,
unsigned int outId)
override
416 int numWeights,
const unsigned int* ids,
const double* weights,
unsigned int outId)
override
420 void Average(
int numPts,
const unsigned int* ids,
unsigned int outId)
override
425 int numPts,
const unsigned int* ids,
const double* weights,
unsigned int outId)
override
429 void InterpolateEdge(
unsigned int v0,
unsigned int v1,
double t,
unsigned int outId)
override
435 void Copy(
unsigned short inId,
unsigned short outId)
override
440 int numWeights,
const unsigned short* ids,
const double* weights,
unsigned short outId)
override
445 int numWeights,
const unsigned short* ids,
const double* weights,
unsigned short outId)
override
449 void Average(
int numPts,
const unsigned short* ids,
unsigned short outId)
override
454 int numPts,
const unsigned short* ids,
const double* weights,
unsigned short outId)
override
459 unsigned short v0,
unsigned short v1,
double t,
unsigned short outId)
override
478template <
typename TInput,
typename TOutput>
495 template <
typename IdTypeT>
496 void Copy(IdTypeT inId, IdTypeT outId)
498 for (
int j = 0; j < this->
NumComp; ++j)
500 this->Output[outId * this->NumComp + j] =
501 static_cast<TOutput
>(this->Input[inId * this->NumComp + j]);
505 template <
typename IdTypeT>
506 void Interpolate(
int numWeights,
const IdTypeT* ids,
const double* weights, IdTypeT outId)
508 for (
int j = 0; j < this->
NumComp; ++j)
511 for (
int i = 0; i < numWeights; ++i)
513 v += weights[i] *
static_cast<double>(this->Input[ids[i] * this->NumComp + j]);
515 this->Output[outId * this->NumComp + j] =
static_cast<TOutput
>(v);
519 template <
typename IdTypeT>
520 void InterpolateOutput(
int numWeights,
const IdTypeT* ids,
const double* weights, IdTypeT outId)
522 for (
int j = 0; j < this->
NumComp; ++j)
525 for (
int i = 0; i < numWeights; ++i)
527 v += weights[i] *
static_cast<double>(this->Output[ids[i] * this->NumComp + j]);
529 this->Output[outId * this->NumComp + j] =
static_cast<TOutput
>(v);
533 template <
typename IdTypeT>
534 void Average(
int numPts,
const IdTypeT* ids, IdTypeT outId)
536 for (
int j = 0; j < this->
NumComp; ++j)
539 for (
int i = 0; i < numPts; ++i)
541 v +=
static_cast<double>(this->Input[ids[i] * this->NumComp + j]);
543 v /=
static_cast<double>(numPts);
544 this->Output[outId * this->NumComp + j] =
static_cast<TOutput
>(v);
548 template <
typename IdTypeT>
549 void WeightedAverage(
int numPts,
const IdTypeT* ids,
const double* weights, IdTypeT outId)
551 for (
int j = 0; j < this->
NumComp; ++j)
554 for (
int i = 0; i < numPts; ++i)
556 v += (weights[i] *
static_cast<double>(this->Input[ids[i] * this->NumComp + j]));
558 this->Output[outId * this->NumComp + j] =
static_cast<TOutput
>(v);
562 template <
typename IdTypeT>
566 for (
int j = 0; j < this->
NumComp; ++j)
568 v = this->Input[v0 * this->NumComp + j] +
569 t * (this->Input[v1 * this->NumComp + j] - this->Input[v0 * this->NumComp + j]);
570 this->Output[outId * this->NumComp + j] =
static_cast<TOutput
>(v);
574 template <
typename IdTypeT>
577 for (
int j = 0; j < this->
NumComp; ++j)
579 this->Output[outId * this->NumComp + j] = this->
NullValue;
586 int numWeights,
const vtkIdType* ids,
const double* weights,
vtkIdType outId)
override
591 int numWeights,
const vtkIdType* ids,
const double* weights,
vtkIdType outId)
override
609#ifdef VTK_USE_64BIT_IDS
610 void Copy(
unsigned int inId,
unsigned int outId)
override
615 int numWeights,
const unsigned int* ids,
const double* weights,
unsigned int outId)
override
620 int numWeights,
const unsigned int* ids,
const double* weights,
unsigned int outId)
override
624 void Average(
int numPts,
const unsigned int* ids,
unsigned int outId)
override
629 int numPts,
const unsigned int* ids,
const double* weights,
unsigned int outId)
override
633 void InterpolateEdge(
unsigned int v0,
unsigned int v1,
double t,
unsigned int outId)
override
639 void Copy(
unsigned short inId,
unsigned short outId)
override
644 int numWeights,
const unsigned short* ids,
const double* weights,
unsigned short outId)
override
649 int numWeights,
const unsigned short* ids,
const double* weights,
unsigned short outId)
override
653 void Average(
int numPts,
const unsigned short* ids,
unsigned short outId)
override
658 int numPts,
const unsigned short* ids,
const double* weights,
unsigned short outId)
override
663 unsigned short v0,
unsigned short v1,
double t,
unsigned short outId)
override
685 ArrayList* list, T* inData, T* outData,
vtkIdType numTuples,
int numComp, T nullValue);
697 double nullValue = 0.0,
vtkTypeBool promote =
true);
717 for (
auto& array : this->
Arrays)
724 template <
typename TIdType>
725 void Copy(TIdType inId, TIdType outId)
727 for (
auto& array : this->
Arrays)
729 array->Copy(inId, outId);
733 template <
typename TIdType>
734 void Interpolate(
int numWeights,
const TIdType* ids,
const double* weights, TIdType outId)
736 for (
auto& array : this->
Arrays)
738 array->Interpolate(numWeights, ids, weights, outId);
742 template <
typename TIdType>
743 void InterpolateOutput(
int numWeights,
const TIdType* ids,
const double* weights, TIdType outId)
745 for (
auto& array : this->
Arrays)
747 array->InterpolateOutput(numWeights, ids, weights, outId);
751 template <
typename TIdType>
752 void Average(
int numPts,
const TIdType* ids, TIdType outId)
754 for (
auto& array : this->
Arrays)
756 array->Average(numPts, ids, outId);
760 template <
typename TIdType>
761 void WeightedAverage(
int numPts,
const TIdType* ids,
const double* weights, TIdType outId)
763 for (
auto& array : this->
Arrays)
765 array->WeightedAverage(numPts, ids, weights, outId);
769 template <
typename TIdType>
772 for (
auto& array : this->
Arrays)
774 array->InterpolateEdge(v0, v1, t, outId);
778 template <
typename TIdType>
781 for (
auto& array : this->
Arrays)
783 array->AssignNullValue(outId);
833#ifdef VTK_USE_64BIT_IDS
843 int numWeights,
const unsigned int* ids,
const double* weights,
unsigned int outId)
851 int numWeights,
const unsigned int* ids,
const double* weights,
unsigned int outId)
858 void Average(
int numPts,
const unsigned int* ids,
unsigned int outId)
866 int numPts,
const unsigned int* ids,
const double* weights,
unsigned int outId)
873 void InterpolateEdge(
unsigned int v0,
unsigned int v1,
double t,
unsigned int outId)
891 int numWeights,
const unsigned short* ids,
const double* weights,
unsigned short outId)
899 int numWeights,
const unsigned short* ids,
const double* weights,
unsigned short outId)
906 void Average(
int numPts,
const unsigned short* ids,
unsigned short outId)
914 int numPts,
const unsigned short* ids,
const double* weights,
unsigned short outId)
921 void InterpolateEdge(
unsigned short v0,
unsigned short v1,
double t,
unsigned short outId)
935 for (
auto& array : this->
Arrays)
948#include "vtkArrayListTemplate.txx"
Abstract superclass for all arrays.
virtual vtkTypeBool Resize(vtkIdType numTuples)=0
Resize the array to the requested number of tuples and preserve data.
virtual void SetNumberOfTuples(vtkIdType numTuples)=0
Set the number of tuples (a component group) in the array.
virtual void * GetVoidPointer(vtkIdType valueIdx)=0
Return a void pointer.
represent and manipulate attribute data in a dataset
Hold a reference to a vtkObjectBase instance.
Wrapper around std::string to keep symbols short.
vtkAbstractArray * AddArrayPair(vtkIdType numTuples, vtkAbstractArray *inArray, vtkStdString &outArrayName, double nullValue, vtkTypeBool promote)
void Average(int numPts, const vtkIdType *ids, vtkIdType outId)
Loop over the arrays and have them averaged.
void Copy(unsigned short inId, unsigned short outId)
Loop over the array pairs and copy data from one to another.
void InterpolateEdge(vtkIdType v0, vtkIdType v1, double t, vtkIdType outId)
Loop over the arrays perform edge interpolation.
void InterpolateEdge(TIdType v0, TIdType v1, double t, TIdType outId)
void AddSelfInterpolatingArrays(vtkIdType numOutPts, vtkDataSetAttributes *attr, double nullValue=0.0)
void Interpolate(int numWeights, const TIdType *ids, const double *weights, TIdType outId)
void AssignNullValue(vtkIdType outId)
Loop over the arrays and assign the null value.
void WeightedAverage(int numPts, const vtkIdType *ids, const double *weights, vtkIdType outId)
Loop over the arrays and weighted average the attributes.
void Interpolate(int numWeights, const unsigned short *ids, const double *weights, unsigned short outId)
Loop over the arrays and have them interpolate themselves.
vtkTypeBool IsExcluded(vtkAbstractArray *da)
std::vector< vtkAbstractArray * > ExcludedArrays
void InterpolateEdge(unsigned short v0, unsigned short v1, double t, unsigned short outId)
Loop over the arrays perform edge interpolation.
vtkIdType GetNumberOfArrays()
Return the number of arrays.
void Copy(vtkIdType inId, vtkIdType outId)
Loop over the array pairs and copy data from one to another.
void AddArrays(vtkIdType numOutPts, vtkDataSetAttributes *inPD, vtkDataSetAttributes *outPD, double nullValue=0.0, vtkTypeBool promote=true)
void AssignNullValue(TIdType outId)
void Average(int numPts, const TIdType *ids, TIdType outId)
void WeightedAverage(int numPts, const unsigned short *ids, const double *weights, unsigned short outId)
Loop over the arrays and weighted average the attributes.
void ExcludeArray(vtkAbstractArray *da)
void Average(int numPts, const unsigned short *ids, unsigned short outId)
Loop over the arrays and have them averaged.
void InterpolateOutput(int numWeights, const TIdType *ids, const double *weights, TIdType outId)
void Realloc(vtkIdType sze)
Extend (realloc) the arrays.
void InterpolateOutput(int numWeights, const vtkIdType *ids, const double *weights, vtkIdType outId)
Loop over the arrays and have them interpolate themselves based on the output arrays.
void WeightedAverage(int numPts, const TIdType *ids, const double *weights, TIdType outId)
void Copy(TIdType inId, TIdType outId)
std::vector< BaseArrayPair * > Arrays
void AssignNullValue(unsigned short outId)
Loop over the arrays and assign the null value.
void InterpolateOutput(int numWeights, const unsigned short *ids, const double *weights, unsigned short outId)
Loop over the arrays and have them interpolate themselves based on the output arrays.
void Interpolate(int numWeights, const vtkIdType *ids, const double *weights, vtkIdType outId)
Loop over the arrays and have them interpolate themselves.
ArrayPair(vtkStdString *in, vtkStdString *out, vtkIdType num, int numComp, vtkAbstractArray *outArray, double null)
void Realloc(vtkIdType sze) override
void AssignNullValue(IdTypeT outId)
void Copy(unsigned short inId, unsigned short outId) override
void InterpolateOutput(int numWeights, const vtkIdType *ids, const double *weights, vtkIdType outId) override
void InterpolateEdge(unsigned short v0, unsigned short v1, double t, unsigned short outId) override
void Copy(vtkIdType inId, vtkIdType outId) override
void Interpolate(int numWeights, const unsigned short *ids, const double *weights, unsigned short outId) override
void Interpolate(int numWeights, const IdTypeT *ids, const double *vtkNotUsed(weights), IdTypeT outId)
void WeightedAverage(int numPts, const vtkIdType *ids, const double *weights, vtkIdType outId) override
void AssignNullValue(vtkIdType outId) override
void AssignNullValue(unsigned short outId) override
~ArrayPair() override=default
void InterpolateEdge(vtkIdType v0, vtkIdType v1, double t, vtkIdType outId) override
void InterpolateOutput(int numWeights, const unsigned short *ids, const double *weights, unsigned short outId) override
void Interpolate(int numWeights, const vtkIdType *ids, const double *weights, vtkIdType outId) override
void InterpolateOutput(int vtkNotUsed(numWeights), const IdTypeT *vtkNotUsed(ids), const double *vtkNotUsed(weights), IdTypeT vtkNotUsed(outId))
void Copy(IdTypeT inId, IdTypeT outId)
void InterpolateEdge(IdTypeT v0, IdTypeT v1, double vtkNotUsed(t), IdTypeT outId)
void WeightedAverage(int numPts, const IdTypeT *ids, const double *vtkNotUsed(weights), IdTypeT outId)
void Average(int numPts, const IdTypeT *ids, IdTypeT outId)
void Average(int numPts, const vtkIdType *ids, vtkIdType outId) override
void Average(int numPts, const unsigned short *ids, unsigned short outId) override
void WeightedAverage(int numPts, const unsigned short *ids, const double *weights, unsigned short outId) override
void AssignNullValue(unsigned short outId) override
void Interpolate(int numWeights, const IdTypeT *ids, const double *weights, IdTypeT outId)
void InterpolateEdge(vtkIdType v0, vtkIdType v1, double t, vtkIdType outId) override
void AssignNullValue(IdTypeT outId)
void InterpolateOutput(int numWeights, const vtkIdType *ids, const double *weights, vtkIdType outId) override
void Average(int numPts, const unsigned short *ids, unsigned short outId) override
void InterpolateOutput(int numWeights, const IdTypeT *ids, const double *weights, IdTypeT outId)
void AssignNullValue(vtkIdType outId) override
void Copy(unsigned short inId, unsigned short outId) override
void Average(int numPts, const vtkIdType *ids, vtkIdType outId) override
void WeightedAverage(int numPts, const unsigned short *ids, const double *weights, unsigned short outId) override
void WeightedAverage(int numPts, const vtkIdType *ids, const double *weights, vtkIdType outId) override
void Copy(IdTypeT inId, IdTypeT outId)
~ArrayPair() override=default
ArrayPair(T *in, T *out, vtkIdType num, int numComp, vtkAbstractArray *outArray, T null)
void Interpolate(int numWeights, const vtkIdType *ids, const double *weights, vtkIdType outId) override
void Average(int numPts, const IdTypeT *ids, IdTypeT outId)
void InterpolateEdge(unsigned short v0, unsigned short v1, double t, unsigned short outId) override
void Copy(vtkIdType inId, vtkIdType outId) override
void Realloc(vtkIdType sze) override
void InterpolateOutput(int numWeights, const unsigned short *ids, const double *weights, unsigned short outId) override
void WeightedAverage(int numPts, const IdTypeT *ids, const double *weights, IdTypeT outId)
void InterpolateEdge(IdTypeT v0, IdTypeT v1, double t, IdTypeT outId)
void Interpolate(int numWeights, const unsigned short *ids, const double *weights, unsigned short outId) override
virtual void WeightedAverage(int numPts, const unsigned short *ids, const double *weights, unsigned short outId)=0
virtual void InterpolateOutput(int numWeights, const vtkIdType *ids, const double *weights, vtkIdType outId)=0
BaseArrayPair(vtkIdType num, int numComp, vtkAbstractArray *outArray)
virtual void Average(int numPts, const vtkIdType *ids, vtkIdType outId)=0
virtual void InterpolateEdge(vtkIdType v0, vtkIdType v1, double t, vtkIdType outId)=0
virtual void Average(int numPts, const unsigned short *ids, unsigned short outId)=0
virtual void InterpolateEdge(unsigned short v0, unsigned short v1, double t, unsigned short outId)=0
virtual void AssignNullValue(unsigned short outId)=0
virtual void AssignNullValue(vtkIdType outId)=0
virtual void Copy(vtkIdType inId, vtkIdType outId)=0
virtual ~BaseArrayPair()=default
virtual void Interpolate(int numWeights, const vtkIdType *ids, const double *weights, vtkIdType outId)=0
virtual void WeightedAverage(int numPts, const vtkIdType *ids, const double *weights, vtkIdType outId)=0
virtual void Realloc(vtkIdType sze)=0
virtual void Copy(unsigned short inId, unsigned short outId)=0
vtkSmartPointer< vtkAbstractArray > OutputArray
virtual void InterpolateOutput(int numWeights, const unsigned short *ids, const double *weights, unsigned short outId)=0
virtual void Interpolate(int numWeights, const unsigned short *ids, const double *weights, unsigned short outId)=0
void InterpolateEdge(IdTypeT v0, IdTypeT v1, double t, IdTypeT outId)
void Interpolate(int numWeights, const vtkIdType *ids, const double *weights, vtkIdType outId) override
void Average(int numPts, const unsigned short *ids, unsigned short outId) override
void InterpolateOutput(int numWeights, const vtkIdType *ids, const double *weights, vtkIdType outId) override
void InterpolateOutput(int numWeights, const IdTypeT *ids, const double *weights, IdTypeT outId)
~RealArrayPair() override=default
void InterpolateEdge(vtkIdType v0, vtkIdType v1, double t, vtkIdType outId) override
void Interpolate(int numWeights, const unsigned short *ids, const double *weights, unsigned short outId) override
void Copy(IdTypeT inId, IdTypeT outId)
void Copy(vtkIdType inId, vtkIdType outId) override
void AssignNullValue(vtkIdType outId) override
void Realloc(vtkIdType sze) override
void Average(int numPts, const IdTypeT *ids, IdTypeT outId)
void Copy(unsigned short inId, unsigned short outId) override
void AssignNullValue(unsigned short outId) override
void Average(int numPts, const vtkIdType *ids, vtkIdType outId) override
void AssignNullValue(IdTypeT outId)
void InterpolateEdge(unsigned short v0, unsigned short v1, double t, unsigned short outId) override
void InterpolateOutput(int numWeights, const unsigned short *ids, const double *weights, unsigned short outId) override
RealArrayPair(TInput *in, TOutput *out, vtkIdType num, int numComp, vtkAbstractArray *outArray, TOutput null)
void WeightedAverage(int numPts, const unsigned short *ids, const double *weights, unsigned short outId) override
void WeightedAverage(int numPts, const IdTypeT *ids, const double *weights, IdTypeT outId)
void Interpolate(int numWeights, const IdTypeT *ids, const double *weights, IdTypeT outId)
void WeightedAverage(int numPts, const vtkIdType *ids, const double *weights, vtkIdType outId) override
void CreateArrayPair(ArrayList *list, T *inData, T *outData, vtkIdType numTuples, int numComp, T nullValue)