VTK  9.0.1
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 =========================================================================*/
26 #ifndef vtkImagePermute_h
27 #define vtkImagePermute_h
28 
29 #include "vtkImageReslice.h"
30 #include "vtkImagingCoreModule.h" // For export macro
31 
32 class VTKIMAGINGCORE_EXPORT vtkImagePermute : public vtkImageReslice
33 {
34 public:
35  static vtkImagePermute* New();
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 
49 protected:
51  ~vtkImagePermute() override {}
52 
53  int FilteredAxes[3];
54 
55 private:
56  vtkImagePermute(const vtkImagePermute&) = delete;
57  void operator=(const vtkImagePermute&) = delete;
58 };
59 
60 #endif
vtkImageReslice.h
vtkImageReslice::New
static vtkImageReslice * New()
vtkImageReslice::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImagePermute::~vtkImagePermute
~vtkImagePermute() override
Definition: vtkImagePermute.h:51
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkImagePermute::SetFilteredAxes
void SetFilteredAxes(const int xyz[3])
Definition: vtkImagePermute.h:45
vtkImageReslice
Reslices a volume along a new set of axes.
Definition: vtkImageReslice.h:70
vtkImagePermute
Permutes axes of input.
Definition: vtkImagePermute.h:32