VTK
9.2.6
Filters
Extraction
vtkExtractGrid.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractGrid.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
=========================================================================*/
39
40
#ifndef vtkExtractGrid_h
41
#define vtkExtractGrid_h
42
43
#include "vtkFiltersExtractionModule.h"
// For export macro
44
#include "
vtkStructuredGridAlgorithm.h
"
45
46
// Forward Declarations
47
class
vtkExtractStructuredGridHelper
;
48
49
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractGrid
:
public
vtkStructuredGridAlgorithm
50
{
51
public
:
52
static
vtkExtractGrid
*
New
();
53
vtkTypeMacro(
vtkExtractGrid
,
vtkStructuredGridAlgorithm
);
54
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
55
57
62
vtkSetVector6Macro(
VOI
,
int
);
63
vtkGetVectorMacro(
VOI
,
int
, 6);
65
67
74
vtkSetVector3Macro(
SampleRate
,
int
);
75
vtkGetVectorMacro(
SampleRate
,
int
, 3);
77
79
87
vtkSetMacro(
IncludeBoundary
,
vtkTypeBool
);
88
vtkGetMacro(
IncludeBoundary
,
vtkTypeBool
);
89
vtkBooleanMacro(
IncludeBoundary
,
vtkTypeBool
);
91
92
protected
:
93
vtkExtractGrid
();
94
~vtkExtractGrid
()
override
;
95
96
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
97
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
98
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
99
106
bool
RequestDataImpl
(
vtkInformationVector
** inputVector,
vtkInformationVector
* outputVector);
107
108
int
VOI
[6];
109
int
SampleRate
[3];
110
vtkTypeBool
IncludeBoundary
;
111
112
vtkExtractStructuredGridHelper
*
Internal
;
113
114
private
:
115
vtkExtractGrid
(
const
vtkExtractGrid
&) =
delete
;
116
void
operator=(
const
vtkExtractGrid
&) =
delete
;
117
};
118
119
#endif
vtkExtractGrid::Internal
vtkExtractStructuredGridHelper * Internal
Definition
vtkExtractGrid.h:112
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:108
vtkExtractGrid::New
static vtkExtractGrid * New()
vtkExtractGrid::vtkExtractGrid
vtkExtractGrid()
vtkExtractGrid::SampleRate
int SampleRate[3]
Definition
vtkExtractGrid.h:109
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:110
vtkExtractStructuredGridHelper
helper for extracting/sub-sampling structured datasets.
Definition
vtkExtractStructuredGridHelper.h:52
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:34
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:36
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:68
vtkStructuredGridAlgorithm::vtkStructuredGridAlgorithm
vtkStructuredGridAlgorithm()
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:69
vtkStructuredGridAlgorithm.h
Generated on Sun Mar 2 2025 00:00:00 for VTK by
1.13.2