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 
49 
51 {
52 public:
53  static vtkExtractGrid *New();
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:
90 
94 
95  int VOI[6];
96  int SampleRate[3];
98 
99 private:
100  vtkExtractGrid(const vtkExtractGrid&); // Not implemented.
101  void operator=(const vtkExtractGrid&); // Not implemented.
102 };
103 
104 #endif
105 
106