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 "vtkImagingCoreModule.h" // For export macro
33 #include "vtkImageReslice.h"
34 
36 {
37 public:
38  static vtkImagePermute *New();
40 
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
45  void SetFilteredAxes(int x, int y, int z);
46  void SetFilteredAxes(const int xyz[3]) {
47  this->SetFilteredAxes(xyz[0], xyz[1], xyz[2]); };
48  vtkGetVector3Macro(FilteredAxes, int);
50 
51 protected:
54 
55  int FilteredAxes[3];
56 
57 private:
58  vtkImagePermute(const vtkImagePermute&); // Not implemented.
59  void operator=(const vtkImagePermute&); // Not implemented.
60 };
61 
62 #endif
63 
64 
65 
void SetFilteredAxes(const int xyz[3])
static vtkImageReslice * New()
a simple class to control print indentation
Definition: vtkIndent.h:38
Permutes axes of input.
#define VTKIMAGINGCORE_EXPORT
Reslices a volume along a new set of axes.
virtual void PrintSelf(ostream &os, vtkIndent indent)