Imaging/vtkExtractVOI.h Source File

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

# Imaging/vtkExtractVOI.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkExtractVOI.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00062 #ifndef __vtkExtractVOI_h
    00063 #define __vtkExtractVOI_h
    00064
    00065 #include "vtkImageToImageFilter.h"
    00066
    00067 class VTK_IMAGING_EXPORT vtkExtractVOI : public vtkImageToImageFilter
    00068 {
    00069 public:
    00070   vtkTypeRevisionMacro(vtkExtractVOI,vtkImageToImageFilter);
    00071   void PrintSelf(ostream& os, vtkIndent indent);
    00072
    00074   static vtkExtractVOI *New();
    00075
    00077
    00080   vtkSetVector6Macro(VOI,int);
    00081   vtkGetVectorMacro(VOI,int,6);
    00083
    00085
    00089   vtkSetVector3Macro(SampleRate, int);
    00090   vtkGetVectorMacro(SampleRate, int, 3);
    00092
    00093 protected:
    00094   vtkExtractVOI();
    00095   ~vtkExtractVOI() {};
    00096
    00097   virtual void ComputeInputUpdateExtent(int inExt[6], int outExt[6]);
    00098   void ExecuteInformation(vtkImageData *input, vtkImageData *output);
    00099   void ExecuteInformation(){this->vtkImageToImageFilter::ExecuteInformation();};
    00100   virtual void ExecuteData(vtkDataObject *);
    00101
    00102   int VOI[6];
    00103   int SampleRate[3];
    00104 private:
    00105   vtkExtractVOI(const vtkExtractVOI&);  // Not implemented.
    00106   void operator=(const vtkExtractVOI&);  // Not implemented.
    00107 };
    00108
    00109 #endif
    00110
    00111