VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkImagePermute.h 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 "vtkImagingCoreModule.h" // For export macro 00033 #include "vtkImageReslice.h" 00034 00035 class VTKIMAGINGCORE_EXPORT vtkImagePermute : public vtkImageReslice 00036 { 00037 public: 00038 static vtkImagePermute *New(); 00039 vtkTypeMacro(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