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
=========================================================================*/
31
32
#ifndef vtkExtractRectilinearGrid_h
33
#define vtkExtractRectilinearGrid_h
34
35
#include "vtkFiltersExtractionModule.h"
// For export macro
36
#include "
vtkRectilinearGridAlgorithm.h
"
37
38
// Forward Declarations
39
class
vtkExtractStructuredGridHelper
;
40
41
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractRectilinearGrid
:
public
vtkRectilinearGridAlgorithm
42
{
43
public
:
44
static
vtkExtractRectilinearGrid
*
New
();
45
vtkTypeMacro(
vtkExtractRectilinearGrid
,
vtkRectilinearGridAlgorithm
);
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
vtkExtractRectilinearGrid
();
86
~vtkExtractRectilinearGrid
()
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
vtkExtractRectilinearGrid
(
const
vtkExtractRectilinearGrid
&) =
delete
;
108
void
operator=(
const
vtkExtractRectilinearGrid
&) =
delete
;
109
};
110
111
#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:101
vtkExtractRectilinearGrid::RequestInformation
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkExtractRectilinearGrid::IncludeBoundary
vtkTypeBool IncludeBoundary
Definition
vtkExtractRectilinearGrid.h:102
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:100
vtkExtractRectilinearGrid::Internal
vtkExtractStructuredGridHelper * Internal
Definition
vtkExtractRectilinearGrid.h:104
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:40
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:42
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:74
vtkRectilinearGridAlgorithm::vtkRectilinearGridAlgorithm
vtkRectilinearGridAlgorithm()
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:69
vtkRectilinearGridAlgorithm.h
Generated on Thu Feb 27 2025 00:00:00 for VTK by
1.13.2