VTK
dox/Graphics/vtkExtractRectilinearGrid.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkExtractRectilinearGrid.h
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 =========================================================================*/
00031 #ifndef __vtkExtractRectilinearGrid_h
00032 #define __vtkExtractRectilinearGrid_h
00033 
00034 #include "vtkRectilinearGridAlgorithm.h"
00035 
00036 class VTK_GRAPHICS_EXPORT vtkExtractRectilinearGrid : public vtkRectilinearGridAlgorithm
00037 {
00038 public:
00039   static vtkExtractRectilinearGrid *New();
00040   vtkTypeMacro(vtkExtractRectilinearGrid,vtkRectilinearGridAlgorithm);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00044 
00047   vtkSetVector6Macro(VOI,int);
00048   vtkGetVectorMacro(VOI,int,6);
00050 
00052 
00057   vtkSetVector3Macro(SampleRate, int);
00058   vtkGetVectorMacro(SampleRate, int, 3);
00060 
00062 
00068   vtkSetMacro(IncludeBoundary,int);
00069   vtkGetMacro(IncludeBoundary,int);
00070   vtkBooleanMacro(IncludeBoundary,int);
00072 
00073 protected:
00074   vtkExtractRectilinearGrid();
00075   ~vtkExtractRectilinearGrid() {};
00076 
00077   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00078   virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00079   virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00080   
00081   int VOI[6];
00082   int SampleRate[3];
00083   int IncludeBoundary;
00084   
00085 private:
00086   vtkExtractRectilinearGrid(const vtkExtractRectilinearGrid&);  // Not implemented.
00087   void operator=(const vtkExtractRectilinearGrid&);  // Not implemented.
00088 };
00089 
00090 #endif
00091 
00092