VTK  9.5.20251127
vtkBlockIdScalars.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
16
17#ifndef vtkBlockIdScalars_h
18#define vtkBlockIdScalars_h
19
20#include "vtkFiltersGeneralModule.h" // For export macro
22
23VTK_ABI_NAMESPACE_BEGIN
24class VTKFILTERSGENERAL_EXPORT vtkBlockIdScalars : public vtkPassInputTypeAlgorithm
25{
26public:
29 void PrintSelf(ostream& os, vtkIndent indent) override;
30
32
36 vtkSetMacro(TraverseSubTree, bool);
37 vtkGetMacro(TraverseSubTree, bool);
38 vtkBooleanMacro(TraverseSubTree, bool);
40
42
46 vtkSetMacro(VisitOnlyLeaves, bool);
47 vtkGetMacro(VisitOnlyLeaves, bool);
48 vtkBooleanMacro(VisitOnlyLeaves, bool);
50
51protected:
54
56 int FillInputPortInformation(int port, vtkInformation* info) override;
57
58private:
59 vtkBlockIdScalars(const vtkBlockIdScalars&) = delete;
60 void operator=(const vtkBlockIdScalars&) = delete;
61
62 bool TraverseSubTree = false;
63 bool VisitOnlyLeaves = false;
64};
65
66VTK_ABI_NAMESPACE_END
67#endif
static vtkBlockIdScalars * New()
~vtkBlockIdScalars() override
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.