VTK  9.3.20240425
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
52VTK_ABI_NAMESPACE_BEGIN
53class VTKIMAGINGCORE_EXPORT vtkImagePermute : public vtkImageReslice
54{
55public:
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
70protected:
72 ~vtkImagePermute() override = default;
73
74 int FilteredAxes[3];
75
76private:
77 vtkImagePermute(const vtkImagePermute&) = delete;
78 void operator=(const vtkImagePermute&) = delete;
79};
80
81VTK_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