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:
83  vtkImageFlip();
85 
87 
91 
92 private:
93  vtkImageFlip(const vtkImageFlip&); // Not implemented.
94  void operator=(const vtkImageFlip&); // Not implemented.
95 };
96 
97 #endif
Store vtkAlgorithm input/output information.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkImageReslice * New()
int PreserveImageExtent
Definition: vtkImageFlip.h:90
This flips an axis of an image. Right becomes left ...
Definition: vtkImageFlip.h:32
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKIMAGINGCORE_EXPORT
Reslices a volume along a new set of axes.
int GetFilteredAxes()
Definition: vtkImageFlip.h:70
Store zero or more vtkInformation instances.
int FlipAboutOrigin
Definition: vtkImageFlip.h:89
virtual void PrintSelf(ostream &os, vtkIndent indent)
void SetFilteredAxes(int axis)
Definition: vtkImageFlip.h:69