Go to the documentation of this file.
55 #ifndef vtkDataSetAttributesFieldList_h
56 #define vtkDataSetAttributesFieldList_h
58 #include "vtkCommonDataModelModule.h"
59 #include "vtkSetGet.h"
156 std::unique_ptr<vtkInternals> Internals;
void CopyData(int inputIndex, vtkDataSetAttributes *input, vtkIdType fromId, vtkDataSetAttributes *output, vtkIdType toId) const
virtual ~vtkDataSetAttributesFieldList()
represent and manipulate attribute data in a dataset
int GetDSAIndex(int index, int i) const
void UnionFieldList(vtkDataSetAttributes *dsa)
Update the field list for an union of arrays registered so far and those in dsa.
int GetFieldComponents(int i) const
int IsAttributePresent(int attrType) const
vtkDataSetAttributes::FieldList used a different internal data structure in older versions of VTK.
void InterpolatePoint(int inputIdx, vtkDataSetAttributes *input, vtkIdList *inputIds, double *weights, vtkDataSetAttributes *output, vtkIdType toId) const
vtkDataSetAttributesFieldList(int number_of_inputs=0)
number_of_inputs parameter is not required and only provided for backwards compatibility.
int GetFieldIndex(int i) const
void Reset()
Initializes the field list to empty.
const char * GetFieldName(int i) const
helps manage arrays from multiple vtkDataSetAttributes.
a simple class to control print indentation
void CopyAllocate(vtkDataSetAttributes *output, int ctype, vtkIdType sz, vtkIdType ext) const
These methods can called to generate and update the output vtkDataSetAttributes.
list of point or cell ids
void PrintSelf(ostream &os, vtkIndent indent)
void TransformData(int inputIndex, vtkDataSetAttributes *input, vtkDataSetAttributes *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 corre...
Abstract superclass for all arrays.
void IntersectFieldList(vtkDataSetAttributes *dsa)
Update the field list for an intersection of arrays registered so far and those in dsa.
void CopyData(int inputIdx, vtkDataSetAttributes *input, vtkIdType inputStart, vtkIdType numValues, vtkDataSetAttributes *output, vtkIdType outStart) const
int GetNumberOfFields() const
virtual vtkSmartPointer< vtkAbstractArray > CreateArray(int type) const
Called to create an output array for the given type.
void InitializeFieldList(vtkDataSetAttributes *dsa)
Initialize the field list.