Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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 =========================================================================*/
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   virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00082 
00083   int FilteredAxis;
00084   int FlipAboutOrigin;
00085   int PreserveImageExtent;
00086   
00087 private:
00088   vtkImageFlip(const vtkImageFlip&);  // Not implemented.
00089   void operator=(const vtkImageFlip&);  // Not implemented.
00090 };
00091 
00092 #endif
00093 
00094 
00095 

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