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

dox/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 =========================================================================*/ 00029 #ifndef __vtkImageFlip_h 00030 #define __vtkImageFlip_h 00031 00032 00033 #include "vtkImageReslice.h" 00034 00035 class VTK_IMAGING_EXPORT vtkImageFlip : public vtkImageReslice 00036 { 00037 public: 00038 static vtkImageFlip *New(); 00039 00040 vtkTypeRevisionMacro(vtkImageFlip,vtkImageReslice); 00041 void PrintSelf(ostream& os, vtkIndent indent); 00042 00044 00046 vtkSetMacro(FilteredAxis, int); 00047 vtkGetMacro(FilteredAxis, int); 00049 00051 00064 vtkSetMacro(FlipAboutOrigin, int); 00065 vtkGetMacro(FlipAboutOrigin, int); 00066 vtkBooleanMacro(FlipAboutOrigin, int); 00068 00070 void SetFilteredAxes(int axis) { this->SetFilteredAxis(axis); }; 00071 00073 00076 vtkSetMacro(PreserveImageExtent, int); 00077 vtkGetMacro(PreserveImageExtent, int); 00078 vtkBooleanMacro(PreserveImageExtent, int); 00080 00081 protected: 00082 vtkImageFlip(); 00083 ~vtkImageFlip() {}; 00084 00085 void ExecuteInformation(vtkImageData *input, vtkImageData *output); 00086 void ExecuteInformation() { 00087 this->Superclass::ExecuteInformation(); }; 00088 00089 int FilteredAxis; 00090 int FlipAboutOrigin; 00091 int PreserveImageExtent; 00092 00093 private: 00094 vtkImageFlip(const vtkImageFlip&); // Not implemented. 00095 void operator=(const vtkImageFlip&); // Not implemented. 00096 }; 00097 00098 #endif 00099 00100 00101