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 =========================================================================*/
29 #ifndef vtkImagePermute_h
30 #define vtkImagePermute_h
31 
32 
33 #include "vtkImagingCoreModule.h" // For export macro
34 #include "vtkImageReslice.h"
35 
36 class VTKIMAGINGCORE_EXPORT vtkImagePermute : public vtkImageReslice
37 {
38 public:
39  static vtkImagePermute *New();
41 
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
45 
48  void SetFilteredAxes(int x, int y, int z);
49  void SetFilteredAxes(const int xyz[3]) {
50  this->SetFilteredAxes(xyz[0], xyz[1], xyz[2]); };
51  vtkGetVector3Macro(FilteredAxes, int);
53 
54 protected:
56  ~vtkImagePermute() override {}
57 
58  int FilteredAxes[3];
59 
60 private:
61  vtkImagePermute(const vtkImagePermute&) = delete;
62  void operator=(const vtkImagePermute&) = delete;
63 };
64 
65 #endif
66 
67 
68 
void SetFilteredAxes(const int xyz[3])
The filtered axes are the input axes that get relabeled to X,Y,Z.
~vtkImagePermute() override
static vtkImageReslice * New()
a simple class to control print indentation
Definition: vtkIndent.h:39
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Permutes axes of input.
Reslices a volume along a new set of axes.