VTK
dox
opt
build
vtk6-6.3.0+dfsg2
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
#ifndef vtkExtractLevel_h
30
#define vtkExtractLevel_h
31
32
#include "
vtkFiltersExtractionModule.h
"
// For export macro
33
#include "
vtkMultiBlockDataSetAlgorithm.h
"
34
35
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractLevel
:
36
public
vtkMultiBlockDataSetAlgorithm
37
{
38
public
:
39
static
vtkExtractLevel
*
New
();
40
vtkTypeMacro
(
vtkExtractLevel
,
vtkMultiBlockDataSetAlgorithm
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
43
45
47
void
AddLevel
(
unsigned
int
level
);
48
void
RemoveLevel
(
unsigned
int
level
);
49
void
RemoveAllLevels
();
51
52
//BTX
53
protected
:
54
vtkExtractLevel
();
55
~vtkExtractLevel
();
56
57
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
* );
58
60
virtual
int
RequestData
(
vtkInformation
*,
61
vtkInformationVector
**,
62
vtkInformationVector
*);
63
64
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
65
virtual
int
FillOutputPortInformation
(
int
port
,
vtkInformation
*
info
);
66
67
private
:
68
vtkExtractLevel
(
const
vtkExtractLevel
&);
// Not implemented.
69
void
operator=(
const
vtkExtractLevel
&);
// Not implemented.
70
71
class
vtkSet;
72
vtkSet* Levels;
73
//ETX
74
};
75
76
#endif
77
78
vtkExtractLevel::FillOutputPortInformation
virtual int FillOutputPortInformation(int port, vtkInformation *info)
vtkExtractLevel::RemoveLevel
void RemoveLevel(unsigned int level)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkFiltersExtractionModule.h
vtkExtractLevel::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Implementation of the algorithm.
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition:
vtkSetGet.h:642
vtkExtractLevel::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkExtractLevel::New
static vtkExtractLevel * New()
vtkExtractLevel::RemoveAllLevels
void RemoveAllLevels()
vtkExtractLevel
extract levels between min and max from a hierarchical box dataset.
Definition:
vtkExtractLevel.h:37
vtkExtractLevel::~vtkExtractLevel
~vtkExtractLevel()
vtkExtractLevel::vtkExtractLevel
vtkExtractLevel()
vtkX3D::port
@ port
Definition:
vtkX3D.h:447
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkExtractLevel::AddLevel
void AddLevel(unsigned int level)
vtkMultiBlockDataSetAlgorithm.h
vtkgl::level
GLint level
Definition:
vtkgl.h:11316
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkX3D::info
@ info
Definition:
vtkX3D.h:376
VTKFILTERSEXTRACTION_EXPORT
#define VTKFILTERSEXTRACTION_EXPORT
Definition:
vtkFiltersExtractionModule.h:15
vtkExtractLevel::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkExtractLevel::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkMultiBlockDataSetAlgorithm
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Definition:
vtkMultiBlockDataSetAlgorithm.h:32
Generated by
1.8.20