VTK
9.1.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Filters
Extraction
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
28
#include "
vtkMultiBlockDataSetAlgorithm.h
"
29
30
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractLevel
:
public
vtkMultiBlockDataSetAlgorithm
31
{
32
public
:
33
static
vtkExtractLevel
*
New
();
34
vtkTypeMacro(
vtkExtractLevel
,
vtkMultiBlockDataSetAlgorithm
);
35
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
36
38
42
void
AddLevel
(
unsigned
int
level
);
43
void
RemoveLevel
(
unsigned
int
level
);
44
void
RemoveAllLevels
();
46
47
protected
:
48
vtkExtractLevel
();
49
~vtkExtractLevel
()
override
;
50
51
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
52
54
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
55
56
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
)
override
;
57
int
FillOutputPortInformation
(
int
port
,
vtkInformation
*
info
)
override
;
58
59
private
:
60
vtkExtractLevel
(
const
vtkExtractLevel
&) =
delete
;
61
void
operator=(
const
vtkExtractLevel
&) =
delete
;
62
63
class
vtkSet;
64
vtkSet* Levels;
65
};
66
67
#endif
vtkExtractLevel
extract levels between min and max from a hierarchical box dataset.
Definition:
vtkExtractLevel.h:31
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:113
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:145
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:174
vtkMultiBlockDataSetAlgorithm
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Definition:
vtkMultiBlockDataSetAlgorithm.h:33
vtkX3D::info
@ info
Definition:
vtkX3D.h:382
vtkX3D::level
@ level
Definition:
vtkX3D.h:401
vtkX3D::port
@ port
Definition:
vtkX3D.h:453
vtkMultiBlockDataSetAlgorithm.h
Generated on Sat Feb 25 2023 08:59:35 for VTK by
1.9.4