VTK
dox
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
=========================================================================*/
46
#ifndef vtkExtractGrid_h
47
#define vtkExtractGrid_h
48
49
#include "vtkFiltersExtractionModule.h"
// For export macro
50
#include "
vtkStructuredGridAlgorithm.h
"
51
52
// Forward Declarations
53
class
vtkExtractStructuredGridHelper
;
54
55
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractGrid
:
public
vtkStructuredGridAlgorithm
56
{
57
public
:
58
static
vtkExtractGrid
*
New
();
59
vtkTypeMacro(
vtkExtractGrid
,
vtkStructuredGridAlgorithm
);
60
void
PrintSelf
(ostream& os,
vtkIndent
indent);
61
63
68
vtkSetVector6Macro(VOI,
int
);
69
vtkGetVectorMacro(VOI,
int
,6);
71
73
80
vtkSetVector3Macro(SampleRate,
int
);
81
vtkGetVectorMacro(SampleRate,
int
, 3);
83
85
93
vtkSetMacro
(IncludeBoundary,
int
);
94
vtkGetMacro(IncludeBoundary,
int
);
95
vtkBooleanMacro
(IncludeBoundary,
int
);
97
98
protected
:
99
vtkExtractGrid
();
100
~vtkExtractGrid
();
101
102
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
103
virtual
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
104
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
105
112
bool
RequestDataImpl
(
vtkInformationVector
**inputVector,
113
vtkInformationVector
*outputVector);
114
115
116
int
VOI[6];
117
int
SampleRate[3];
118
int
IncludeBoundary
;
119
120
vtkExtractStructuredGridHelper
*
Internal
;
121
122
private
:
123
vtkExtractGrid
(
const
vtkExtractGrid
&) VTK_DELETE_FUNCTION;
124
void
operator=(
const
vtkExtractGrid
&) VTK_DELETE_FUNCTION;
125
};
126
127
#endif
128
129
vtkExtractGrid::~vtkExtractGrid
~vtkExtractGrid()
vtkStructuredGridAlgorithm.h
vtkExtractGrid::Internal
vtkExtractStructuredGridHelper * Internal
Definition:
vtkExtractGrid.h:120
vtkExtractGrid::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkExtractGrid::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkExtractGrid::RequestDataImpl
bool RequestDataImpl(vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Implementation for RequestData using a specified VOI.
vtkStructuredGridAlgorithm
Superclass for algorithms that produce only structured grid as output.
Definition:
vtkStructuredGridAlgorithm.h:42
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:42
vtkExtractGrid
select piece (e.g., volume of interest) and/or subsample structured grid dataset
Definition:
vtkExtractGrid.h:56
vtkExtractStructuredGridHelper
helper for extracting/sub-sampling structured datasets.
Definition:
vtkExtractStructuredGridHelper.h:53
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkExtractGrid::vtkExtractGrid
vtkExtractGrid()
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:87
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkExtractGrid::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkExtractGrid::IncludeBoundary
int IncludeBoundary
Definition:
vtkExtractGrid.h:118
vtkExtractGrid::New
static vtkExtractGrid * New()
vtkExtractGrid::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Generated by
1.8.20