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 "vtkImageReslice.h"
30 
32 {
33 public:
34  static vtkImageFlip *New();
35 
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
40 
42  vtkSetMacro(FilteredAxis, int);
43  vtkGetMacro(FilteredAxis, int);
45 
47 
60  vtkSetMacro(FlipAboutOrigin, int);
61  vtkGetMacro(FlipAboutOrigin, int);
62  vtkBooleanMacro(FlipAboutOrigin, int);
64 
66 
68  void SetFilteredAxes(int axis) { this->SetFilteredAxis(axis); }
69  int GetFilteredAxes() { return this->GetFilteredAxis(); }
71 
73 
76  vtkSetMacro(PreserveImageExtent, int);
77  vtkGetMacro(PreserveImageExtent, int);
78  vtkBooleanMacro(PreserveImageExtent, int);
80 
81 protected:
82  vtkImageFlip();
84 
86 
90 
91 private:
92  vtkImageFlip(const vtkImageFlip&); // Not implemented.
93  void operator=(const vtkImageFlip&); // Not implemented.
94 };
95 
96 #endif
Store vtkAlgorithm input/output information.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkImageReslice * New()
int PreserveImageExtent
Definition: vtkImageFlip.h:89
This flips an axis of an image. Right becomes left ...
Definition: vtkImageFlip.h:31
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_IMAGING_EXPORT
Reslices a volume along a new set of axes.
int GetFilteredAxes()
Definition: vtkImageFlip.h:69
Store zero or more vtkInformation instances.
int FlipAboutOrigin
Definition: vtkImageFlip.h:88
virtual void PrintSelf(ostream &os, vtkIndent indent)
void SetFilteredAxes(int axis)
Definition: vtkImageFlip.h:68