|
VTK
9.6.1
|
pass through chosen arrays More...
#include <vtkPassSelectedArrays.h>
pass through chosen arrays
vtkPassSelectedArrays can be used to pass through chosen arrays. It is intended as a replacement for vtkPassArrays filter with a more standard API that uses vtkDataArraySelection to choose arrays to pass through.
To enable/disable arrays to pass, get the appropriate vtkDataArraySelection instance using GetArraySelection or the association specific get methods such as GetPointDataArraySelection, GetCellDataArraySelection etc. and then enable/disable arrays using vtkDataArraySelection API. Using vtkDataArraySelection::SetUnknownArraySetting` one also dictate how arrays not explicitly listed are to be handled.
for vtkDataObject::FieldAssociations For export macro
for ivar
class vtkCellGrid; class vtkDataArraySelection;
class VTKFILTERSGENERAL_EXPORT vtkPassSelectedArrays : public vtkPassInputTypeAlgorithm { public: static vtkPassSelectedArrays* New(); typedef vtkPassInputTypeAlgorithm Superclass; private: virtual const char* GetClassNameInternal() const; public: static vtkTypeBool IsTypeOf(const char *type); virtual vtkTypeBool IsA(const char *type); static vtkPassSelectedArrays * SafeDownCast(vtkObjectBase *o); protected: virtual vtkObjectBase *NewInstanceInternal() const; public: vtkPassSelectedArrays *NewInstance() const; ; void PrintSelf(ostream& os, vtkIndent indent) override;
/ /** Enable/disable this filter. When disabled, this filter passes all input arrays irrespective of the array selections. Default is true.