Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

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 =========================================================================*/
00049 #ifndef __vtkExtractGrid_h
00050 #define __vtkExtractGrid_h
00051 
00052 #include "vtkStructuredGridToStructuredGridFilter.h"
00053 
00054 class VTK_GRAPHICS_EXPORT vtkExtractGrid : public vtkStructuredGridToStructuredGridFilter
00055 {
00056 public:
00057   static vtkExtractGrid *New();
00058   vtkTypeRevisionMacro(vtkExtractGrid,vtkStructuredGridToStructuredGridFilter);
00059   void PrintSelf(ostream& os, vtkIndent indent);
00060 
00062 
00065   vtkSetVector6Macro(VOI,int);
00066   vtkGetVectorMacro(VOI,int,6);
00068 
00070 
00074   vtkSetVector3Macro(SampleRate, int);
00075   vtkGetVectorMacro(SampleRate, int, 3);
00077 
00079 
00085   vtkSetMacro(IncludeBoundary,int);
00086   vtkGetMacro(IncludeBoundary,int);
00087   vtkBooleanMacro(IncludeBoundary,int);
00089 
00090 protected:
00091   vtkExtractGrid();
00092   ~vtkExtractGrid() {};
00093 
00094   void Execute();
00095   void ExecuteInformation();
00096   void ComputeInputUpdateExtents(vtkDataObject *out);
00097   
00098   int VOI[6];
00099   int SampleRate[3];
00100   int IncludeBoundary;
00101   
00102 private:
00103   vtkExtractGrid(const vtkExtractGrid&);  // Not implemented.
00104   void operator=(const vtkExtractGrid&);  // Not implemented.
00105 };
00106 
00107 #endif
00108 
00109