VTK
dox
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
=========================================================================*/
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
:
37
public
vtkMultiBlockDataSetAlgorithm
38
{
39
public
:
40
static
vtkExtractLevel
*
New
();
41
vtkTypeMacro(
vtkExtractLevel
,
vtkMultiBlockDataSetAlgorithm
);
42
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
43
44
46
50
void
AddLevel
(
unsigned
int
level
);
51
void
RemoveLevel
(
unsigned
int
level
);
52
void
RemoveAllLevels
();
54
55
protected
:
56
vtkExtractLevel
();
57
~vtkExtractLevel
()
override
;
58
59
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
* )
override
;
60
62
int
RequestData
(
vtkInformation
*,
63
vtkInformationVector
**,
64
vtkInformationVector
*)
override
;
65
66
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
)
override
;
67
int
FillOutputPortInformation
(
int
port
,
vtkInformation
*
info
)
override
;
68
69
private
:
70
vtkExtractLevel
(
const
vtkExtractLevel
&) =
delete
;
71
void
operator=(
const
vtkExtractLevel
&) =
delete
;
72
73
class
vtkSet;
74
vtkSet* Levels;
75
76
};
77
78
#endif
79
80
vtkExtractLevel::RemoveLevel
void RemoveLevel(unsigned int level)
vtkExtractLevel::~vtkExtractLevel
~vtkExtractLevel() override
vtkExtractLevel::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:42
vtkExtractLevel::New
static vtkExtractLevel * New()
vtkExtractLevel::RemoveAllLevels
void RemoveAllLevels()
vtkExtractLevel
extract levels between min and max from a hierarchical box dataset.
Definition:
vtkExtractLevel.h:38
vtkExtractLevel::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkExtractLevel::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkX3D::level
@ level
Definition:
vtkX3D.h:395
vtkExtractLevel::vtkExtractLevel
vtkExtractLevel()
vtkX3D::port
@ port
Definition:
vtkX3D.h:447
vtkExtractLevel::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractLevel::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Implementation of the algorithm.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkExtractLevel::AddLevel
void AddLevel(unsigned int level)
Select the levels that should be extracted.
vtkMultiBlockDataSetAlgorithm.h
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:87
vtkX3D::info
@ info
Definition:
vtkX3D.h:376
vtkMultiBlockDataSetAlgorithm
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Definition:
vtkMultiBlockDataSetAlgorithm.h:36
Generated by
1.8.18