VTK  9.3.1
vtkExtractDataSets.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 vtkExtractDataSets_h
18 #define vtkExtractDataSets_h
19 
20 #include "vtkFiltersExtractionModule.h" // For export macro
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 class VTKFILTERSEXTRACTION_EXPORT vtkExtractDataSets : public vtkMultiBlockDataSetAlgorithm
25 {
26 public:
27  static vtkExtractDataSets* New();
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
34  void AddDataSet(unsigned int level, unsigned int idx);
35 
39  void ClearDataSetList();
40 
41 protected:
43  ~vtkExtractDataSets() override;
44 
48 
49 private:
50  vtkExtractDataSets(const vtkExtractDataSets&) = delete;
51  void operator=(const vtkExtractDataSets&) = delete;
52 
53  class vtkInternals;
54  vtkInternals* Internals;
55 };
56 
57 VTK_ABI_NAMESPACE_END
58 #endif
Store vtkAlgorithm input/output information.
extracts a number of datasets.
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()
a simple class to control print indentation
Definition: vtkIndent.h:28
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.