VTK
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 #ifndef vtkExtractRectilinearGrid_h
32 #define vtkExtractRectilinearGrid_h
33 
34 #include "vtkFiltersExtractionModule.h" // For export macro
36 
37 // Forward Declarations
39 
41 {
42 public:
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
48 
51  vtkSetVector6Macro(VOI,int);
52  vtkGetVectorMacro(VOI,int,6);
54 
56 
61  vtkSetVector3Macro(SampleRate, int);
62  vtkGetVectorMacro(SampleRate, int, 3);
64 
66 
72  vtkSetMacro(IncludeBoundary,int);
73  vtkGetMacro(IncludeBoundary,int);
74  vtkBooleanMacro(IncludeBoundary,int);
76 
77 protected:
80 
84 
86 
90  bool RequestDataImpl(vtkInformationVector **inputVector,
91  vtkInformationVector *outputVector);
93 
94  int VOI[6];
95  int SampleRate[3];
97 
99 private:
100  vtkExtractRectilinearGrid(const vtkExtractRectilinearGrid&); // Not implemented.
101  void operator=(const vtkExtractRectilinearGrid&); // Not implemented.
102 };
103 
104 #endif
105 
106 
Superclass for algorithms that produce only rectilinear grid as output.
Store vtkAlgorithm input/output information.
static vtkRectilinearGridAlgorithm * New()
Extract a sub grid (VOI) from the structured rectilinear dataset.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
helper for extracting/sub-sampling structured datasets.
vtkExtractStructuredGridHelper * Internal
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKFILTERSEXTRACTION_EXPORT
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)