VTK  9.6.20260224
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 485 of file vtkArrayListTemplate.h.

Constructor & Destructor Documentation

◆ ~ArrayList()

ArrayList::~ArrayList ( )
inline

Definition at line 512 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 522 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 531 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 540 of file vtkArrayListTemplate.h.

◆ Average() [1/3]

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

Definition at line 549 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 558 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 567 of file vtkArrayListTemplate.h.

◆ AssignNullValue() [1/3]

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

Definition at line 576 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 589 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 593 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 600 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 608 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 615 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 622 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 629 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 683 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 687 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 695 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 703 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 710 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 718 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 725 of file vtkArrayListTemplate.h.

◆ Realloc()

void ArrayList::Realloc ( vtkIdType sze)
inline

Extend (realloc) the arrays.

Definition at line 730 of file vtkArrayListTemplate.h.

◆ GetNumberOfArrays()

vtkIdType ArrayList::GetNumberOfArrays ( )
inline

Return the number of arrays.

Definition at line 741 of file vtkArrayListTemplate.h.

Member Data Documentation

◆ Arrays

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

Definition at line 488 of file vtkArrayListTemplate.h.

◆ ExcludedArrays

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

Definition at line 489 of file vtkArrayListTemplate.h.


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