VTK  9.6.1
vtkPassSelectedArrays.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
22
23#ifndef vtkPassSelectedArrays_h
24#define vtkPassSelectedArrays_h
25
26#include "vtkDataObject.h" // for vtkDataObject::FieldAssociations
27#include "vtkFiltersGeneralModule.h" // For export macro
29#include "vtkSmartPointer.h" // for ivar
30
31VTK_ABI_NAMESPACE_BEGIN
32class vtkCellGrid;
34
35class VTKFILTERSGENERAL_EXPORT vtkPassSelectedArrays : public vtkPassInputTypeAlgorithm
36{
37public:
38 static vtkPassSelectedArrays* New();
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
43
47 vtkSetMacro(Enabled, bool);
48 vtkGetMacro(Enabled, bool);
49 vtkBooleanMacro(Enabled, bool);
51
59
61
89
90
91protected:
94
95 int FillInputPortInformation(int port, vtkInformation* info) override;
97
99
100private:
102 void operator=(const vtkPassSelectedArrays&) = delete;
103
104 bool Enabled;
106};
107
108VTK_ABI_NAMESPACE_END
109#endif
Visualization data composed of cells of arbitrary type.
Definition vtkCellGrid.h:49
Store on/off settings for data arrays, etc.
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
pass through chosen arrays
Hold a reference to a vtkObjectBase instance.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
static vtkBiQuadraticQuadraticHexahedron * New()
void PrintSelf(ostream &os, vtkIndent indent) override
vtkDataArraySelection * GetFieldDataArraySelection()
Convenience methods that call GetArraySelection with corresponding association type.
vtkDataArraySelection * GetRowDataArraySelection()
Convenience methods that call GetArraySelection with corresponding association type.
vtkDataArraySelection * GetPointDataArraySelection()
Convenience methods that call GetArraySelection with corresponding association type.
vtkDataArraySelection * GetEdgeDataArraySelection()
Convenience methods that call GetArraySelection with corresponding association type.
vtkDataArraySelection * GetVertexDataArraySelection()
Convenience methods that call GetArraySelection with corresponding association type.
int HandleCellGridAttributes(vtkCellGrid *output)
vtkDataArraySelection * GetArraySelection(int association)
Returns the vtkDataArraySelection instance associated with a particular array association type (vtkDa...
~vtkPassSelectedArrays() override
vtkPassSelectedArrays()
vtkDataArraySelection * GetCellDataArraySelection()
Convenience methods that call GetArraySelection with corresponding association type.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
#define vtkPassInputTypeAlgorithm