VTK  9.6.20260228
ArrayPair< TInputArray, TOutputArray, T > Struct Template Reference

#include <vtkArrayListTemplate.h>

Inheritance diagram for ArrayPair< TInputArray, TOutputArray, T >:
[legend]
Collaboration diagram for ArrayPair< TInputArray, TOutputArray, T >:
[legend]

Public Member Functions

 ArrayPair (TInputArray *inArray, TOutputArray *outArray, vtkIdType num, int numComp, T null)
 
 ~ArrayPair () override=default
 
void Copy (vtkIdType inId, vtkIdType outId) override
 
void Interpolate (int numWeights, const vtkIdType *ids, const double *weights, vtkIdType outId) override
 
void InterpolateOutput (int numWeights, const vtkIdType *ids, const double *weights, vtkIdType outId) override
 
void Average (int numPts, const vtkIdType *ids, vtkIdType outId) override
 
void WeightedAverage (int numPts, const vtkIdType *ids, const double *weights, vtkIdType outId) override
 
void InterpolateEdge (vtkIdType v0, vtkIdType v1, double t, vtkIdType outId) override
 
void AssignNullValue (vtkIdType outId) override
 
void Copy (unsigned short inId, unsigned short outId) override
 
void Interpolate (int numWeights, const unsigned short *ids, const double *weights, unsigned short outId) override
 
void InterpolateOutput (int numWeights, const unsigned short *ids, const double *weights, unsigned short 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 InterpolateEdge (unsigned short v0, unsigned short v1, double t, unsigned short outId) override
 
void AssignNullValue (unsigned short outId) override
 
void Realloc (vtkIdType sze) override
 
- Public Member Functions inherited from BaseArrayPair
 BaseArrayPair (vtkIdType num, int numComp, vtkAbstractArray *outArray)
 
virtual ~BaseArrayPair ()=default
 

Public Attributes

vtk::detail::ValueRange< TInputArray, vtk::detail::DynamicTupleSizeInput
 
vtk::detail::ValueRange< TOutputArray, vtk::detail::DynamicTupleSizeOutput
 
NullValue
 
- Public Attributes inherited from BaseArrayPair
vtkIdType Num
 
int NumComp
 
vtkSmartPointer< vtkAbstractArrayOutputArray
 

Protected Member Functions

template<typename IdTypeT>
void Copy (IdTypeT inId, IdTypeT outId)
 
template<typename IdTypeT>
void Interpolate (int numWeights, const IdTypeT *ids, const double *weights, IdTypeT outId)
 
template<typename IdTypeT>
void InterpolateOutput (int numWeights, const IdTypeT *ids, const double *weights, IdTypeT outId)
 
template<typename IdTypeT>
void Average (int numPts, const IdTypeT *ids, IdTypeT outId)
 
template<typename IdTypeT>
void WeightedAverage (int numPts, const IdTypeT *ids, const double *weights, IdTypeT outId)
 
template<typename IdTypeT>
void InterpolateEdge (IdTypeT v0, IdTypeT v1, double t, IdTypeT outId)
 
template<typename IdTypeT>
void AssignNullValue (IdTypeT outId)
 

Detailed Description

template<typename TInputArray, typename TOutputArray, typename T>
struct ArrayPair< TInputArray, TOutputArray, T >

Definition at line 103 of file vtkArrayListTemplate.h.

Constructor & Destructor Documentation

◆ ArrayPair()

template<typename TInputArray, typename TOutputArray, typename T>
ArrayPair< TInputArray, TOutputArray, T >::ArrayPair ( TInputArray * inArray,
TOutputArray * outArray,
vtkIdType num,
int numComp,
T null )
inline

Definition at line 109 of file vtkArrayListTemplate.h.

◆ ~ArrayPair()

template<typename TInputArray, typename TOutputArray, typename T>
ArrayPair< TInputArray, TOutputArray, T >::~ArrayPair ( )
overridedefault

Member Function Documentation

◆ Copy() [1/3]

template<typename TInputArray, typename TOutputArray, typename T>
template<typename IdTypeT>
void ArrayPair< TInputArray, TOutputArray, T >::Copy ( IdTypeT inId,
IdTypeT outId )
inlineprotected

Definition at line 119 of file vtkArrayListTemplate.h.

◆ Interpolate() [1/3]

template<typename TInputArray, typename TOutputArray, typename T>
template<typename IdTypeT>
void ArrayPair< TInputArray, TOutputArray, T >::Interpolate ( int numWeights,
const IdTypeT * ids,
const double * weights,
IdTypeT outId )
inlineprotected

Definition at line 129 of file vtkArrayListTemplate.h.

◆ InterpolateOutput() [1/3]

template<typename TInputArray, typename TOutputArray, typename T>
template<typename IdTypeT>
void ArrayPair< TInputArray, TOutputArray, T >::InterpolateOutput ( int numWeights,
const IdTypeT * ids,
const double * weights,
IdTypeT outId )
inlineprotected

Definition at line 143 of file vtkArrayListTemplate.h.

◆ Average() [1/3]

template<typename TInputArray, typename TOutputArray, typename T>
template<typename IdTypeT>
void ArrayPair< TInputArray, TOutputArray, T >::Average ( int numPts,
const IdTypeT * ids,
IdTypeT outId )
inlineprotected

Definition at line 157 of file vtkArrayListTemplate.h.

◆ WeightedAverage() [1/3]

template<typename TInputArray, typename TOutputArray, typename T>
template<typename IdTypeT>
void ArrayPair< TInputArray, TOutputArray, T >::WeightedAverage ( int numPts,
const IdTypeT * ids,
const double * weights,
IdTypeT outId )
inlineprotected

Definition at line 172 of file vtkArrayListTemplate.h.

◆ InterpolateEdge() [1/3]

template<typename TInputArray, typename TOutputArray, typename T>
template<typename IdTypeT>
void ArrayPair< TInputArray, TOutputArray, T >::InterpolateEdge ( IdTypeT v0,
IdTypeT v1,
double t,
IdTypeT outId )
inlineprotected

Definition at line 186 of file vtkArrayListTemplate.h.

◆ AssignNullValue() [1/3]

template<typename TInputArray, typename TOutputArray, typename T>
template<typename IdTypeT>
void ArrayPair< TInputArray, TOutputArray, T >::AssignNullValue ( IdTypeT outId)
inlineprotected

Definition at line 198 of file vtkArrayListTemplate.h.

◆ Copy() [2/3]

template<typename TInputArray, typename TOutputArray, typename T>
void ArrayPair< TInputArray, TOutputArray, T >::Copy ( vtkIdType inId,
vtkIdType outId )
inlineoverridevirtual

Implements BaseArrayPair.

Definition at line 207 of file vtkArrayListTemplate.h.

◆ Interpolate() [2/3]

template<typename TInputArray, typename TOutputArray, typename T>
void ArrayPair< TInputArray, TOutputArray, T >::Interpolate ( int numWeights,
const vtkIdType * ids,
const double * weights,
vtkIdType outId )
inlineoverridevirtual

Implements BaseArrayPair.

Definition at line 208 of file vtkArrayListTemplate.h.

◆ InterpolateOutput() [2/3]

template<typename TInputArray, typename TOutputArray, typename T>
void ArrayPair< TInputArray, TOutputArray, T >::InterpolateOutput ( int numWeights,
const vtkIdType * ids,
const double * weights,
vtkIdType outId )
inlineoverridevirtual

Implements BaseArrayPair.

Definition at line 213 of file vtkArrayListTemplate.h.

◆ Average() [2/3]

template<typename TInputArray, typename TOutputArray, typename T>
void ArrayPair< TInputArray, TOutputArray, T >::Average ( int numPts,
const vtkIdType * ids,
vtkIdType outId )
inlineoverridevirtual

Implements BaseArrayPair.

Definition at line 218 of file vtkArrayListTemplate.h.

◆ WeightedAverage() [2/3]

template<typename TInputArray, typename TOutputArray, typename T>
void ArrayPair< TInputArray, TOutputArray, T >::WeightedAverage ( int numPts,
const vtkIdType * ids,
const double * weights,
vtkIdType outId )
inlineoverridevirtual

Implements BaseArrayPair.

Definition at line 222 of file vtkArrayListTemplate.h.

◆ InterpolateEdge() [2/3]

template<typename TInputArray, typename TOutputArray, typename T>
void ArrayPair< TInputArray, TOutputArray, T >::InterpolateEdge ( vtkIdType v0,
vtkIdType v1,
double t,
vtkIdType outId )
inlineoverridevirtual

Implements BaseArrayPair.

Definition at line 227 of file vtkArrayListTemplate.h.

◆ AssignNullValue() [2/3]

template<typename TInputArray, typename TOutputArray, typename T>
void ArrayPair< TInputArray, TOutputArray, T >::AssignNullValue ( vtkIdType outId)
inlineoverridevirtual

Implements BaseArrayPair.

Definition at line 231 of file vtkArrayListTemplate.h.

◆ Copy() [3/3]

template<typename TInputArray, typename TOutputArray, typename T>
void ArrayPair< TInputArray, TOutputArray, T >::Copy ( unsigned short inId,
unsigned short outId )
inlineoverridevirtual

Implements BaseArrayPair.

Definition at line 262 of file vtkArrayListTemplate.h.

◆ Interpolate() [3/3]

template<typename TInputArray, typename TOutputArray, typename T>
void ArrayPair< TInputArray, TOutputArray, T >::Interpolate ( int numWeights,
const unsigned short * ids,
const double * weights,
unsigned short outId )
inlineoverridevirtual

Implements BaseArrayPair.

Definition at line 266 of file vtkArrayListTemplate.h.

◆ InterpolateOutput() [3/3]

template<typename TInputArray, typename TOutputArray, typename T>
void ArrayPair< TInputArray, TOutputArray, T >::InterpolateOutput ( int numWeights,
const unsigned short * ids,
const double * weights,
unsigned short outId )
inlineoverridevirtual

Implements BaseArrayPair.

Definition at line 271 of file vtkArrayListTemplate.h.

◆ Average() [3/3]

template<typename TInputArray, typename TOutputArray, typename T>
void ArrayPair< TInputArray, TOutputArray, T >::Average ( int numPts,
const unsigned short * ids,
unsigned short outId )
inlineoverridevirtual

Implements BaseArrayPair.

Definition at line 276 of file vtkArrayListTemplate.h.

◆ WeightedAverage() [3/3]

template<typename TInputArray, typename TOutputArray, typename T>
void ArrayPair< TInputArray, TOutputArray, T >::WeightedAverage ( int numPts,
const unsigned short * ids,
const double * weights,
unsigned short outId )
inlineoverridevirtual

Implements BaseArrayPair.

Definition at line 280 of file vtkArrayListTemplate.h.

◆ InterpolateEdge() [3/3]

template<typename TInputArray, typename TOutputArray, typename T>
void ArrayPair< TInputArray, TOutputArray, T >::InterpolateEdge ( unsigned short v0,
unsigned short v1,
double t,
unsigned short outId )
inlineoverridevirtual

Implements BaseArrayPair.

Definition at line 285 of file vtkArrayListTemplate.h.

◆ AssignNullValue() [3/3]

template<typename TInputArray, typename TOutputArray, typename T>
void ArrayPair< TInputArray, TOutputArray, T >::AssignNullValue ( unsigned short outId)
inlineoverridevirtual

Implements BaseArrayPair.

Definition at line 290 of file vtkArrayListTemplate.h.

◆ Realloc()

template<typename TInputArray, typename TOutputArray, typename T>
void ArrayPair< TInputArray, TOutputArray, T >::Realloc ( vtkIdType sze)
inlineoverridevirtual

Implements BaseArrayPair.

Definition at line 295 of file vtkArrayListTemplate.h.

Member Data Documentation

◆ Input

template<typename TInputArray, typename TOutputArray, typename T>
vtk::detail::ValueRange<TInputArray, vtk::detail::DynamicTupleSize> ArrayPair< TInputArray, TOutputArray, T >::Input

Definition at line 105 of file vtkArrayListTemplate.h.

◆ Output

template<typename TInputArray, typename TOutputArray, typename T>
vtk::detail::ValueRange<TOutputArray, vtk::detail::DynamicTupleSize> ArrayPair< TInputArray, TOutputArray, T >::Output

Definition at line 106 of file vtkArrayListTemplate.h.

◆ NullValue

template<typename TInputArray, typename TOutputArray, typename T>
T ArrayPair< TInputArray, TOutputArray, T >::NullValue

Definition at line 107 of file vtkArrayListTemplate.h.


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