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

vtkImageTranslateExtent.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageTranslateExtent.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 =========================================================================*/
00037 #ifndef __vtkImageTranslateExtent_h
00038 #define __vtkImageTranslateExtent_h
00039 
00040 #include "vtkImageToImageFilter.h"
00041 
00042 class VTK_IMAGING_EXPORT vtkImageTranslateExtent : public vtkImageToImageFilter
00043 {
00044 public:
00045   static vtkImageTranslateExtent *New();
00046   vtkTypeRevisionMacro(vtkImageTranslateExtent,vtkImageToImageFilter);
00047   void PrintSelf(ostream& os, vtkIndent indent);
00048 
00050 
00051   vtkSetVector3Macro(Translation, int);
00052   vtkGetVector3Macro(Translation, int);
00054 
00055 protected:
00056   vtkImageTranslateExtent();
00057   ~vtkImageTranslateExtent() {};
00058 
00059   int Translation[3];
00060   
00061   void ComputeInputUpdateExtent(int extent[6], int wholeExtent[6]);
00062   void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
00063   void ExecuteInformation() {
00064     this->vtkImageToImageFilter::ExecuteInformation(); };
00065   void ExecuteData(vtkDataObject *data);
00066 private:
00067   vtkImageTranslateExtent(const vtkImageTranslateExtent&);  // Not implemented.
00068   void operator=(const vtkImageTranslateExtent&);  // Not implemented.
00069 };
00070 
00071 #endif
00072 
00073 
00074