VTK  9.3.20240423
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ArrayList Struct Reference

#include <vtkArrayListTemplate.h>

Public Member Functions

void AddArrays (vtkIdType numOutPts, vtkDataSetAttributes *inPD, vtkDataSetAttributes *outPD, double nullValue=0.0, vtkTypeBool promote=true)
 
void AddSelfInterpolatingArrays (vtkIdType numOutPts, vtkDataSetAttributes *attr, double nullValue=0.0)
 
vtkAbstractArrayAddArrayPair (vtkIdType numTuples, vtkAbstractArray *inArray, vtkStdString &outArrayName, double nullValue, vtkTypeBool promote)
 
void ExcludeArray (vtkAbstractArray *da)
 
vtkTypeBool IsExcluded (vtkAbstractArray *da)
 
 ~ArrayList ()
 
void Copy (vtkIdType inId, vtkIdType outId)
 Loop over the array pairs and copy data from one to another.
 
void Interpolate (int numWeights, const vtkIdType *ids, const double *weights, vtkIdType outId)
 Loop over the arrays and have them interpolate themselves.
 
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 Average (int numPts, const vtkIdType *ids, vtkIdType outId)
 Loop over the arrays and have them averaged.
 
void WeightedAverage (int numPts, const vtkIdType *ids, const double *weights, vtkIdType outId)
 Loop over the arrays and weighted average the attributes.
 
void InterpolateEdge (vtkIdType v0, vtkIdType v1, double t, vtkIdType outId)
 Loop over the arrays perform edge interpolation.
 
void AssignNullValue (vtkIdType outId)
 Loop over the arrays and assign the null value.
 
void Copy (unsigned short inId, unsigned short outId)
 Loop over the array pairs and copy data from one to another.
 
void Interpolate (int numWeights, const unsigned short *ids, const double *weights, unsigned short outId)
 Loop over the arrays and have them interpolate themselves.
 
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 Average (int numPts, const unsigned short *ids, unsigned short outId)
 Loop over the arrays and have them averaged.
 
void WeightedAverage (int numPts, const unsigned short *ids, const double *weights, unsigned short outId)
 Loop over the arrays and weighted average the attributes.
 
void InterpolateEdge (unsigned short v0, unsigned short v1, double t, unsigned short outId)
 Loop over the arrays perform edge interpolation.
 
void AssignNullValue (unsigned short outId)
 Loop over the arrays and assign the null value.
 
void Realloc (vtkIdType sze)
 Extend (realloc) the arrays.
 
vtkIdType GetNumberOfArrays ()
 Return the number of arrays.
 

Public Attributes

std::vector< BaseArrayPair * > Arrays
 
std::vector< vtkAbstractArray * > ExcludedArrays
 

Protected Member Functions

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

Detailed Description

Definition at line 688 of file vtkArrayListTemplate.h.

Constructor & Destructor Documentation

◆ ~ArrayList()

ArrayList::~ArrayList ( )
inline

Definition at line 715 of file vtkArrayListTemplate.h.

Member Function Documentation

◆ AddArrays()

void ArrayList::AddArrays ( vtkIdType  numOutPts,
vtkDataSetAttributes inPD,
vtkDataSetAttributes outPD,
double  nullValue = 0.0,
vtkTypeBool  promote = true 
)

◆ AddSelfInterpolatingArrays()

void ArrayList::AddSelfInterpolatingArrays ( vtkIdType  numOutPts,
vtkDataSetAttributes attr,
double  nullValue = 0.0 
)

◆ AddArrayPair()

vtkAbstractArray * ArrayList::AddArrayPair ( vtkIdType  numTuples,
vtkAbstractArray inArray,
vtkStdString outArrayName,
double  nullValue,
vtkTypeBool  promote 
)

◆ ExcludeArray()

void ArrayList::ExcludeArray ( vtkAbstractArray da)

◆ IsExcluded()

vtkTypeBool ArrayList::IsExcluded ( vtkAbstractArray da)

◆ Copy() [1/3]

template<typename TIdType >
void ArrayList::Copy ( TIdType  inId,
TIdType  outId 
)
inlineprotected

Definition at line 725 of file vtkArrayListTemplate.h.

◆ Interpolate() [1/3]

template<typename TIdType >
void ArrayList::Interpolate ( int  numWeights,
const TIdType *  ids,
const double *  weights,
TIdType  outId 
)
inlineprotected

Definition at line 734 of file vtkArrayListTemplate.h.

◆ InterpolateOutput() [1/3]

template<typename TIdType >
void ArrayList::InterpolateOutput ( int  numWeights,
const TIdType *  ids,
const double *  weights,
TIdType  outId 
)
inlineprotected

Definition at line 743 of file vtkArrayListTemplate.h.

◆ Average() [1/3]

template<typename TIdType >
void ArrayList::Average ( int  numPts,
const TIdType *  ids,
TIdType  outId 
)
inlineprotected

Definition at line 752 of file vtkArrayListTemplate.h.

◆ WeightedAverage() [1/3]

template<typename TIdType >
void ArrayList::WeightedAverage ( int  numPts,
const TIdType *  ids,
const double *  weights,
TIdType  outId 
)
inlineprotected

Definition at line 761 of file vtkArrayListTemplate.h.

◆ InterpolateEdge() [1/3]

template<typename TIdType >
void ArrayList::InterpolateEdge ( TIdType  v0,
TIdType  v1,
double  t,
TIdType  outId 
)
inlineprotected

Definition at line 770 of file vtkArrayListTemplate.h.

◆ AssignNullValue() [1/3]

template<typename TIdType >
void ArrayList::AssignNullValue ( TIdType  outId)
inlineprotected

Definition at line 779 of file vtkArrayListTemplate.h.

◆ Copy() [2/3]

void ArrayList::Copy ( vtkIdType  inId,
vtkIdType  outId 
)
inline

Loop over the array pairs and copy data from one to another.

This (and the following methods) can be used within threads.

Definition at line 792 of file vtkArrayListTemplate.h.

◆ Interpolate() [2/3]

void ArrayList::Interpolate ( int  numWeights,
const vtkIdType ids,
const double *  weights,
vtkIdType  outId 
)
inline

Loop over the arrays and have them interpolate themselves.

Definition at line 796 of file vtkArrayListTemplate.h.

◆ InterpolateOutput() [2/3]

void ArrayList::InterpolateOutput ( int  numWeights,
const vtkIdType ids,
const double *  weights,
vtkIdType  outId 
)
inline

Loop over the arrays and have them interpolate themselves based on the output arrays.

Definition at line 803 of file vtkArrayListTemplate.h.

◆ Average() [2/3]

void ArrayList::Average ( int  numPts,
const vtkIdType ids,
vtkIdType  outId 
)
inline

Loop over the arrays and have them averaged.

Definition at line 811 of file vtkArrayListTemplate.h.

◆ WeightedAverage() [2/3]

void ArrayList::WeightedAverage ( int  numPts,
const vtkIdType ids,
const double *  weights,
vtkIdType  outId 
)
inline

Loop over the arrays and weighted average the attributes.

The weights should sum to 1.0.

Definition at line 818 of file vtkArrayListTemplate.h.

◆ InterpolateEdge() [2/3]

void ArrayList::InterpolateEdge ( vtkIdType  v0,
vtkIdType  v1,
double  t,
vtkIdType  outId 
)
inline

Loop over the arrays perform edge interpolation.

Definition at line 825 of file vtkArrayListTemplate.h.

◆ AssignNullValue() [2/3]

void ArrayList::AssignNullValue ( vtkIdType  outId)
inline

Loop over the arrays and assign the null value.

Definition at line 832 of file vtkArrayListTemplate.h.

◆ Copy() [3/3]

void ArrayList::Copy ( unsigned short  inId,
unsigned short  outId 
)
inline

Loop over the array pairs and copy data from one to another.

This (and the following methods) can be used within threads.

Definition at line 886 of file vtkArrayListTemplate.h.

◆ Interpolate() [3/3]

void ArrayList::Interpolate ( int  numWeights,
const unsigned short *  ids,
const double *  weights,
unsigned short  outId 
)
inline

Loop over the arrays and have them interpolate themselves.

Definition at line 890 of file vtkArrayListTemplate.h.

◆ InterpolateOutput() [3/3]

void ArrayList::InterpolateOutput ( int  numWeights,
const unsigned short *  ids,
const double *  weights,
unsigned short  outId 
)
inline

Loop over the arrays and have them interpolate themselves based on the output arrays.

Definition at line 898 of file vtkArrayListTemplate.h.

◆ Average() [3/3]

void ArrayList::Average ( int  numPts,
const unsigned short *  ids,
unsigned short  outId 
)
inline

Loop over the arrays and have them averaged.

Definition at line 906 of file vtkArrayListTemplate.h.

◆ WeightedAverage() [3/3]

void ArrayList::WeightedAverage ( int  numPts,
const unsigned short *  ids,
const double *  weights,
unsigned short  outId 
)
inline

Loop over the arrays and weighted average the attributes.

The weights should sum to 1.0.

Definition at line 913 of file vtkArrayListTemplate.h.

◆ InterpolateEdge() [3/3]

void ArrayList::InterpolateEdge ( unsigned short  v0,
unsigned short  v1,
double  t,
unsigned short  outId 
)
inline

Loop over the arrays perform edge interpolation.

Definition at line 921 of file vtkArrayListTemplate.h.

◆ AssignNullValue() [3/3]

void ArrayList::AssignNullValue ( unsigned short  outId)
inline

Loop over the arrays and assign the null value.

Definition at line 928 of file vtkArrayListTemplate.h.

◆ Realloc()

void ArrayList::Realloc ( vtkIdType  sze)
inline

Extend (realloc) the arrays.

Definition at line 933 of file vtkArrayListTemplate.h.

◆ GetNumberOfArrays()

vtkIdType ArrayList::GetNumberOfArrays ( )
inline

Return the number of arrays.

Definition at line 944 of file vtkArrayListTemplate.h.

Member Data Documentation

◆ Arrays

std::vector<BaseArrayPair*> ArrayList::Arrays

Definition at line 691 of file vtkArrayListTemplate.h.

◆ ExcludedArrays

std::vector<vtkAbstractArray*> ArrayList::ExcludedArrays

Definition at line 692 of file vtkArrayListTemplate.h.


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