Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound 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   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 =========================================================================*/
00041 #ifndef __vtkImageFlip_h
00042 #define __vtkImageFlip_h
00043 
00044 
00045 #include "vtkImageReslice.h"
00046 
00047 class VTK_IMAGING_EXPORT vtkImageFlip : public vtkImageReslice
00048 {
00049 public:
00050   static vtkImageFlip *New();
00051 
00052   vtkTypeRevisionMacro(vtkImageFlip,vtkImageReslice);
00053   void PrintSelf(ostream& os, vtkIndent indent);
00054 
00056 
00058   vtkSetMacro(FilteredAxis, int);
00059   vtkGetMacro(FilteredAxis, int);
00061 
00063 
00076   vtkSetMacro(FlipAboutOrigin, int);
00077   vtkGetMacro(FlipAboutOrigin, int);
00078   vtkBooleanMacro(FlipAboutOrigin, int);
00080 
00082   void SetFilteredAxes(int axis) { this->SetFilteredAxis(axis); };
00083   
00085 
00088   vtkSetMacro(PreserveImageExtent, int);
00089   vtkGetMacro(PreserveImageExtent, int);
00090   vtkBooleanMacro(PreserveImageExtent, int);
00092   
00093 protected:
00094   vtkImageFlip();
00095   ~vtkImageFlip() {};
00096 
00097   void ExecuteInformation(vtkImageData *input, vtkImageData *output);
00098   void ExecuteInformation() {
00099     this->Superclass::ExecuteInformation(); };
00100 
00101   int FilteredAxis;
00102   int FlipAboutOrigin;
00103   int PreserveImageExtent;
00104   
00105 private:
00106   vtkImageFlip(const vtkImageFlip&);  // Not implemented.
00107   void operator=(const vtkImageFlip&);  // Not implemented.
00108 };
00109 
00110 #endif
00111 
00112 
00113