VTK
9.2.6
Filters
Extraction
vtkExtractRectilinearGrid.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractRectilinearGrid.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
=========================================================================*/
28
29
#ifndef vtkExtractRectilinearGrid_h
30
#define vtkExtractRectilinearGrid_h
31
32
#include "vtkFiltersExtractionModule.h"
// For export macro
33
#include "
vtkRectilinearGridAlgorithm.h
"
34
35
// Forward Declarations
36
class
vtkExtractStructuredGridHelper
;
37
38
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractRectilinearGrid
:
public
vtkRectilinearGridAlgorithm
39
{
40
public
:
41
static
vtkExtractRectilinearGrid
*
New
();
42
vtkTypeMacro(
vtkExtractRectilinearGrid
,
vtkRectilinearGridAlgorithm
);
43
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
44
46
51
vtkSetVector6Macro(
VOI
,
int
);
52
vtkGetVectorMacro(
VOI
,
int
, 6);
54
56
63
vtkSetVector3Macro(
SampleRate
,
int
);
64
vtkGetVectorMacro(
SampleRate
,
int
, 3);
66
68
76
vtkSetMacro(
IncludeBoundary
,
vtkTypeBool
);
77
vtkGetMacro(
IncludeBoundary
,
vtkTypeBool
);
78
vtkBooleanMacro(
IncludeBoundary
,
vtkTypeBool
);
80
81
protected
:
82
vtkExtractRectilinearGrid
();
83
~vtkExtractRectilinearGrid
()
override
;
84
85
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
86
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
87
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
88
95
bool
RequestDataImpl
(
vtkInformationVector
** inputVector,
vtkInformationVector
* outputVector);
96
97
int
VOI
[6];
98
int
SampleRate
[3];
99
vtkTypeBool
IncludeBoundary
;
100
101
vtkExtractStructuredGridHelper
*
Internal
;
102
103
private
:
104
vtkExtractRectilinearGrid
(
const
vtkExtractRectilinearGrid
&) =
delete
;
105
void
operator=(
const
vtkExtractRectilinearGrid
&) =
delete
;
106
};
107
108
#endif
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::SampleRate
int SampleRate[3]
Definition
vtkExtractRectilinearGrid.h:98
vtkExtractRectilinearGrid::RequestInformation
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkExtractRectilinearGrid::IncludeBoundary
vtkTypeBool IncludeBoundary
Definition
vtkExtractRectilinearGrid.h:99
vtkExtractRectilinearGrid::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractRectilinearGrid::VOI
int VOI[6]
Definition
vtkExtractRectilinearGrid.h:97
vtkExtractRectilinearGrid::Internal
vtkExtractStructuredGridHelper * Internal
Definition
vtkExtractRectilinearGrid.h:101
vtkExtractRectilinearGrid::vtkExtractRectilinearGrid
vtkExtractRectilinearGrid()
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
vtkRectilinearGridAlgorithm::vtkRectilinearGridAlgorithm
vtkRectilinearGridAlgorithm()
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:69
vtkRectilinearGridAlgorithm.h
Generated on Sun Mar 2 2025 00:00:00 for VTK by
1.13.2