VTK
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 =========================================================================*/
25 #ifndef vtkImageFlip_h
26 #define vtkImageFlip_h
27 
28 
29 #include "vtkImagingCoreModule.h" // For export macro
30 #include "vtkImageReslice.h"
31 
33 {
34 public:
35  static vtkImageFlip *New();
36 
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41 
43  vtkSetMacro(FilteredAxis, int);
44  vtkGetMacro(FilteredAxis, int);
46 
48 
61  vtkSetMacro(FlipAboutOrigin, int);
62  vtkGetMacro(FlipAboutOrigin, int);
63  vtkBooleanMacro(FlipAboutOrigin, int);
65 
67 
69  void SetFilteredAxes(int axis) { this->SetFilteredAxis(axis); }
70  int GetFilteredAxes() { return this->GetFilteredAxis(); }
72 
74 
77  vtkSetMacro(PreserveImageExtent, int);
78  vtkGetMacro(PreserveImageExtent, int);
79  vtkBooleanMacro(PreserveImageExtent, int);
81 
82 protected:
85 
87 
91 
92 private:
93  vtkImageFlip(const vtkImageFlip&); // Not implemented.
94  void operator=(const vtkImageFlip&); // Not implemented.
95 };
96 
97 #endif
vtkImageReslice.h
vtkImageFlip::FilteredAxis
int FilteredAxis
Definition: vtkImageFlip.h:88
vtkImageFlip::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkImageFlip::FlipAboutOrigin
int FlipAboutOrigin
Definition: vtkImageFlip.h:89
vtkImageFlip::PreserveImageExtent
int PreserveImageExtent
Definition: vtkImageFlip.h:90
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkImageFlip
This flips an axis of an image. Right becomes left ...
Definition: vtkImageFlip.h:33
vtkImageFlip::SetFilteredAxes
void SetFilteredAxes(int axis)
Definition: vtkImageFlip.h:69
vtkImageFlip::vtkImageFlip
vtkImageFlip()
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
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkImageFlip::~vtkImageFlip
~vtkImageFlip()
Definition: vtkImageFlip.h:84
vtkImageFlip::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkImagingCoreModule.h
vtkImageFlip::New
static vtkImageFlip * New()
VTKIMAGINGCORE_EXPORT
#define VTKIMAGINGCORE_EXPORT
Definition: vtkImagingCoreModule.h:15
vtkImageFlip::GetFilteredAxes
int GetFilteredAxes()
Definition: vtkImageFlip.h:70