VTK  9.1.0
vtkExtractDataSets.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkExtractDataSets.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
29#ifndef vtkExtractDataSets_h
30#define vtkExtractDataSets_h
31
32#include "vtkFiltersExtractionModule.h" // For export macro
34
35class VTKFILTERSEXTRACTION_EXPORT vtkExtractDataSets : public vtkMultiBlockDataSetAlgorithm
36{
37public:
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
45 void AddDataSet(unsigned int level, unsigned int idx);
46
51
52protected:
55
57 int FillInputPortInformation(int port, vtkInformation* info) override;
58 int FillOutputPortInformation(int port, vtkInformation* info) override;
59
60private:
62 void operator=(const vtkExtractDataSets&) = delete;
63
64 class vtkInternals;
65 vtkInternals* Internals;
66};
67
68#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:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.