VTK
dox
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
27
#include "vtkImagingCoreModule.h"
// For export macro
28
#include "
vtkImageReslice.h
"
29
30
class
VTKIMAGINGCORE_EXPORT
vtkImageFlip
:
public
vtkImageReslice
31
{
32
public
:
33
static
vtkImageFlip
*
New
();
34
35
vtkTypeMacro(
vtkImageFlip
,
vtkImageReslice
);
36
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
37
39
43
vtkSetMacro(FilteredAxis,
int
);
44
vtkGetMacro(FilteredAxis,
int
);
46
48
64
vtkSetMacro(FlipAboutOrigin,
vtkTypeBool
);
65
vtkGetMacro(FlipAboutOrigin,
vtkTypeBool
);
66
vtkBooleanMacro(FlipAboutOrigin,
vtkTypeBool
);
68
73
void
SetFilteredAxes
(
int
axis) { this->SetFilteredAxis(axis); }
74
int
GetFilteredAxes
() {
return
this->GetFilteredAxis(); }
75
77
82
vtkSetMacro(PreserveImageExtent,
vtkTypeBool
);
83
vtkGetMacro(PreserveImageExtent,
vtkTypeBool
);
84
vtkBooleanMacro(PreserveImageExtent,
vtkTypeBool
);
86
87
protected
:
88
vtkImageFlip
();
89
~vtkImageFlip
()
override
{}
90
91
int
RequestInformation
(
vtkInformation
*,
92
vtkInformationVector
**,
93
vtkInformationVector
*)
override
;
94
95
int
FilteredAxis
;
96
vtkTypeBool
FlipAboutOrigin
;
97
vtkTypeBool
PreserveImageExtent
;
98
99
private
:
100
vtkImageFlip
(
const
vtkImageFlip
&) =
delete
;
101
void
operator=(
const
vtkImageFlip
&) =
delete
;
102
};
103
104
#endif
vtkImageFlip::~vtkImageFlip
~vtkImageFlip() override
Definition:
vtkImageFlip.h:89
vtkImageReslice.h
vtkImageFlip::FilteredAxis
int FilteredAxis
Definition:
vtkImageFlip.h:95
vtkImageFlip::PreserveImageExtent
vtkTypeBool PreserveImageExtent
Definition:
vtkImageFlip.h:97
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:30
vtkImageFlip::SetFilteredAxes
void SetFilteredAxes(int axis)
Keep the mis-named Axes variations around for compatibility with old scripts.
Definition:
vtkImageFlip.h:73
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:71
vtkImageFlip::FlipAboutOrigin
vtkTypeBool FlipAboutOrigin
Definition:
vtkImageFlip.h:96
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:80
vtkImageFlip::GetFilteredAxes
int GetFilteredAxes()
Definition:
vtkImageFlip.h:74
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
Generated by
1.8.16