VTK  9.3.20240328
vtkCylindricalTransform.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
22 #ifndef vtkCylindricalTransform_h
23 #define vtkCylindricalTransform_h
24 
25 #include "vtkCommonTransformsModule.h" // For export macro
26 #include "vtkWarpTransform.h"
27 
28 VTK_ABI_NAMESPACE_BEGIN
29 class VTKCOMMONTRANSFORMS_EXPORT vtkCylindricalTransform : public vtkWarpTransform
30 {
31 public:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
40 
41 protected:
44 
48  void InternalDeepCopy(vtkAbstractTransform* transform) override;
49 
51 
54  void ForwardTransformPoint(const float in[3], float out[3]) override;
55  void ForwardTransformPoint(const double in[3], double out[3]) override;
57 
58  void ForwardTransformDerivative(const float in[3], float out[3], float derivative[3][3]) override;
60  const double in[3], double out[3], double derivative[3][3]) override;
61 
62  void InverseTransformPoint(const float in[3], float out[3]) override;
63  void InverseTransformPoint(const double in[3], double out[3]) override;
64 
65  void InverseTransformDerivative(const float in[3], float out[3], float derivative[3][3]) override;
67  const double in[3], double out[3], double derivative[3][3]) override;
68 
69 private:
71  void operator=(const vtkCylindricalTransform&) = delete;
72 };
73 
74 VTK_ABI_NAMESPACE_END
75 #endif
superclass for all geometric transformations
cylindrical to rectangular coords and back
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 PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ForwardTransformDerivative(const double in[3], double out[3], double derivative[3][3]) override
Calculate the forward transform as well as the derivative.
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...
void ForwardTransformDerivative(const float in[3], float out[3], float 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...
~vtkCylindricalTransform() override
void ForwardTransformPoint(const float in[3], float out[3]) override
Internal functions for calculating the transformation.
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 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...
static vtkCylindricalTransform * New()
a simple class to control print indentation
Definition: vtkIndent.h:108
superclass for nonlinear geometric transformations