VTK  9.3.1
vtkExtractLevel.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
18 #ifndef vtkExtractLevel_h
19 #define vtkExtractLevel_h
20 
21 #include "vtkFiltersExtractionModule.h" // For export macro
23 
24 VTK_ABI_NAMESPACE_BEGIN
25 class VTKFILTERSEXTRACTION_EXPORT vtkExtractLevel : public vtkMultiBlockDataSetAlgorithm
26 {
27 public:
28  static vtkExtractLevel* New();
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
33 
37  void AddLevel(unsigned int level);
38  void RemoveLevel(unsigned int level);
39  void RemoveAllLevels();
41 
42 protected:
44  ~vtkExtractLevel() override;
45 
47 
50 
53 
54 private:
55  vtkExtractLevel(const vtkExtractLevel&) = delete;
56  void operator=(const vtkExtractLevel&) = delete;
57 
58  class vtkSet;
59  vtkSet* Levels;
60 };
61 
62 VTK_ABI_NAMESPACE_END
63 #endif
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
static vtkMultiBlockDataSetAlgorithm * New()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
a simple class to control print indentation
Definition: vtkIndent.h:28
extract levels between min and max from a hierarchical box dataset.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.