VTK  9.1.0
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=========================================================================*/
35#ifndef vtkImagePermute_h
36#define vtkImagePermute_h
37
38#include "vtkImageReslice.h"
39#include "vtkImagingCoreModule.h" // For export macro
40
41class VTKIMAGINGCORE_EXPORT vtkImagePermute : public vtkImageReslice
42{
43public:
46
47 void PrintSelf(ostream& os, vtkIndent indent) override;
48
50
53 void SetFilteredAxes(int x, int y, int z);
54 void SetFilteredAxes(const int xyz[3]) { this->SetFilteredAxes(xyz[0], xyz[1], xyz[2]); }
55 vtkGetVector3Macro(FilteredAxes, int);
57
58protected:
60 ~vtkImagePermute() override = default;
61
62 int FilteredAxes[3];
63
64private:
65 vtkImagePermute(const vtkImagePermute&) = delete;
66 void operator=(const vtkImagePermute&) = delete;
67};
68
69#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:43