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 =========================================================================*/ 00041 #ifndef __vtkImagePermute_h 00042 #define __vtkImagePermute_h 00043 00044 00045 #include "vtkImageReslice.h" 00046 00047 class VTK_IMAGING_EXPORT vtkImagePermute : public vtkImageReslice 00048 { 00049 public: 00050 static vtkImagePermute *New(); 00051 vtkTypeRevisionMacro(vtkImagePermute,vtkImageReslice); 00052 00053 void PrintSelf(ostream& os, vtkIndent indent); 00054 00056 00057 void SetFilteredAxes(int x, int y, int z); 00058 void SetFilteredAxes(const int xyz[3]) { 00059 this->SetFilteredAxes(xyz[0], xyz[1], xyz[2]); }; 00060 vtkGetVector3Macro(FilteredAxes, int); 00062 00063 protected: 00064 vtkImagePermute(); 00065 ~vtkImagePermute() {}; 00066 00067 int FilteredAxes[3]; 00068 00069 private: 00070 vtkImagePermute(const vtkImagePermute&); // Not implemented. 00071 void operator=(const vtkImagePermute&); // Not implemented. 00072 }; 00073 00074 #endif 00075 00076 00077