VTK  9.3.20240419
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
46 #ifndef vtkImagePermute_h
47 #define vtkImagePermute_h
48 
49 #include "vtkImageReslice.h"
50 #include "vtkImagingCoreModule.h" // For export macro
51 
52 VTK_ABI_NAMESPACE_BEGIN
53 class VTKIMAGINGCORE_EXPORT vtkImagePermute : public vtkImageReslice
54 {
55 public:
56  static vtkImagePermute* New();
58 
59  void PrintSelf(ostream& os, vtkIndent indent) override;
60 
62 
65  void SetFilteredAxes(int x, int y, int z);
66  void SetFilteredAxes(const int xyz[3]) { this->SetFilteredAxes(xyz[0], xyz[1], xyz[2]); }
67  vtkGetVector3Macro(FilteredAxes, int);
69 
70 protected:
72  ~vtkImagePermute() override = default;
73 
74  int FilteredAxes[3];
75 
76 private:
77  vtkImagePermute(const vtkImagePermute&) = delete;
78  void operator=(const vtkImagePermute&) = delete;
79 };
80 
81 VTK_ABI_NAMESPACE_END
82 #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:108