VTK
9.2.6
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
=========================================================================*/
29
30
#ifndef vtkExtractLevel_h
31
#define vtkExtractLevel_h
32
33
#include "vtkFiltersExtractionModule.h"
// For export macro
34
#include "
vtkMultiBlockDataSetAlgorithm.h
"
35
36
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractLevel
:
public
vtkMultiBlockDataSetAlgorithm
37
{
38
public
:
39
static
vtkExtractLevel
*
New
();
40
vtkTypeMacro(
vtkExtractLevel
,
vtkMultiBlockDataSetAlgorithm
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
42
44
48
void
AddLevel
(
unsigned
int
level);
49
void
RemoveLevel
(
unsigned
int
level);
50
void
RemoveAllLevels
();
52
53
protected
:
54
vtkExtractLevel
();
55
~vtkExtractLevel
()
override
;
56
57
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
58
60
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
61
62
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
63
int
FillOutputPortInformation
(
int
port,
vtkInformation
* info)
override
;
64
65
private
:
66
vtkExtractLevel
(
const
vtkExtractLevel
&) =
delete
;
67
void
operator=(
const
vtkExtractLevel
&) =
delete
;
68
69
class
vtkSet;
70
vtkSet* Levels;
71
};
72
73
#endif
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:40
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:42
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:74
vtkMultiBlockDataSetAlgorithm::vtkMultiBlockDataSetAlgorithm
vtkMultiBlockDataSetAlgorithm()
vtkMultiBlockDataSetAlgorithm.h
Generated on Tue Jan 28 2025 00:00:00 for VTK by
1.13.2