VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
52 {
53 public:
54  static vtkExtractGrid *New();
56  void PrintSelf(ostream& os, vtkIndent indent);
57 
59 
62  vtkSetVector6Macro(VOI,int);
63  vtkGetVectorMacro(VOI,int,6);
65 
67 
72  vtkSetVector3Macro(SampleRate, int);
73  vtkGetVectorMacro(SampleRate, int, 3);
75 
77 
83  vtkSetMacro(IncludeBoundary,int);
84  vtkGetMacro(IncludeBoundary,int);
85  vtkBooleanMacro(IncludeBoundary,int);
87 
88 protected:
91 
95 
96  int VOI[6];
97  int SampleRate[3];
99 
100 private:
101  vtkExtractGrid(const vtkExtractGrid&); // Not implemented.
102  void operator=(const vtkExtractGrid&); // Not implemented.
103 };
104 
105 #endif
106 
107 
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store vtkAlgorithm input/output information.
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:83
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:619
static vtkStructuredGridAlgorithm * New()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
a simple class to control print indentation
Definition: vtkIndent.h:38
Superclass for algorithms that produce only structured grid as output.
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKFILTERSEXTRACTION_EXPORT
#define vtkSetVector6Macro(name, type)
Definition: vtkSetGet.h:350
select piece (e.g., volume of interest) and/or subsample structured grid dataset
Store zero or more vtkInformation instances.
#define vtkBooleanMacro(name, type)
Definition: vtkSetGet.h:234
#define vtkSetVector3Macro(name, type)
Definition: vtkSetGet.h:277
#define vtkGetVectorMacro(name, type, count)
Definition: vtkSetGet.h:414
#define vtkSetMacro(name, type)
Definition: vtkSetGet.h:69