VTK
vtkSphericalTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSphericalTransform.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 =========================================================================*/
38 #ifndef vtkSphericalTransform_h
39 #define vtkSphericalTransform_h
40 
41 #include "vtkCommonTransformsModule.h" // For export macro
42 #include "vtkWarpTransform.h"
43 
44 class VTKCOMMONTRANSFORMS_EXPORT vtkSphericalTransform : public vtkWarpTransform
45 {
46 public:
47  static vtkSphericalTransform *New();
49  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
50 
54  vtkAbstractTransform *MakeTransform() VTK_OVERRIDE;
55 
56 protected:
58  ~vtkSphericalTransform() VTK_OVERRIDE;
59 
63  void InternalDeepCopy(vtkAbstractTransform *transform) VTK_OVERRIDE;
64 
66 
69  void ForwardTransformPoint(const float in[3], float out[3]) VTK_OVERRIDE;
70  void ForwardTransformPoint(const double in[3], double out[3]) VTK_OVERRIDE;
72 
73  void ForwardTransformDerivative(const float in[3], float out[3],
74  float derivative[3][3]) VTK_OVERRIDE;
75  void ForwardTransformDerivative(const double in[3], double out[3],
76  double derivative[3][3]) VTK_OVERRIDE;
77 
78  void InverseTransformPoint(const float in[3], float out[3]) VTK_OVERRIDE;
79  void InverseTransformPoint(const double in[3], double out[3]) VTK_OVERRIDE;
80 
81  void InverseTransformDerivative(const float in[3], float out[3],
82  float derivative[3][3]) VTK_OVERRIDE;
83  void InverseTransformDerivative(const double in[3], double out[3],
84  double derivative[3][3]) VTK_OVERRIDE;
85 
86 private:
87  vtkSphericalTransform(const vtkSphericalTransform&) VTK_DELETE_FUNCTION;
88  void operator=(const vtkSphericalTransform&) VTK_DELETE_FUNCTION;
89 };
90 
91 #endif
92 
virtual VTK_NEWINSTANCE vtkAbstractTransform * MakeTransform()=0
Make another transform of the same type.
a simple class to control print indentation
Definition: vtkIndent.h:39
spherical to rectangular coords and back
superclass for all geometric transformations
superclass for nonlinear geometric transformations
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.