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

Imaging/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 =========================================================================*/
00025 #ifndef __vtkImageFlip_h
00026 #define __vtkImageFlip_h
00027 
00028 
00029 #include "vtkImageReslice.h"
00030 
00031 class VTK_IMAGING_EXPORT vtkImageFlip : public vtkImageReslice
00032 {
00033 public:
00034   static vtkImageFlip *New();
00035 
00036   vtkTypeRevisionMacro(vtkImageFlip,vtkImageReslice);
00037   void PrintSelf(ostream& os, vtkIndent indent);
00038 
00040 
00042   vtkSetMacro(FilteredAxis, int);
00043   vtkGetMacro(FilteredAxis, int);
00045 
00047 
00060   vtkSetMacro(FlipAboutOrigin, int);
00061   vtkGetMacro(FlipAboutOrigin, int);
00062   vtkBooleanMacro(FlipAboutOrigin, int);
00064 
00066   void SetFilteredAxes(int axis) { this->SetFilteredAxis(axis); };
00067   
00069 
00072   vtkSetMacro(PreserveImageExtent, int);
00073   vtkGetMacro(PreserveImageExtent, int);
00074   vtkBooleanMacro(PreserveImageExtent, int);
00076   
00077 protected:
00078   vtkImageFlip();
00079   ~vtkImageFlip() {};
00080 
00081   void ExecuteInformation(vtkImageData *input, vtkImageData *output);
00082   void ExecuteInformation() {
00083     this->Superclass::ExecuteInformation(); };
00084 
00085   int FilteredAxis;
00086   int FlipAboutOrigin;
00087   int PreserveImageExtent;
00088   
00089 private:
00090   vtkImageFlip(const vtkImageFlip&);  // Not implemented.
00091   void operator=(const vtkImageFlip&);  // Not implemented.
00092 };
00093 
00094 #endif
00095 
00096 
00097