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