Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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 =========================================================================*/
00025 #ifndef __vtkImageTranslateExtent_h
00026 #define __vtkImageTranslateExtent_h
00027 
00028 #include "vtkImageAlgorithm.h"
00029 
00030 class VTK_IMAGING_EXPORT vtkImageTranslateExtent : public vtkImageAlgorithm
00031 {
00032 public:
00033   static vtkImageTranslateExtent *New();
00034   vtkTypeRevisionMacro(vtkImageTranslateExtent,vtkImageAlgorithm);
00035   void PrintSelf(ostream& os, vtkIndent indent);
00036 
00038 
00039   vtkSetVector3Macro(Translation, int);
00040   vtkGetVector3Macro(Translation, int);
00042 
00043 protected:
00044   vtkImageTranslateExtent();
00045   ~vtkImageTranslateExtent() {};
00046 
00047   int Translation[3];
00048   
00049   virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00050   virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00051   
00052   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00053 
00054 private:
00055   vtkImageTranslateExtent(const vtkImageTranslateExtent&);  // Not implemented.
00056   void operator=(const vtkImageTranslateExtent&);  // Not implemented.
00057 };
00058 
00059 #endif

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