VTK
vtkExtractLevel.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractLevel.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 vtkExtractLevel_h
30 #define vtkExtractLevel_h
31 
32 #include "vtkFiltersExtractionModule.h" // For export macro
34 
37 {
38 public:
39  static vtkExtractLevel* New();
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
43 
45 
47  void AddLevel(unsigned int level);
48  void RemoveLevel(unsigned int level);
49  void RemoveAllLevels();
51 
52 //BTX
53 protected:
55  ~vtkExtractLevel();
56 
58 
60  virtual int RequestData(vtkInformation *,
63 
66 
67 private:
68  vtkExtractLevel(const vtkExtractLevel&); // Not implemented.
69  void operator=(const vtkExtractLevel&); // Not implemented.
70 
71  class vtkSet;
72  vtkSet* Levels;
73 //ETX
74 };
75 
76 #endif
77 
78 
Store vtkAlgorithm input/output information.
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 RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
a simple class to control print indentation
Definition: vtkIndent.h:38
extract levels between min and max from a hierarchical box dataset.
#define VTKFILTERSEXTRACTION_EXPORT
virtual int FillInputPortInformation(int port, vtkInformation *info)
void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.