Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Graphics/vtkExtractGrid.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkExtractGrid.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00062 #ifndef __vtkExtractGrid_h
00063 #define __vtkExtractGrid_h
00064 
00065 #include "vtkStructuredGridToStructuredGridFilter.h"
00066 
00067 class VTK_GRAPHICS_EXPORT vtkExtractGrid : public vtkStructuredGridToStructuredGridFilter
00068 {
00069 public:
00070   static vtkExtractGrid *New();
00071   vtkTypeRevisionMacro(vtkExtractGrid,vtkStructuredGridToStructuredGridFilter);
00072   void PrintSelf(ostream& os, vtkIndent indent);
00073 
00075 
00078   vtkSetVector6Macro(VOI,int);
00079   vtkGetVectorMacro(VOI,int,6);
00081 
00083 
00087   vtkSetVector3Macro(SampleRate, int);
00088   vtkGetVectorMacro(SampleRate, int, 3);
00090 
00092 
00098   vtkSetMacro(IncludeBoundary,int);
00099   vtkGetMacro(IncludeBoundary,int);
00100   vtkBooleanMacro(IncludeBoundary,int);
00102 
00103 protected:
00104   vtkExtractGrid();
00105   ~vtkExtractGrid() {};
00106 
00107   void Execute();
00108   void ExecuteInformation();
00109   void ComputeInputUpdateExtents(vtkDataObject *out);
00110   
00111   int VOI[6];
00112   int SampleRate[3];
00113   int IncludeBoundary;
00114   
00115 private:
00116   vtkExtractGrid(const vtkExtractGrid&);  // Not implemented.
00117   void operator=(const vtkExtractGrid&);  // Not implemented.
00118 };
00119 
00120 #endif
00121 
00122