VTK
vtkImagePermute.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImagePermute.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
28 #ifndef __vtkImagePermute_h
29 #define __vtkImagePermute_h
30 
31 
32 #include "vtkImageReslice.h"
33 
35 {
36 public:
37  static vtkImagePermute *New();
39 
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
44  void SetFilteredAxes(int x, int y, int z);
45  void SetFilteredAxes(const int xyz[3]) {
46  this->SetFilteredAxes(xyz[0], xyz[1], xyz[2]); };
47  vtkGetVector3Macro(FilteredAxes, int);
49 
50 protected:
53 
54  int FilteredAxes[3];
55 
56 private:
57  vtkImagePermute(const vtkImagePermute&); // Not implemented.
58  void operator=(const vtkImagePermute&); // Not implemented.
59 };
60 
61 #endif
62 
63 
64