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
26#ifndef vtkImagePermute_h
27#define vtkImagePermute_h
28
29#include "vtkImageReslice.h"
30#include "vtkImagingCoreModule.h" // For export macro
31
32VTK_ABI_NAMESPACE_BEGIN
33class VTKIMAGINGCORE_EXPORT vtkImagePermute : public vtkImageReslice
34{
35public:
38
39 void PrintSelf(ostream& os, vtkIndent indent) override;
40
42
45 void SetFilteredAxes(int x, int y, int z);
46 void SetFilteredAxes(const int xyz[3]) { this->SetFilteredAxes(xyz[0], xyz[1], xyz[2]); }
47 vtkGetVector3Macro(FilteredAxes, int);
49
50protected:
52 ~vtkImagePermute() override = default;
53
54 int FilteredAxes[3];
55
56private:
57 vtkImagePermute(const vtkImagePermute&) = delete;
58 void operator=(const vtkImagePermute&) = delete;
59};
60
61VTK_ABI_NAMESPACE_END
62#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:38