VTK
9.3.0
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
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
31
#ifndef vtkExtractGrid_h
32
#define vtkExtractGrid_h
33
34
#include "vtkFiltersExtractionModule.h"
// For export macro
35
#include "
vtkStructuredGridAlgorithm.h
"
36
37
// Forward Declarations
38
VTK_ABI_NAMESPACE_BEGIN
39
class
vtkExtractStructuredGridHelper
;
40
41
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractGrid
:
public
vtkStructuredGridAlgorithm
42
{
43
public
:
44
static
vtkExtractGrid
*
New
();
45
vtkTypeMacro(
vtkExtractGrid
,
vtkStructuredGridAlgorithm
);
46
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
47
49
54
vtkSetVector6Macro(VOI,
int
);
55
vtkGetVectorMacro(VOI,
int
, 6);
57
59
66
vtkSetVector3Macro(SampleRate,
int
);
67
vtkGetVectorMacro(SampleRate,
int
, 3);
69
71
79
vtkSetMacro(IncludeBoundary,
vtkTypeBool
);
80
vtkGetMacro(IncludeBoundary,
vtkTypeBool
);
81
vtkBooleanMacro(IncludeBoundary,
vtkTypeBool
);
83
84
protected
:
85
vtkExtractGrid
();
86
~vtkExtractGrid
()
override
;
87
88
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
89
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
90
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
91
98
bool
RequestDataImpl
(
vtkInformationVector
** inputVector,
vtkInformationVector
* outputVector);
99
100
int
VOI[6];
101
int
SampleRate[3];
102
vtkTypeBool
IncludeBoundary
;
103
104
vtkExtractStructuredGridHelper
*
Internal
;
105
106
private
:
107
vtkExtractGrid
(
const
vtkExtractGrid
&) =
delete
;
108
void
operator=(
const
vtkExtractGrid
&) =
delete
;
109
};
110
111
VTK_ABI_NAMESPACE_END
112
#endif
vtkExtractGrid
select piece (e.g., volume of interest) and/or subsample structured grid dataset
Definition
vtkExtractGrid.h:42
vtkExtractGrid::Internal
vtkExtractStructuredGridHelper * Internal
Definition
vtkExtractGrid.h:104
vtkExtractGrid::RequestInformation
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkExtractGrid::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExtractGrid::New
static vtkExtractGrid * New()
vtkExtractGrid::vtkExtractGrid
vtkExtractGrid()
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:102
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
vtkStructuredGridAlgorithm
Superclass for algorithms that produce only structured grid as output.
Definition
vtkStructuredGridAlgorithm.h:31
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:64
vtkStructuredGridAlgorithm.h
Generated on Thu Jun 20 2024 00:00:00 for VTK by
1.11.0