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 =========================================================================*/
24 #ifndef vtkExtractLevel_h
25 #define vtkExtractLevel_h
26 
27 #include "vtkFiltersExtractionModule.h" // For export macro
29 
30 class VTKFILTERSEXTRACTION_EXPORT vtkExtractLevel :
32 {
33 public:
34  static vtkExtractLevel* New();
36  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
37 
38 
40 
44  void AddLevel(unsigned int level);
45  void RemoveLevel(unsigned int level);
46  void RemoveAllLevels();
48 
49 protected:
51  ~vtkExtractLevel() VTK_OVERRIDE;
52 
53  int RequestUpdateExtent(vtkInformation*, vtkInformationVector**,vtkInformationVector* ) VTK_OVERRIDE;
54 
56  int RequestData(vtkInformation *,
58  vtkInformationVector *) VTK_OVERRIDE;
59 
60  int FillInputPortInformation(int port,vtkInformation *info) VTK_OVERRIDE;
61  int FillOutputPortInformation(int port,vtkInformation *info) VTK_OVERRIDE;
62 
63 private:
64  vtkExtractLevel(const vtkExtractLevel&) VTK_DELETE_FUNCTION;
65  void operator=(const vtkExtractLevel&) VTK_DELETE_FUNCTION;
66 
67  class vtkSet;
68  vtkSet* Levels;
69 
70 };
71 
72 #endif
73 
74 
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
static vtkMultiBlockDataSetAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:33
extract levels between min and max from a hierarchical box dataset.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store zero or more vtkInformation instances.