VTK
9.1.0
Imaging
Core
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
=========================================================================*/
55
#ifndef vtkImagePermute_h
56
#define vtkImagePermute_h
57
58
#include "
vtkImageReslice.h
"
59
#include "vtkImagingCoreModule.h"
// For export macro
60
61
class
VTKIMAGINGCORE_EXPORT
vtkImagePermute
:
public
vtkImageReslice
62
{
63
public
:
64
static
vtkImagePermute
*
New
();
65
vtkTypeMacro(
vtkImagePermute
,
vtkImageReslice
);
66
67
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
68
70
73
void
SetFilteredAxes
(
int
x,
int
y,
int
z);
74
void
SetFilteredAxes
(
const
int
xyz[3]) { this->
SetFilteredAxes
(xyz[0], xyz[1], xyz[2]); }
75
vtkGetVector3Macro(FilteredAxes,
int
);
77
78
protected
:
79
vtkImagePermute
();
80
~vtkImagePermute
()
override
=
default
;
81
82
int
FilteredAxes[3];
83
84
private
:
85
vtkImagePermute
(
const
vtkImagePermute
&) =
delete
;
86
void
operator=(
const
vtkImagePermute
&) =
delete
;
87
};
88
89
#endif
vtkImageReslice.h
vtkImagePermute::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImagePermute::SetFilteredAxes
void SetFilteredAxes(int x, int y, int z)
The filtered axes are the input axes that get relabeled to X,Y,Z.
vtkImagePermute::~vtkImagePermute
~vtkImagePermute() override=default
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:113
vtkImagePermute::SetFilteredAxes
void SetFilteredAxes(const int xyz[3])
The filtered axes are the input axes that get relabeled to X,Y,Z.
Definition:
vtkImagePermute.h:74
vtkImageReslice
Reslices a volume along a new set of axes.
Definition:
vtkImageReslice.h:110
vtkImagePermute
Permutes axes of input.
Definition:
vtkImagePermute.h:62
vtkImagePermute::New
static vtkImagePermute * New()
vtkImagePermute::vtkImagePermute
vtkImagePermute()
Generated on Fri Nov 5 2021 00:11:08 for VTK by
1.8.20