VTK  9.3.20240425
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
23VTK_ABI_NAMESPACE_BEGIN
24class VTKFILTERSEXTRACTION_EXPORT vtkExtractDataSets : public vtkMultiBlockDataSetAlgorithm
25{
26public:
29 void PrintSelf(ostream& os, vtkIndent indent) override;
30
34 void AddDataSet(unsigned int level, unsigned int idx);
35
40
41protected:
44
46 int FillInputPortInformation(int port, vtkInformation* info) override;
47 int FillOutputPortInformation(int port, vtkInformation* info) override;
48
49private:
51 void operator=(const vtkExtractDataSets&) = delete;
52
53 class vtkInternals;
54 vtkInternals* Internals;
55};
56
57VTK_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.