Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | 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 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00058 #ifndef __vtkExtractGrid_h
00059 #define __vtkExtractGrid_h
00060 
00061 #include "vtkStructuredGridToStructuredGridFilter.h"
00062 
00063 class VTK_GRAPHICS_EXPORT vtkExtractGrid : public vtkStructuredGridToStructuredGridFilter
00064 {
00065 public:
00066   static vtkExtractGrid *New();
00067   vtkTypeRevisionMacro(vtkExtractGrid,vtkStructuredGridToStructuredGridFilter);
00068   void PrintSelf(ostream& os, vtkIndent indent);
00069 
00071 
00074   vtkSetVector6Macro(VOI,int);
00075   vtkGetVectorMacro(VOI,int,6);
00077 
00079 
00083   vtkSetVector3Macro(SampleRate, int);
00084   vtkGetVectorMacro(SampleRate, int, 3);
00086 
00088 
00094   vtkSetMacro(IncludeBoundary,int);
00095   vtkGetMacro(IncludeBoundary,int);
00096   vtkBooleanMacro(IncludeBoundary,int);
00098 
00099 protected:
00100   vtkExtractGrid();
00101   ~vtkExtractGrid() {};
00102 
00103   void Execute();
00104   void ExecuteInformation();
00105   void ComputeInputUpdateExtents(vtkDataObject *out);
00106   
00107   int VOI[6];
00108   int SampleRate[3];
00109   int IncludeBoundary;
00110   
00111 private:
00112   vtkExtractGrid(const vtkExtractGrid&);  // Not implemented.
00113   void operator=(const vtkExtractGrid&);  // Not implemented.
00114 };
00115 
00116 #endif
00117 
00118