VTK  9.1.0
Public Member Functions | Public Attributes | 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, vtkDataArray *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 Average (int numPts, const vtkIdType *ids, vtkIdType outId) override
 
void InterpolateEdge (vtkIdType v0, vtkIdType v1, double t, vtkIdType outId) override
 
void AssignNullValue (vtkIdType outId) override
 
void Realloc (vtkIdType sze) override
 
- Public Member Functions inherited from BaseArrayPair
 BaseArrayPair (vtkIdType num, int numComp, vtkDataArray *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 Average (int numPts, const vtkIdType *ids, vtkIdType outId)=0
 
virtual void InterpolateEdge (vtkIdType v0, vtkIdType v1, double t, vtkIdType outId)=0
 
virtual void AssignNullValue (vtkIdType 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< vtkDataArrayOutputArray
 

Detailed Description

template<typename T>
struct ArrayPair< T >

Definition at line 83 of file vtkArrayListTemplate.h.

Constructor & Destructor Documentation

◆ ArrayPair()

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

Definition at line 89 of file vtkArrayListTemplate.h.

◆ ~ArrayPair()

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

Member Function Documentation

◆ Copy()

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

Implements BaseArrayPair.

Definition at line 98 of file vtkArrayListTemplate.h.

◆ Interpolate()

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

Implements BaseArrayPair.

Definition at line 106 of file vtkArrayListTemplate.h.

◆ Average()

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

Implements BaseArrayPair.

Definition at line 120 of file vtkArrayListTemplate.h.

◆ InterpolateEdge()

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

Implements BaseArrayPair.

Definition at line 134 of file vtkArrayListTemplate.h.

◆ AssignNullValue()

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

Implements BaseArrayPair.

Definition at line 146 of file vtkArrayListTemplate.h.

◆ Realloc()

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

Implements BaseArrayPair.

Definition at line 154 of file vtkArrayListTemplate.h.

Member Data Documentation

◆ Input

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

Definition at line 85 of file vtkArrayListTemplate.h.

◆ Output

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

Definition at line 86 of file vtkArrayListTemplate.h.

◆ NullValue

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

Definition at line 87 of file vtkArrayListTemplate.h.


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