VTK
9.0.1
Imaging
Core
vtkImageFlip.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageFlip.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
=========================================================================*/
23
#ifndef vtkImageFlip_h
24
#define vtkImageFlip_h
25
26
#include "
vtkImageReslice.h
"
27
#include "vtkImagingCoreModule.h"
// For export macro
28
29
class
VTKIMAGINGCORE_EXPORT
vtkImageFlip
:
public
vtkImageReslice
30
{
31
public
:
32
static
vtkImageFlip
*
New
();
33
34
vtkTypeMacro(
vtkImageFlip
,
vtkImageReslice
);
35
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
36
38
42
vtkSetMacro(FilteredAxis,
int
);
43
vtkGetMacro(FilteredAxis,
int
);
45
47
63
vtkSetMacro(FlipAboutOrigin,
vtkTypeBool
);
64
vtkGetMacro(FlipAboutOrigin,
vtkTypeBool
);
65
vtkBooleanMacro(FlipAboutOrigin,
vtkTypeBool
);
67
72
void
SetFilteredAxes
(
int
axis) { this->SetFilteredAxis(axis); }
73
int
GetFilteredAxes
() {
return
this->GetFilteredAxis(); }
74
76
81
vtkSetMacro(PreserveImageExtent,
vtkTypeBool
);
82
vtkGetMacro(PreserveImageExtent,
vtkTypeBool
);
83
vtkBooleanMacro(PreserveImageExtent,
vtkTypeBool
);
85
86
protected
:
87
vtkImageFlip
();
88
~vtkImageFlip
()
override
{}
89
90
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
91
92
int
FilteredAxis
;
93
vtkTypeBool
FlipAboutOrigin
;
94
vtkTypeBool
PreserveImageExtent
;
95
96
private
:
97
vtkImageFlip
(
const
vtkImageFlip
&) =
delete
;
98
void
operator=(
const
vtkImageFlip
&) =
delete
;
99
};
100
101
#endif
vtkImageFlip::~vtkImageFlip
~vtkImageFlip() override
Definition:
vtkImageFlip.h:88
vtkImageReslice.h
vtkImageFlip::FilteredAxis
int FilteredAxis
Definition:
vtkImageFlip.h:92
vtkImageFlip::PreserveImageExtent
vtkTypeBool PreserveImageExtent
Definition:
vtkImageFlip.h:94
vtkImageReslice::New
static vtkImageReslice * New()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:35
vtkImageReslice::RequestInformation
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkImageReslice::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageFlip
This flips an axis of an image. Right becomes left ...
Definition:
vtkImageFlip.h:29
vtkImageFlip::SetFilteredAxes
void SetFilteredAxes(int axis)
Keep the mis-named Axes variations around for compatibility with old scripts.
Definition:
vtkImageFlip.h:72
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkImageReslice
Reslices a volume along a new set of axes.
Definition:
vtkImageReslice.h:70
vtkImageFlip::FlipAboutOrigin
vtkTypeBool FlipAboutOrigin
Definition:
vtkImageFlip.h:93
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:73
vtkImageFlip::GetFilteredAxes
int GetFilteredAxes()
Definition:
vtkImageFlip.h:73
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
Generated on Thu Jun 24 2021 15:17:26 for VTK by
1.8.17