VTK
9.4.20250114
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Filters
Extraction
vtkExtractLevel.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
18
#ifndef vtkExtractLevel_h
19
#define vtkExtractLevel_h
20
21
#include "vtkFiltersExtractionModule.h"
// For export macro
22
#include "
vtkMultiBlockDataSetAlgorithm.h
"
23
24
VTK_ABI_NAMESPACE_BEGIN
25
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractLevel
:
public
vtkMultiBlockDataSetAlgorithm
26
{
27
public
:
28
static
vtkExtractLevel
*
New
();
29
vtkTypeMacro(
vtkExtractLevel
,
vtkMultiBlockDataSetAlgorithm
);
30
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
31
33
37
void
AddLevel
(
unsigned
int
level);
38
void
RemoveLevel
(
unsigned
int
level);
39
void
RemoveAllLevels
();
41
42
protected
:
43
vtkExtractLevel
();
44
~vtkExtractLevel
()
override
;
45
46
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
47
49
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
50
51
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
52
int
FillOutputPortInformation
(
int
port,
vtkInformation
* info)
override
;
53
54
private
:
55
vtkExtractLevel
(
const
vtkExtractLevel
&) =
delete
;
56
void
operator=(
const
vtkExtractLevel
&) =
delete
;
57
58
class
vtkSet;
59
vtkSet* Levels;
60
};
61
62
VTK_ABI_NAMESPACE_END
63
#endif
vtkExtractLevel
extract levels between min and max from a hierarchical box dataset.
Definition
vtkExtractLevel.h:26
vtkExtractLevel::RemoveAllLevels
void RemoveAllLevels()
Select the levels that should be extracted.
vtkExtractLevel::~vtkExtractLevel
~vtkExtractLevel() override
vtkExtractLevel::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkExtractLevel::AddLevel
void AddLevel(unsigned int level)
Select the levels that should be extracted.
vtkExtractLevel::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkExtractLevel::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Implementation of the algorithm.
vtkExtractLevel::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExtractLevel::vtkExtractLevel
vtkExtractLevel()
vtkExtractLevel::New
static vtkExtractLevel * New()
vtkExtractLevel::RemoveLevel
void RemoveLevel(unsigned int level)
Select the levels that should be extracted.
vtkExtractLevel::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:108
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:140
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:172
vtkMultiBlockDataSetAlgorithm
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Definition
vtkMultiBlockDataSetAlgorithm.h:25
vtkMultiBlockDataSetAlgorithm.h
Generated on Tue Jan 14 2025 14:31:13 for VTK by
1.9.7