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

vtkImagePermute.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImagePermute.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 __vtkImagePermute_h
00030 #define __vtkImagePermute_h
00031 
00032 
00033 #include "vtkImageReslice.h"
00034 
00035 class VTK_IMAGING_EXPORT vtkImagePermute : public vtkImageReslice
00036 {
00037 public:
00038   static vtkImagePermute *New();
00039   vtkTypeRevisionMacro(vtkImagePermute,vtkImageReslice);
00040 
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00044 
00045   void SetFilteredAxes(int x, int y, int z);
00046   void SetFilteredAxes(const int xyz[3]) { 
00047     this->SetFilteredAxes(xyz[0], xyz[1], xyz[2]); };
00048   vtkGetVector3Macro(FilteredAxes, int);
00050   
00051 protected:
00052   vtkImagePermute();
00053   ~vtkImagePermute() {};
00054 
00055   int FilteredAxes[3];
00056 
00057 private:
00058   vtkImagePermute(const vtkImagePermute&);  // Not implemented.
00059   void operator=(const vtkImagePermute&);  // Not implemented.
00060 };
00061 
00062 #endif
00063 
00064 
00065