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=========================================================================*/
30#ifndef vtkExtractLevel_h
31#define vtkExtractLevel_h
32
33#include "vtkFiltersExtractionModule.h" // For export macro
35
36class VTKFILTERSEXTRACTION_EXPORT vtkExtractLevel :
38{
39public:
42 void PrintSelf(ostream& os, vtkIndent indent);
43
44
46
50 void AddLevel(unsigned int level);
51 void RemoveLevel(unsigned int level);
54
55protected:
58
60
65
68
69private:
70 vtkExtractLevel(const vtkExtractLevel&) VTK_DELETE_FUNCTION;
71 void operator=(const vtkExtractLevel&) VTK_DELETE_FUNCTION;
72
73 class vtkSet;
74 vtkSet* Levels;
75
76};
77
78#endif
79
80
extract levels between min and max from a hierarchical box dataset.
void RemoveAllLevels()
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
void AddLevel(unsigned int level)
Select the levels that should be extracted.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
static vtkExtractLevel * New()
void RemoveLevel(unsigned int level)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Implementation of the algorithm.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
@ info
Definition: vtkX3D.h:376
@ level
Definition: vtkX3D.h:395
@ port
Definition: vtkX3D.h:447