VTK  9.3.0
vtkImagePermute.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
17 #ifndef vtkImagePermute_h
18 #define vtkImagePermute_h
19 
20 #include "vtkImageReslice.h"
21 #include "vtkImagingCoreModule.h" // For export macro
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 class VTKIMAGINGCORE_EXPORT vtkImagePermute : public vtkImageReslice
25 {
26 public:
27  static vtkImagePermute* New();
29 
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
33 
36  void SetFilteredAxes(int x, int y, int z);
37  void SetFilteredAxes(const int xyz[3]) { this->SetFilteredAxes(xyz[0], xyz[1], xyz[2]); }
38  vtkGetVector3Macro(FilteredAxes, int);
40 
41 protected:
43  ~vtkImagePermute() override = default;
44 
45  int FilteredAxes[3];
46 
47 private:
48  vtkImagePermute(const vtkImagePermute&) = delete;
49  void operator=(const vtkImagePermute&) = delete;
50 };
51 
52 VTK_ABI_NAMESPACE_END
53 #endif
Permutes axes of input.
void SetFilteredAxes(int x, int y, int z)
The filtered axes are the input axes that get relabeled to X,Y,Z.
~vtkImagePermute() override=default
static vtkImagePermute * New()
void SetFilteredAxes(const int xyz[3])
The filtered axes are the input axes that get relabeled to X,Y,Z.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Reslices a volume along a new set of axes.
a simple class to control print indentation
Definition: vtkIndent.h:29