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
=========================================================================*/
26
#ifndef vtkImageFlip_h
27
#define vtkImageFlip_h
28
29
30
#include "vtkImagingCoreModule.h"
// For export macro
31
#include "
vtkImageReslice.h
"
32
33
class
VTKIMAGINGCORE_EXPORT
vtkImageFlip
:
public
vtkImageReslice
34
{
35
public
:
36
static
vtkImageFlip
*
New
();
37
38
vtkTypeMacro(
vtkImageFlip
,
vtkImageReslice
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
40
42
46
vtkSetMacro(FilteredAxis,
int
);
47
vtkGetMacro(FilteredAxis,
int
);
49
51
67
vtkSetMacro(FlipAboutOrigin,
vtkTypeBool
);
68
vtkGetMacro(FlipAboutOrigin,
vtkTypeBool
);
69
vtkBooleanMacro(FlipAboutOrigin,
vtkTypeBool
);
71
76
void
SetFilteredAxes
(
int
axis) { this->SetFilteredAxis(axis); }
77
int
GetFilteredAxes
() {
return
this->GetFilteredAxis(); }
78
80
85
vtkSetMacro(PreserveImageExtent,
vtkTypeBool
);
86
vtkGetMacro(PreserveImageExtent,
vtkTypeBool
);
87
vtkBooleanMacro(PreserveImageExtent,
vtkTypeBool
);
89
90
protected
:
91
vtkImageFlip
();
92
~vtkImageFlip
()
override
{}
93
94
int
RequestInformation
(
vtkInformation
*,
95
vtkInformationVector
**,
96
vtkInformationVector
*)
override
;
97
98
int
FilteredAxis
;
99
vtkTypeBool
FlipAboutOrigin
;
100
vtkTypeBool
PreserveImageExtent
;
101
102
private
:
103
vtkImageFlip
(
const
vtkImageFlip
&) =
delete
;
104
void
operator=(
const
vtkImageFlip
&) =
delete
;
105
};
106
107
#endif
vtkImageFlip::~vtkImageFlip
~vtkImageFlip() override
Definition:
vtkImageFlip.h:92
vtkImageReslice.h
vtkImageFlip::FilteredAxis
int FilteredAxis
Definition:
vtkImageFlip.h:98
vtkImageFlip::PreserveImageExtent
vtkTypeBool PreserveImageExtent
Definition:
vtkImageFlip.h:100
vtkImageReslice::New
static vtkImageReslice * New()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
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:33
vtkImageFlip::SetFilteredAxes
void SetFilteredAxes(int axis)
Keep the mis-named Axes variations around for compatibility with old scripts.
Definition:
vtkImageFlip.h:76
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkImageReslice
Reslices a volume along a new set of axes.
Definition:
vtkImageReslice.h:77
vtkImageFlip::FlipAboutOrigin
vtkTypeBool FlipAboutOrigin
Definition:
vtkImageFlip.h:99
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkImageFlip::GetFilteredAxes
int GetFilteredAxes()
Definition:
vtkImageFlip.h:77
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
Generated by
1.8.16