VTK
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 "vtkFiltersExtractionModule.h" // For export macro
50 
51 // Forward Declarations
53 
55 {
56 public:
57  static vtkExtractGrid *New();
59  void PrintSelf(ostream& os, vtkIndent indent);
60 
62 
66  vtkGetVectorMacro(VOI,int,6);
68 
70 
75  vtkSetVector3Macro(SampleRate, int);
76  vtkGetVectorMacro(SampleRate, int, 3);
78 
80 
86  vtkSetMacro(IncludeBoundary,int);
87  vtkGetMacro(IncludeBoundary,int);
88  vtkBooleanMacro(IncludeBoundary,int);
90 
91 protected:
94 
98 
100 
103  bool RequestDataImpl(int voi[6],
104  vtkInformationVector **inputVector,
105  vtkInformationVector *outputVector);
107 
108 
109  int VOI[6];
110  int SampleRate[3];
112 
114 
115 private:
116  vtkExtractGrid(const vtkExtractGrid&); // Not implemented.
117  void operator=(const vtkExtractGrid&); // Not implemented.
118 };
119 
120 #endif
121 
122 
vtkExtractGrid::~vtkExtractGrid
~vtkExtractGrid()
vtkStructuredGridAlgorithm.h
vtkExtractGrid::Internal
vtkExtractStructuredGridHelper * Internal
Definition: vtkExtractGrid.h:113
vtkExtractGrid::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkSetVector3Macro
#define vtkSetVector3Macro(name, type)
Definition: vtkSetGet.h:287
vtkExtractGrid::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkStructuredGridAlgorithm
Superclass for algorithms that produce only structured grid as output.
Definition: vtkStructuredGridAlgorithm.h:41
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkFiltersExtractionModule.h
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkExtractGrid
select piece (e.g., volume of interest) and/or subsample structured grid dataset
Definition: vtkExtractGrid.h:55
vtkGetVectorMacro
#define vtkGetVectorMacro(name, type, count)
Definition: vtkSetGet.h:424
vtkExtractStructuredGridHelper
helper for extracting/sub-sampling structured datasets.
Definition: vtkExtractStructuredGridHelper.h:52
vtkExtractGrid::RequestDataImpl
bool RequestDataImpl(int voi[6], vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkExtractGrid::vtkExtractGrid
vtkExtractGrid()
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkExtractGrid::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkExtractGrid::IncludeBoundary
int IncludeBoundary
Definition: vtkExtractGrid.h:111
VTKFILTERSEXTRACTION_EXPORT
#define VTKFILTERSEXTRACTION_EXPORT
Definition: vtkFiltersExtractionModule.h:15
vtkSetVector6Macro
#define vtkSetVector6Macro(name, type)
Definition: vtkSetGet.h:360
vtkExtractGrid::New
static vtkExtractGrid * New()
vtkExtractGrid::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)