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

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 =========================================================================*/
00058 #ifndef __vtkExtractVOI_h
00059 #define __vtkExtractVOI_h
00060 
00061 #include "vtkImageAlgorithm.h"
00062 
00063 class VTK_IMAGING_EXPORT vtkExtractVOI : public vtkImageAlgorithm
00064 {
00065 public:
00066   vtkTypeRevisionMacro(vtkExtractVOI,vtkImageAlgorithm);
00067   void PrintSelf(ostream& os, vtkIndent indent);
00068 
00070   static vtkExtractVOI *New();
00071 
00073 
00076   vtkSetVector6Macro(VOI,int);
00077   vtkGetVectorMacro(VOI,int,6);
00079 
00081 
00085   vtkSetVector3Macro(SampleRate, int);
00086   vtkGetVectorMacro(SampleRate, int, 3);
00088 
00089 protected:
00090   vtkExtractVOI();
00091   ~vtkExtractVOI() {};
00092 
00093   virtual void RequestUpdateExtent (vtkInformation *, 
00094                                     vtkInformationVector *, 
00095                                     vtkInformationVector *);
00096   void ExecuteInformation (vtkInformation *, 
00097                            vtkInformationVector *, 
00098                            vtkInformationVector *);
00099   
00100   virtual void RequestData(vtkInformation *request, 
00101                            vtkInformationVector *inputVector, 
00102                            vtkInformationVector *outputVector);
00103 
00104   int VOI[6];
00105   int SampleRate[3];
00106 private:
00107   vtkExtractVOI(const vtkExtractVOI&);  // Not implemented.
00108   void operator=(const vtkExtractVOI&);  // Not implemented.
00109 };
00110 
00111 #endif
00112 
00113