71#ifndef vtkPassArrays_h
72#define vtkPassArrays_h
75#include "vtkFiltersGeneralModule.h"
90 virtual void AddArray(
int fieldType,
const char* name);
117 vtkSetMacro(RemoveArrays,
bool);
118 vtkGetMacro(RemoveArrays,
bool);
119 vtkBooleanMacro(RemoveArrays,
bool);
128 vtkSetMacro(UseFieldTypes,
bool);
129 vtkGetMacro(UseFieldTypes,
bool);
130 vtkBooleanMacro(UseFieldTypes,
bool);
Superclass for algorithms that produce only data object as output.
a simple class to control print indentation
Passes a subset of arrays to the output.
~vtkPassArrays() override
virtual void ClearFieldDataArrays()
Clear all arrays to pass through.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
virtual void AddArray(int fieldType, const char *name)
Adds an array to pass through.
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is required to capture REQUEST_DATA_OBJECT requests.
virtual void RemoveFieldDataArray(const char *name)
virtual void ClearPointDataArrays()
Clear all arrays to pass through.
virtual void AddFieldDataArray(const char *name)
int FillInputPortInformation(int port, vtkInformation *info) override
Override to limit types of supported input types to non-composite datasets.
Internals * Implementation
virtual void ClearFieldTypes()
Clear all field types to process.
virtual void RemoveCellDataArray(const char *name)
virtual void RemoveArray(int fieldType, const char *name)
static vtkPassArrays * New()
virtual void AddCellDataArray(const char *name)
virtual void AddPointDataArray(const char *name)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void RemovePointDataArray(const char *name)
virtual void AddFieldType(int fieldType)
Add a field type to process.
virtual void ClearArrays()
Clear all arrays to pass through.
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Creates the same output type as the input type.
virtual void ClearCellDataArrays()
Clear all arrays to pass through.