VTK
|
cylindrical to rectangular coords and back More...
#include <vtkCylindricalTransform.h>
cylindrical to rectangular coords and back
vtkCylindricalTransform will convert (r,theta,z) coordinates to (x,y,z) coordinates and back again. The angles are given in radians. By default, it converts cylindrical coordinates to rectangular, but GetInverse() returns a transform that will do the opposite. The equation that is used is x = r*cos(theta), y = r*sin(theta), z = z.
Definition at line 39 of file vtkCylindricalTransform.h.
Reimplemented from vtkWarpTransform.
Definition at line 43 of file vtkCylindricalTransform.h.
vtkCylindricalTransform::vtkCylindricalTransform | ( | ) | [protected] |
vtkCylindricalTransform::~vtkCylindricalTransform | ( | ) | [protected] |
static vtkCylindricalTransform* vtkCylindricalTransform::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
static int vtkCylindricalTransform::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkWarpTransform.
virtual int vtkCylindricalTransform::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkWarpTransform.
static vtkCylindricalTransform* vtkCylindricalTransform::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkWarpTransform.
virtual vtkObjectBase* vtkCylindricalTransform::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkWarpTransform.
Reimplemented from vtkWarpTransform.
virtual void vtkCylindricalTransform::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkWarpTransform.
vtkAbstractTransform* vtkCylindricalTransform::MakeTransform | ( | ) | [virtual] |
Make another transform of the same type.
Implements vtkAbstractTransform.
void vtkCylindricalTransform::InternalDeepCopy | ( | vtkAbstractTransform * | transform | ) | [protected, virtual] |
Copy this transform from another of the same type.
Reimplemented from vtkAbstractTransform.
void vtkCylindricalTransform::ForwardTransformPoint | ( | const float | in[3], |
float | out[3] | ||
) | [protected, virtual] |
Internal functions for calculating the transformation.
Implements vtkWarpTransform.
void vtkCylindricalTransform::ForwardTransformPoint | ( | const double | in[3], |
double | out[3] | ||
) | [protected, virtual] |
Internal functions for calculating the transformation.
Implements vtkWarpTransform.
void vtkCylindricalTransform::ForwardTransformDerivative | ( | const float | in[3], |
float | out[3], | ||
float | derivative[3][3] | ||
) | [protected, virtual] |
Calculate the forward transform as well as the derivative.
Implements vtkWarpTransform.
void vtkCylindricalTransform::ForwardTransformDerivative | ( | const double | in[3], |
double | out[3], | ||
double | derivative[3][3] | ||
) | [protected, virtual] |
Calculate the forward transform as well as the derivative.
Implements vtkWarpTransform.
void vtkCylindricalTransform::InverseTransformPoint | ( | const float | in[3], |
float | out[3] | ||
) | [protected, virtual] |
If the InverseFlag is set to 1, then a call to InternalTransformPoint results in a call to InverseTransformPoint. The inverse transformation is calculated from using Newton's method.
Reimplemented from vtkWarpTransform.
void vtkCylindricalTransform::InverseTransformPoint | ( | const double | in[3], |
double | out[3] | ||
) | [protected, virtual] |
If the InverseFlag is set to 1, then a call to InternalTransformPoint results in a call to InverseTransformPoint. The inverse transformation is calculated from using Newton's method.
Reimplemented from vtkWarpTransform.
void vtkCylindricalTransform::InverseTransformDerivative | ( | const float | in[3], |
float | out[3], | ||
float | derivative[3][3] | ||
) | [protected, virtual] |
Calculate the inverse transform as well as the derivative of the forward transform (that's correct: the derivative of the forward transform, not of the inverse transform)
Reimplemented from vtkWarpTransform.
void vtkCylindricalTransform::InverseTransformDerivative | ( | const double | in[3], |
double | out[3], | ||
double | derivative[3][3] | ||
) | [protected, virtual] |
Calculate the inverse transform as well as the derivative of the forward transform (that's correct: the derivative of the forward transform, not of the inverse transform)
Reimplemented from vtkWarpTransform.