VTK
vtkCylindricalTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCylindricalTransform.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 =========================================================================*/
34 #ifndef vtkCylindricalTransform_h
35 #define vtkCylindricalTransform_h
36 
37 #include "vtkCommonTransformsModule.h" // For export macro
38 #include "vtkWarpTransform.h"
39 
40 class VTKCOMMONTRANSFORMS_EXPORT vtkCylindricalTransform : public vtkWarpTransform
41 {
42 public:
43  static vtkCylindricalTransform *New();
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
51 
52 protected:
54  ~vtkCylindricalTransform() override;
55 
59  void InternalDeepCopy(vtkAbstractTransform *transform) override;
60 
62 
65  void ForwardTransformPoint(const float in[3], float out[3]) override;
66  void ForwardTransformPoint(const double in[3], double out[3]) override;
68 
69  void ForwardTransformDerivative(const float in[3], float out[3],
70  float derivative[3][3]) override;
71  void ForwardTransformDerivative(const double in[3], double out[3],
72  double derivative[3][3]) override;
73 
74  void InverseTransformPoint(const float in[3], float out[3]) override;
75  void InverseTransformPoint(const double in[3], double out[3]) override;
76 
77  void InverseTransformDerivative(const float in[3], float out[3],
78  float derivative[3][3]) override;
79  void InverseTransformDerivative(const double in[3], double out[3],
80  double derivative[3][3]) override;
81 
82 private:
84  void operator=(const vtkCylindricalTransform&) = delete;
85 };
86 
87 #endif
88 
virtual void ForwardTransformPoint(const float in[3], float out[3])=0
If the InverseFlag is set to 0, then a call to InternalTransformPoint results in a call to ForwardTra...
virtual void InverseTransformPoint(const float in[3], float out[3])
If the InverseFlag is set to 1, then a call to InternalTransformPoint results in a call to InverseTra...
virtual void InverseTransformDerivative(const float in[3], float out[3], float derivative[3][3])
Calculate the inverse transform as well as the derivative of the forward transform (that's correct: t...
virtual vtkAbstractTransform * MakeTransform()=0
Make another transform of the same type.
virtual void ForwardTransformDerivative(const float in[3], float out[3], float derivative[3][3])=0
Calculate the forward transform as well as the derivative.
virtual void InternalDeepCopy(vtkAbstractTransform *)
Perform any subclass-specific DeepCopy.
a simple class to control print indentation
Definition: vtkIndent.h:39
superclass for all geometric transformations
superclass for nonlinear geometric transformations
cylindrical to rectangular coords and back
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.