VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 =========================================================================*/
28 #ifndef __vtkExtractDataSets_h
29 #define __vtkExtractDataSets_h
30 
31 #include "vtkFiltersExtractionModule.h" // For export macro
33 
34 class VTKFILTERSEXTRACTION_EXPORT vtkExtractDataSets :
36 {
37 public:
38  static vtkExtractDataSets* New();
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43  void AddDataSet(unsigned int level, unsigned int idx);
44 
46  void ClearDataSetList();
47 
48 //BTX
49 protected:
52 
53  virtual int RequestData(vtkInformation *,
54  vtkInformationVector **,
55  vtkInformationVector *);
56  virtual int FillInputPortInformation(int port, vtkInformation *info);
57  virtual int FillOutputPortInformation(int port, vtkInformation *info);
58 
59 private:
60  vtkExtractDataSets(const vtkExtractDataSets&); // Not implemented.
61  void operator=(const vtkExtractDataSets&); // Not implemented.
62 
63  class vtkInternals;
64  vtkInternals* Internals;
65 //ETX
66 };
67 
68 #endif
69 
70 
extracts a number of datasets.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkMultiBlockDataSetAlgorithm * New()
virtual int FillOutputPortInformation(int port, vtkInformation *info)
virtual int FillInputPortInformation(int port, vtkInformation *info)
void PrintSelf(ostream &os, vtkIndent indent)