VTK
9.5.20251214
Filters
Extraction
vtkExtractGrid.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
49
50
#ifndef vtkExtractGrid_h
51
#define vtkExtractGrid_h
52
53
#include "vtkFiltersExtractionModule.h"
// For export macro
54
#include "
vtkStructuredGridAlgorithm.h
"
55
56
// Forward Declarations
57
VTK_ABI_NAMESPACE_BEGIN
58
class
vtkExtractStructuredGridHelper
;
59
60
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractGrid
:
public
vtkStructuredGridAlgorithm
61
{
62
public
:
63
static
vtkExtractGrid
*
New
();
64
vtkTypeMacro(
vtkExtractGrid
,
vtkStructuredGridAlgorithm
);
65
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
66
68
73
vtkSetVector6Macro(
VOI
,
int
);
74
vtkGetVectorMacro(
VOI
,
int
, 6);
76
78
85
vtkSetVector3Macro(
SampleRate
,
int
);
86
vtkGetVectorMacro(
SampleRate
,
int
, 3);
88
90
98
vtkSetMacro(
IncludeBoundary
,
vtkTypeBool
);
99
vtkGetMacro(
IncludeBoundary
,
vtkTypeBool
);
100
vtkBooleanMacro(
IncludeBoundary
,
vtkTypeBool
);
102
103
protected
:
104
vtkExtractGrid
();
105
~vtkExtractGrid
()
override
;
106
107
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
108
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
109
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
110
117
bool
RequestDataImpl
(
vtkInformationVector
** inputVector,
vtkInformationVector
* outputVector);
118
119
int
VOI
[6];
120
int
SampleRate
[3];
121
vtkTypeBool
IncludeBoundary
;
122
123
vtkExtractStructuredGridHelper
*
Internal
;
124
125
private
:
126
vtkExtractGrid
(
const
vtkExtractGrid
&) =
delete
;
127
void
operator=(
const
vtkExtractGrid
&) =
delete
;
128
};
129
130
VTK_ABI_NAMESPACE_END
131
#endif
vtkExtractGrid::Internal
vtkExtractStructuredGridHelper * Internal
Definition
vtkExtractGrid.h:123
vtkExtractGrid::RequestInformation
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkExtractGrid::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExtractGrid::VOI
int VOI[6]
Definition
vtkExtractGrid.h:119
vtkExtractGrid::New
static vtkExtractGrid * New()
vtkExtractGrid::vtkExtractGrid
vtkExtractGrid()
vtkExtractGrid::SampleRate
int SampleRate[3]
Definition
vtkExtractGrid.h:120
vtkExtractGrid::~vtkExtractGrid
~vtkExtractGrid() override
vtkExtractGrid::RequestDataImpl
bool RequestDataImpl(vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Implementation for RequestData using a specified VOI.
vtkExtractGrid::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExtractGrid::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractGrid::IncludeBoundary
vtkTypeBool IncludeBoundary
Definition
vtkExtractGrid.h:121
vtkExtractStructuredGridHelper
helper for extracting/sub-sampling structured datasets.
Definition
vtkExtractStructuredGridHelper.h:45
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:108
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:142
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:173
vtkStructuredGridAlgorithm::vtkStructuredGridAlgorithm
vtkStructuredGridAlgorithm()
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:64
vtkStructuredGridAlgorithm.h
Generated on Sun Dec 14 2025 07:57:16 for VTK by
1.13.2