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

dox/Imaging/vtkExtractVOI.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkExtractVOI.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 =========================================================================*/ 00044 #ifndef __vtkExtractVOI_h 00045 #define __vtkExtractVOI_h 00046 00047 #include "vtkImageToImageFilter.h" 00048 00049 class VTK_IMAGING_EXPORT vtkExtractVOI : public vtkImageToImageFilter 00050 { 00051 public: 00052 vtkTypeRevisionMacro(vtkExtractVOI,vtkImageToImageFilter); 00053 void PrintSelf(ostream& os, vtkIndent indent); 00054 00056 static vtkExtractVOI *New(); 00057 00059 00062 vtkSetVector6Macro(VOI,int); 00063 vtkGetVectorMacro(VOI,int,6); 00065 00067 00071 vtkSetVector3Macro(SampleRate, int); 00072 vtkGetVectorMacro(SampleRate, int, 3); 00074 00075 protected: 00076 vtkExtractVOI(); 00077 ~vtkExtractVOI() {}; 00078 00079 virtual void ComputeInputUpdateExtent(int inExt[6], int outExt[6]); 00080 void ExecuteInformation(vtkImageData *input, vtkImageData *output); 00081 void ExecuteInformation(){this->vtkImageToImageFilter::ExecuteInformation();}; 00082 virtual void ExecuteData(vtkDataObject *); 00083 00084 int VOI[6]; 00085 int SampleRate[3]; 00086 private: 00087 vtkExtractVOI(const vtkExtractVOI&); // Not implemented. 00088 void operator=(const vtkExtractVOI&); // Not implemented. 00089 }; 00090 00091 #endif 00092 00093