VTK
9.3.0
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Filters
Extraction
vtkExtractRectilinearGrid.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
20
#ifndef vtkExtractRectilinearGrid_h
21
#define vtkExtractRectilinearGrid_h
22
23
#include "vtkFiltersExtractionModule.h"
// For export macro
24
#include "
vtkRectilinearGridAlgorithm.h
"
25
26
// Forward Declarations
27
VTK_ABI_NAMESPACE_BEGIN
28
class
vtkExtractStructuredGridHelper
;
29
30
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractRectilinearGrid
:
public
vtkRectilinearGridAlgorithm
31
{
32
public
:
33
static
vtkExtractRectilinearGrid
*
New
();
34
vtkTypeMacro(
vtkExtractRectilinearGrid
,
vtkRectilinearGridAlgorithm
);
35
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
36
38
43
vtkSetVector6Macro(VOI,
int
);
44
vtkGetVectorMacro(VOI,
int
, 6);
46
48
55
vtkSetVector3Macro(SampleRate,
int
);
56
vtkGetVectorMacro(SampleRate,
int
, 3);
58
60
68
vtkSetMacro(IncludeBoundary,
vtkTypeBool
);
69
vtkGetMacro(IncludeBoundary,
vtkTypeBool
);
70
vtkBooleanMacro(IncludeBoundary,
vtkTypeBool
);
72
73
protected
:
74
vtkExtractRectilinearGrid
();
75
~vtkExtractRectilinearGrid
()
override
;
76
77
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
78
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
79
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
80
87
bool
RequestDataImpl
(
vtkInformationVector
** inputVector,
vtkInformationVector
* outputVector);
88
89
int
VOI[6];
90
int
SampleRate[3];
91
vtkTypeBool
IncludeBoundary
;
92
93
vtkExtractStructuredGridHelper
*
Internal
;
94
95
private
:
96
vtkExtractRectilinearGrid
(
const
vtkExtractRectilinearGrid
&) =
delete
;
97
void
operator=(
const
vtkExtractRectilinearGrid
&) =
delete
;
98
};
99
100
VTK_ABI_NAMESPACE_END
101
#endif
vtkExtractRectilinearGrid
Extract a sub grid (VOI) from the structured rectilinear dataset.
Definition
vtkExtractRectilinearGrid.h:31
vtkExtractRectilinearGrid::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExtractRectilinearGrid::~vtkExtractRectilinearGrid
~vtkExtractRectilinearGrid() override
vtkExtractRectilinearGrid::RequestDataImpl
bool RequestDataImpl(vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Implementation for RequestData using a specified VOI.
vtkExtractRectilinearGrid::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExtractRectilinearGrid::New
static vtkExtractRectilinearGrid * New()
vtkExtractRectilinearGrid::RequestInformation
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkExtractRectilinearGrid::IncludeBoundary
vtkTypeBool IncludeBoundary
Definition
vtkExtractRectilinearGrid.h:91
vtkExtractRectilinearGrid::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractRectilinearGrid::Internal
vtkExtractStructuredGridHelper * Internal
Definition
vtkExtractRectilinearGrid.h:93
vtkExtractRectilinearGrid::vtkExtractRectilinearGrid
vtkExtractRectilinearGrid()
vtkExtractStructuredGridHelper
helper for extracting/sub-sampling structured datasets.
Definition
vtkExtractStructuredGridHelper.h:45
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:29
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:31
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:63
vtkRectilinearGridAlgorithm
Superclass for algorithms that produce only rectilinear grid as output.
Definition
vtkRectilinearGridAlgorithm.h:33
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:64
vtkRectilinearGridAlgorithm.h
Generated on Mon Feb 26 2024 16:15:33 for VTK by
1.11.0