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

vtkImageFlip.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageFlip.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 __vtkImageFlip_h
00038 #define __vtkImageFlip_h
00039 
00040 
00041 #include "vtkImageReslice.h"
00042 
00043 class VTK_IMAGING_EXPORT vtkImageFlip : public vtkImageReslice
00044 {
00045 public:
00046   static vtkImageFlip *New();
00047 
00048   vtkTypeRevisionMacro(vtkImageFlip,vtkImageReslice);
00049   void PrintSelf(ostream& os, vtkIndent indent);
00050 
00052 
00054   vtkSetMacro(FilteredAxis, int);
00055   vtkGetMacro(FilteredAxis, int);
00057 
00059 
00072   vtkSetMacro(FlipAboutOrigin, int);
00073   vtkGetMacro(FlipAboutOrigin, int);
00074   vtkBooleanMacro(FlipAboutOrigin, int);
00076 
00078   void SetFilteredAxes(int axis) { this->SetFilteredAxis(axis); };
00079   
00081 
00084   vtkSetMacro(PreserveImageExtent, int);
00085   vtkGetMacro(PreserveImageExtent, int);
00086   vtkBooleanMacro(PreserveImageExtent, int);
00088   
00089 protected:
00090   vtkImageFlip();
00091   ~vtkImageFlip() {};
00092 
00093   void ExecuteInformation(vtkImageData *input, vtkImageData *output);
00094   void ExecuteInformation() {
00095     this->Superclass::ExecuteInformation(); };
00096 
00097   int FilteredAxis;
00098   int FlipAboutOrigin;
00099   int PreserveImageExtent;
00100   
00101 private:
00102   vtkImageFlip(const vtkImageFlip&);  // Not implemented.
00103   void operator=(const vtkImageFlip&);  // Not implemented.
00104 };
00105 
00106 #endif
00107 
00108 
00109