VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkImageEuclideanToPolar.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageEuclideanToPolar.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 __vtkImageEuclideanToPolar_h
26 #define __vtkImageEuclideanToPolar_h
27 
28 
29 #include "vtkImagingGeneralModule.h" // For export macro
30 #include "vtkThreadedImageAlgorithm.h"
31 
32 class VTKIMAGINGGENERAL_EXPORT vtkImageEuclideanToPolar : public vtkThreadedImageAlgorithm
33 {
34 public:
35  static vtkImageEuclideanToPolar *New();
36  vtkTypeMacro(vtkImageEuclideanToPolar,
37  vtkThreadedImageAlgorithm);
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41 
44  vtkSetMacro(ThetaMaximum,double);
45  vtkGetMacro(ThetaMaximum,double);
47 
48 protected:
51 
52  double ThetaMaximum;
53 
54  void ThreadedExecute (vtkImageData *inData, vtkImageData *outData,
55  int ext[6], int id);
56 private:
57  vtkImageEuclideanToPolar(const vtkImageEuclideanToPolar&); // Not implemented.
58  void operator=(const vtkImageEuclideanToPolar&); // Not implemented.
59 };
60 
61 #endif
62 
63 
64 
Converts 2D Euclidean coordinates to polar.