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 "vtkWarpTransform.h"
41 
43 {
44 public:
45  static vtkSphericalTransform *New();
47  virtual void PrintSelf(ostream& os, vtkIndent indent);
48 
51 
52 protected:
55 
57  void InternalDeepCopy(vtkAbstractTransform *transform);
58 
60 
61  void ForwardTransformPoint(const float in[3], float out[3]);
62  void ForwardTransformPoint(const double in[3], double out[3]);
64 
65  void ForwardTransformDerivative(const float in[3], float out[3],
66  float derivative[3][3]);
67  void ForwardTransformDerivative(const double in[3], double out[3],
68  double derivative[3][3]);
69 
70  void InverseTransformPoint(const float in[3], float out[3]);
71  void InverseTransformPoint(const double in[3], double out[3]);
72 
73  void InverseTransformDerivative(const float in[3], float out[3],
74  float derivative[3][3]);
75  void InverseTransformDerivative(const double in[3], double out[3],
76  double derivative[3][3]);
77 
78 private:
79  vtkSphericalTransform(const vtkSphericalTransform&); // Not implemented.
80  void operator=(const vtkSphericalTransform&); // Not implemented.
81 };
82 
83 #endif
84 
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 *)
a simple class to control print indentation
Definition: vtkIndent.h:37
spherical to rectangular coords and back
superclass for all geometric transformations
#define VTK_COMMON_EXPORT
superclass for nonlinear geometric transformations
static vtkObject * New()