VTK  9.1.0
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=========================================================================*/
32#ifndef vtkSphericalTransform_h
33#define vtkSphericalTransform_h
34
35#include "vtkCommonTransformsModule.h" // For export macro
36#include "vtkWarpTransform.h"
37
38class VTKCOMMONTRANSFORMS_EXPORT vtkSphericalTransform : public vtkWarpTransform
39{
40public:
43 void PrintSelf(ostream& os, vtkIndent indent) override;
44
49
50protected:
53
57 void InternalDeepCopy(vtkAbstractTransform* transform) override;
58
60
63 void ForwardTransformPoint(const float in[3], float out[3]) override;
64 void ForwardTransformPoint(const double in[3], double out[3]) override;
66
67 void ForwardTransformDerivative(const float in[3], float out[3], float derivative[3][3]) override;
69 const double in[3], double out[3], double derivative[3][3]) override;
70
71 void InverseTransformPoint(const float in[3], float out[3]) override;
72 void InverseTransformPoint(const double in[3], double out[3]) override;
73
74 void InverseTransformDerivative(const float in[3], float out[3], float derivative[3][3]) override;
76 const double in[3], double out[3], double derivative[3][3]) override;
77
78private:
80 void operator=(const vtkSphericalTransform&) = delete;
81};
82
83#endif
superclass for all geometric transformations
a simple class to control print indentation
Definition: vtkIndent.h:113
spherical to rectangular coords and back
static vtkSphericalTransform * New()
vtkAbstractTransform * MakeTransform() override
Make another transform of the same type.
void InverseTransformDerivative(const float in[3], float out[3], float derivative[3][3]) override
Calculate the inverse transform as well as the derivative of the forward transform (that's correct: t...
~vtkSphericalTransform() override
void InverseTransformPoint(const double in[3], double out[3]) override
If the InverseFlag is set to 1, then a call to InternalTransformPoint results in a call to InverseTra...
void ForwardTransformDerivative(const float in[3], float out[3], float derivative[3][3]) override
Calculate the forward transform as well as the derivative.
void ForwardTransformPoint(const double in[3], double out[3]) override
Internal functions for calculating the transformation.
void InternalDeepCopy(vtkAbstractTransform *transform) override
Copy this transform from another of the same type.
void ForwardTransformDerivative(const double in[3], double out[3], double derivative[3][3]) override
Calculate the forward transform as well as the derivative.
void InverseTransformPoint(const float in[3], float out[3]) override
If the InverseFlag is set to 1, then a call to InternalTransformPoint results in a call to InverseTra...
void InverseTransformDerivative(const double in[3], double out[3], double derivative[3][3]) override
Calculate the inverse transform as well as the derivative of the forward transform (that's correct: t...
void ForwardTransformPoint(const float in[3], float out[3]) override
Internal functions for calculating the transformation.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
superclass for nonlinear geometric transformations