VTK
9.4.20250509
|
Helper class for vtkIntegrateAttributes. More...
#include <vtkIntegrateAttributesFieldList.h>
Public Member Functions | |
vtkIntegrateAttributesFieldList (int numInputs=0) | |
![]() | |
vtkDataSetAttributesFieldList (int number_of_inputs=0) | |
number_of_inputs parameter is not required and only provided for backwards compatibility. | |
virtual | ~vtkDataSetAttributesFieldList () |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | Reset () |
Initializes the field list to empty. | |
void | InitializeFieldList (vtkDataSetAttributes *dsa) |
Initialize the field list. | |
void | IntersectFieldList (vtkDataSetAttributes *dsa) |
Update the field list for an intersection of arrays registered so far and those in dsa . | |
void | UnionFieldList (vtkDataSetAttributes *dsa) |
Update the field list for an union of arrays registered so far and those in dsa . | |
void | TransformData (int inputIndex, vtkFieldData *input, vtkFieldData *output, std::function< void(vtkAbstractArray *, vtkAbstractArray *)> op) const |
Use this method to provide a custom callback function to invoke for each array in the input and corresponding array in the output. | |
int | GetNumberOfArrays () |
This method can be used to determine the number of arrays remaining after intersection or union operations. | |
void | BuildPrototype (vtkDataSetAttributes *protoDSA, vtkDataSetAttributes *ordering=nullptr) |
A convenience function that builds a prototype / template dataset attributes for initializing the process of attribute interpolation and copying. | |
void | CopyAllocate (vtkDataSetAttributes *output, int ctype, vtkIdType sz, vtkIdType ext) const |
These methods can called to generate and update the output vtkDataSetAttributes. | |
void | CopyData (int inputIndex, vtkDataSetAttributes *input, vtkIdType fromId, vtkDataSetAttributes *output, vtkIdType toId) const |
These methods can called to generate and update the output vtkDataSetAttributes. | |
void | CopyData (int inputIndex, vtkDataSetAttributes *input, vtkIdType inputStart, vtkIdType numValues, vtkDataSetAttributes *output, vtkIdType outStart) const |
These methods can called to generate and update the output vtkDataSetAttributes. | |
void | InterpolatePoint (int inputIndex, vtkDataSetAttributes *input, vtkIdList *inputIds, double *weights, vtkDataSetAttributes *output, vtkIdType toId) const |
These methods can called to generate and update the output vtkDataSetAttributes. | |
Static Public Member Functions | |
static vtkIntegrateAttributesFieldList * | New () |
Protected Member Functions | |
vtkSmartPointer< vtkAbstractArray > | CreateArray (int type) const override |
Called to create an output array for the given type. | |
virtual vtkSmartPointer< vtkAbstractArray > | CreateArray (int type) const |
Called to create an output array for the given type. | |
Helper class for vtkIntegrateAttributes.
Helper class for vtkIntegrateAttributes. Override CreateArray to only forward double arrays.
Definition at line 18 of file vtkIntegrateAttributesFieldList.h.
vtkIntegrateAttributesFieldList::vtkIntegrateAttributesFieldList | ( | int | numInputs = 0 | ) |
|
static |
|
overrideprotectedvirtual |
Called to create an output array for the given type.
Default implementation calls vtkAbstractArray::CreateArray()
.
Reimplemented from vtkDataSetAttributesFieldList.