VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
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
=========================================================================*/
45
#ifndef __vtkExtractGrid_h
46
#define __vtkExtractGrid_h
47
48
#include "
vtkStructuredGridAlgorithm.h
"
49
50
class
VTK_GRAPHICS_EXPORT
vtkExtractGrid
:
public
vtkStructuredGridAlgorithm
51
{
52
public
:
53
static
vtkExtractGrid
*
New
();
54
vtkTypeMacro(
vtkExtractGrid
,
vtkStructuredGridAlgorithm
);
55
void
PrintSelf
(ostream& os,
vtkIndent
indent);
56
58
61
vtkSetVector6Macro(VOI,
int
);
62
vtkGetVectorMacro(VOI,
int
,6);
64
66
71
vtkSetVector3Macro(SampleRate,
int
);
72
vtkGetVectorMacro(SampleRate,
int
, 3);
74
76
82
vtkSetMacro(IncludeBoundary,
int
);
83
vtkGetMacro(IncludeBoundary,
int
);
84
vtkBooleanMacro(IncludeBoundary,
int
);
86
87
protected
:
88
vtkExtractGrid
();
89
~vtkExtractGrid
() {};
90
91
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
92
virtual
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
93
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
94
95
int
VOI[6];
96
int
SampleRate[3];
97
int
IncludeBoundary
;
98
99
private
:
100
vtkExtractGrid
(
const
vtkExtractGrid
&);
// Not implemented.
101
void
operator=(
const
vtkExtractGrid
&);
// Not implemented.
102
};
103
104
#endif
105
106
Generated on Sun Sep 9 2012 13:03:30 for VTK by
1.8.1.2