VTK  9.5.20250828
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 689 of file vtkArrayListTemplate.h.

Constructor & Destructor Documentation

◆ ~ArrayList()

ArrayList::~ArrayList ( )
inline

Definition at line 716 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 726 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 735 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 744 of file vtkArrayListTemplate.h.

◆ Average() [1/3]

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

Definition at line 753 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 762 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 771 of file vtkArrayListTemplate.h.

◆ AssignNullValue() [1/3]

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

Definition at line 780 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 793 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 797 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 804 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 812 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 819 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 826 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 833 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 887 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 891 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 899 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 907 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 914 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 922 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 929 of file vtkArrayListTemplate.h.

◆ Realloc()

void ArrayList::Realloc ( vtkIdType  sze)
inline

Extend (realloc) the arrays.

Definition at line 934 of file vtkArrayListTemplate.h.

◆ GetNumberOfArrays()

vtkIdType ArrayList::GetNumberOfArrays ( )
inline

Return the number of arrays.

Definition at line 945 of file vtkArrayListTemplate.h.

Member Data Documentation

◆ Arrays

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

Definition at line 692 of file vtkArrayListTemplate.h.

◆ ExcludedArrays

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

Definition at line 693 of file vtkArrayListTemplate.h.


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