VTK  9.7.1
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
17 #ifndef vtkBlockIdScalars_h
18 #define vtkBlockIdScalars_h
19 
20 #include "vtkFiltersGeneralModule.h" // For export macro
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 class VTKFILTERSGENERAL_EXPORT vtkBlockIdScalars : public vtkPassInputTypeAlgorithm
25 {
26 public:
27  static vtkBlockIdScalars* New();
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 
51 protected:
53  ~vtkBlockIdScalars() override;
54 
57 
58 private:
59  vtkBlockIdScalars(const vtkBlockIdScalars&) = delete;
60  void operator=(const vtkBlockIdScalars&) = delete;
61 
62  bool TraverseSubTree = false;
63  bool VisitOnlyLeaves = false;
64 };
65 
66 VTK_ABI_NAMESPACE_END
67 #endif
Superclass for algorithms that produce output of the same type as input.
Store vtkAlgorithm input/output information.
generates scalars from blocks.
a simple class to control print indentation
Definition: vtkIndent.h:28
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store zero or more vtkInformation instances.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkPassInputTypeAlgorithm * New()