VTK  9.3.20240328
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:
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
34  void AddDataSet(unsigned int level, unsigned int idx);
35 
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
extracts a number of datasets.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
~vtkExtractDataSets() override
void AddDataSet(unsigned int level, unsigned int idx)
Add a dataset to be extracted.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
static vtkExtractDataSets * New()
void ClearDataSetList()
Remove all entries from the list of datasets to be extracted.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
@ info
Definition: vtkX3D.h:376
@ level
Definition: vtkX3D.h:395
@ port
Definition: vtkX3D.h:447