VTK  9.2.6
vtkPassSelectedArrays.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkPassSelectedArrays.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
35#ifndef vtkPassSelectedArrays_h
36#define vtkPassSelectedArrays_h
37
38#include "vtkDataObject.h" // for vtkDataObject::FieldAssociations
39#include "vtkFiltersGeneralModule.h" // For export macro
41#include "vtkSmartPointer.h" // for ivar
42
44
45class VTKFILTERSGENERAL_EXPORT vtkPassSelectedArrays : public vtkPassInputTypeAlgorithm
46{
47public:
50 void PrintSelf(ostream& os, vtkIndent indent) override;
51
53
57 vtkSetMacro(Enabled, bool);
58 vtkGetMacro(Enabled, bool);
59 vtkBooleanMacro(Enabled, bool);
61
69
71
100
101protected:
104
105 int FillInputPortInformation(int port, vtkInformation* info) override;
107
108private:
110 void operator=(const vtkPassSelectedArrays&) = delete;
111
112 bool Enabled;
114};
115
116#endif
Store on/off settings for data arrays, etc.
a simple class to control print indentation
Definition vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce output of the same type as input.
pass through chosen arrays
vtkDataArraySelection * GetFieldDataArraySelection()
Convenience methods that call GetArraySelection with corresponding association type.
vtkDataArraySelection * GetCellDataArraySelection()
Convenience methods that call GetArraySelection with corresponding association type.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkDataArraySelection * GetPointDataArraySelection()
Convenience methods that call GetArraySelection with corresponding association type.
~vtkPassSelectedArrays() override
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkDataArraySelection * GetVertexDataArraySelection()
Convenience methods that call GetArraySelection with corresponding association type.
vtkDataArraySelection * GetArraySelection(int association)
Returns the vtkDataArraySelection instance associated with a particular array association type (vtkDa...
vtkDataArraySelection * GetRowDataArraySelection()
Convenience methods that call GetArraySelection with corresponding association type.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkPassSelectedArrays * New()
vtkDataArraySelection * GetEdgeDataArraySelection()
Convenience methods that call GetArraySelection with corresponding association type.
Hold a reference to a vtkObjectBase instance.