VTK
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 
35 class VTKFILTERSEXTRACTION_EXPORT vtkExtractDataSets :
37 {
38 public:
39  static vtkExtractDataSets* New();
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
46  void AddDataSet(unsigned int level, unsigned int idx);
47 
51  void ClearDataSetList();
52 
53 protected:
55  ~vtkExtractDataSets() override;
56 
59  vtkInformationVector *) override;
62 
63 private:
64  vtkExtractDataSets(const vtkExtractDataSets&) = delete;
65  void operator=(const vtkExtractDataSets&) = delete;
66 
67  class vtkInternals;
68  vtkInternals* Internals;
69 
70 };
71 
72 #endif
73 
74 
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:39
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.