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

vtkExtractRectilinearGrid.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkExtractRectilinearGrid.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 =========================================================================*/
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   vtkTypeRevisionMacro(vtkExtractRectilinearGrid,vtkRectilinearGridAlgorithm);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00044 
00047   vtkSetVector6Macro(VOI,int);
00048   vtkGetVectorMacro(VOI,int,6);
00050 
00052 
00056   vtkSetVector3Macro(SampleRate, int);
00057   vtkGetVectorMacro(SampleRate, int, 3);
00059 
00061 
00067   vtkSetMacro(IncludeBoundary,int);
00068   vtkGetMacro(IncludeBoundary,int);
00069   vtkBooleanMacro(IncludeBoundary,int);
00071 
00072 protected:
00073   vtkExtractRectilinearGrid();
00074   ~vtkExtractRectilinearGrid() {};
00075 
00076   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00077   virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00078   virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00079   
00080   int VOI[6];
00081   int SampleRate[3];
00082   int IncludeBoundary;
00083   
00084 private:
00085   vtkExtractRectilinearGrid(const vtkExtractRectilinearGrid&);  // Not implemented.
00086   void operator=(const vtkExtractRectilinearGrid&);  // Not implemented.
00087 };
00088 
00089 #endif
00090 
00091 

Generated on Mon Jan 21 23:07:24 2008 for VTK by  doxygen 1.4.3-20050530