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 =========================================================================*/
37 #ifndef vtkSphericalTransform_h
38 #define vtkSphericalTransform_h
39 
40 #include "vtkCommonTransformsModule.h" // For export macro
41 #include "vtkWarpTransform.h"
42 
44 {
45 public:
46  static vtkSphericalTransform *New();
48  virtual void PrintSelf(ostream& os, vtkIndent indent);
49 
52 
53 protected:
56 
58  void InternalDeepCopy(vtkAbstractTransform *transform);
59 
61 
62  void ForwardTransformPoint(const float in[3], float out[3]);
63  void ForwardTransformPoint(const double in[3], double out[3]);
65 
66  void ForwardTransformDerivative(const float in[3], float out[3],
67  float derivative[3][3]);
68  void ForwardTransformDerivative(const double in[3], double out[3],
69  double derivative[3][3]);
70 
71  void InverseTransformPoint(const float in[3], float out[3]);
72  void InverseTransformPoint(const double in[3], double out[3]);
73 
74  void InverseTransformDerivative(const float in[3], float out[3],
75  float derivative[3][3]);
76  void InverseTransformDerivative(const double in[3], double out[3],
77  double derivative[3][3]);
78 
79 private:
80  vtkSphericalTransform(const vtkSphericalTransform&); // Not implemented.
81  void operator=(const vtkSphericalTransform&); // Not implemented.
82 };
83 
84 #endif
85 
virtual void ForwardTransformPoint(const float in[3], float out[3])=0
virtual void InverseTransformPoint(const float in[3], float out[3])
void PrintSelf(ostream &os, vtkIndent indent)
virtual void InverseTransformDerivative(const float in[3], float out[3], float derivative[3][3])
virtual vtkAbstractTransform * MakeTransform()=0
virtual void ForwardTransformDerivative(const float in[3], float out[3], float derivative[3][3])=0
virtual void InternalDeepCopy(vtkAbstractTransform *)
#define VTKCOMMONTRANSFORMS_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
spherical to rectangular coords and back
superclass for all geometric transformations
superclass for nonlinear geometric transformations
static vtkObject * New()