VTK  9.2.6
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=========================================================================*/
25
26#ifndef vtkImagePermute_h
27#define vtkImagePermute_h
28
29#include "vtkImageReslice.h"
30#include "vtkImagingCoreModule.h" // For export macro
31
32class VTKIMAGINGCORE_EXPORT vtkImagePermute : public vtkImageReslice
33{
34public:
37
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
41
44 void SetFilteredAxes(int x, int y, int z);
45 void SetFilteredAxes(const int xyz[3]) { this->SetFilteredAxes(xyz[0], xyz[1], xyz[2]); }
46 vtkGetVector3Macro(FilteredAxes, int);
48
49protected:
51 ~vtkImagePermute() override = default;
52
54
55private:
56 vtkImagePermute(const vtkImagePermute&) = delete;
57 void operator=(const vtkImagePermute&) = delete;
58};
59
60#endif
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.
a simple class to control print indentation
Definition vtkIndent.h:34