VTK  9.4.20241225
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ArrayPair< T > Struct Template Reference

#include <vtkArrayListTemplate.h>

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

Public Member Functions

 ArrayPair (T *in, T *out, vtkIdType num, int numComp, vtkAbstractArray *outArray, 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
 
virtual void Copy (vtkIdType inId, vtkIdType outId)=0
 
virtual void Interpolate (int numWeights, const vtkIdType *ids, const double *weights, vtkIdType outId)=0
 
virtual void InterpolateOutput (int numWeights, const vtkIdType *ids, const double *weights, vtkIdType outId)=0
 
virtual void Average (int numPts, const vtkIdType *ids, vtkIdType outId)=0
 
virtual void WeightedAverage (int numPts, const vtkIdType *ids, const double *weights, vtkIdType outId)=0
 
virtual void InterpolateEdge (vtkIdType v0, vtkIdType v1, double t, vtkIdType outId)=0
 
virtual void AssignNullValue (vtkIdType outId)=0
 
virtual void Copy (unsigned short inId, unsigned short outId)=0
 
virtual void Interpolate (int numWeights, const unsigned short *ids, const double *weights, unsigned short outId)=0
 
virtual void InterpolateOutput (int numWeights, const unsigned short *ids, const double *weights, unsigned short outId)=0
 
virtual void Average (int numPts, const unsigned short *ids, unsigned short outId)=0
 
virtual void WeightedAverage (int numPts, const unsigned short *ids, const double *weights, 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 Realloc (vtkIdType sze)=0
 

Public Attributes

T * Input
 
T * Output
 
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 T>
struct ArrayPair< T >

Definition at line 101 of file vtkArrayListTemplate.h.

Constructor & Destructor Documentation

◆ ArrayPair()

template<typename T >
ArrayPair< T >::ArrayPair ( T *  in,
T *  out,
vtkIdType  num,
int  numComp,
vtkAbstractArray outArray,
null 
)
inline

Definition at line 107 of file vtkArrayListTemplate.h.

◆ ~ArrayPair()

template<typename T >
ArrayPair< T >::~ArrayPair ( )
overridedefault

Member Function Documentation

◆ Copy() [1/3]

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

Definition at line 117 of file vtkArrayListTemplate.h.

◆ Interpolate() [1/3]

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

Definition at line 127 of file vtkArrayListTemplate.h.

◆ InterpolateOutput() [1/3]

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

Definition at line 141 of file vtkArrayListTemplate.h.

◆ Average() [1/3]

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

Definition at line 155 of file vtkArrayListTemplate.h.

◆ WeightedAverage() [1/3]

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

Definition at line 170 of file vtkArrayListTemplate.h.

◆ InterpolateEdge() [1/3]

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

Definition at line 184 of file vtkArrayListTemplate.h.

◆ AssignNullValue() [1/3]

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

Definition at line 196 of file vtkArrayListTemplate.h.

◆ Copy() [2/3]

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

Implements BaseArrayPair.

Definition at line 205 of file vtkArrayListTemplate.h.

◆ Interpolate() [2/3]

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

Implements BaseArrayPair.

Definition at line 206 of file vtkArrayListTemplate.h.

◆ InterpolateOutput() [2/3]

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

Implements BaseArrayPair.

Definition at line 211 of file vtkArrayListTemplate.h.

◆ Average() [2/3]

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

Implements BaseArrayPair.

Definition at line 216 of file vtkArrayListTemplate.h.

◆ WeightedAverage() [2/3]

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

Implements BaseArrayPair.

Definition at line 220 of file vtkArrayListTemplate.h.

◆ InterpolateEdge() [2/3]

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

Implements BaseArrayPair.

Definition at line 225 of file vtkArrayListTemplate.h.

◆ AssignNullValue() [2/3]

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

Implements BaseArrayPair.

Definition at line 229 of file vtkArrayListTemplate.h.

◆ Copy() [3/3]

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

Implements BaseArrayPair.

Definition at line 260 of file vtkArrayListTemplate.h.

◆ Interpolate() [3/3]

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

Implements BaseArrayPair.

Definition at line 264 of file vtkArrayListTemplate.h.

◆ InterpolateOutput() [3/3]

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

Implements BaseArrayPair.

Definition at line 269 of file vtkArrayListTemplate.h.

◆ Average() [3/3]

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

Implements BaseArrayPair.

Definition at line 274 of file vtkArrayListTemplate.h.

◆ WeightedAverage() [3/3]

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

Implements BaseArrayPair.

Definition at line 278 of file vtkArrayListTemplate.h.

◆ InterpolateEdge() [3/3]

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

Implements BaseArrayPair.

Definition at line 283 of file vtkArrayListTemplate.h.

◆ AssignNullValue() [3/3]

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

Implements BaseArrayPair.

Definition at line 288 of file vtkArrayListTemplate.h.

◆ Realloc()

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

Implements BaseArrayPair.

Definition at line 293 of file vtkArrayListTemplate.h.

Member Data Documentation

◆ Input

template<typename T >
T* ArrayPair< T >::Input

Definition at line 103 of file vtkArrayListTemplate.h.

◆ Output

template<typename T >
T* ArrayPair< T >::Output

Definition at line 104 of file vtkArrayListTemplate.h.

◆ NullValue

template<typename T >
T ArrayPair< T >::NullValue

Definition at line 105 of file vtkArrayListTemplate.h.


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