#include <itkAzimuthElevationToCartesianTransform.h>
Inheritance diagram for itk::AzimuthElevationToCartesianTransform< TScalarType, NDimensions >:
Public Types | |
typedef AzimuthElevationToCartesianTransform | Self |
typedef AffineTransform< TScalarType, NDimensions > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::ParametersType | ParametersType |
typedef Superclass::JacobianType | JacobianType |
typedef Superclass::ScalarType | ScalarType |
typedef Superclass::InputPointType | InputPointType |
typedef Superclass::OutputPointType | OutputPointType |
typedef Matrix< TScalarType, itkGetStaticConstMacro(SpaceDimension), itkGetStaticConstMacro(SpaceDimension) | MatrixType ) |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
void | SetAzimuthElevationToCartesianParameters (const double sampleSize, const double blanking, const long maxAzimuth, const long maxElevation, const double azimuthAngleSeparation, const double elevationAngleSeparation) |
void | SetAzimuthElevationToCartesianParameters (const double sampleSize, const double blanking, const long maxAzimuth, const long maxElevation) |
OutputPointType | TransformPoint (const InputPointType &point) const |
void | SetForwardAzimuthElevationToCartesian () |
void | SetForwardCartesianToAzimuthElevation () |
OutputPointType | TransformAzElToCartesian (const InputPointType &point) const |
OutputPointType | TransformCartesianToAzEl (const OutputPointType &point) const |
virtual void | SetMaxAzimuth (long _arg) |
virtual void | SetMaxElevation (long _arg) |
virtual void | SetRadiusSampleSize (double _arg) |
virtual void | SetAzimuthAngularSeparation (double _arg) |
virtual void | SetElevationAngularSeparation (double _arg) |
virtual void | SetFirstSampleDistance (double _arg) |
itkStaticConstMacro (SpaceDimension, unsigned int, NDimensions) | |
itkStaticConstMacro (ParametersDimension, unsigned int, NDimensions *(NDimensions+1)) | |
InputPointType | BackTransform (const OutputPointType &point) const |
InputPointType | BackTransformPoint (const OutputPointType &point) const |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
AzimuthElevationToCartesianTransform () | |
virtual | ~AzimuthElevationToCartesianTransform () |
void | PrintSelf (std::ostream &s, Indent indent) const |
The three coordinate axis are azimuth, elevation, and range.
The azimuth elevation coordinate system is defined similarly to spherical coordinates but is slightly different in that the azimuth and elevation are measured in degrees between the r-axis (i.e z axis) and the projection on the x-z and y-z planes, respectively. Range, or r, is the distance from the origin.
The equations form performing the conversion from azimuth-elevation coordinates to cartesian coordinates are as follows: z = sqrt((r^2*(cos(azimuth))^2)/(1 + (cos(azimuth))^2 * (tan(elevation))^2); x = z * tan(azimuth) y = z * tan(elevation)
The reversed transforms are: azimuth = arctan(x/y) elevation = arctan(y/z) r = sqrt(x^2 + y^2 + z^2)
In this class, we can also set what a "forward" transform means. If we call SetForwardAzimuthElevationToCartesian(), a forward transform will return cartesian coordinates when passed azimuth,elevation,r coordinates. Calling SetForwardCartesianToAzimuthElevation() will cause the forward transform to return azimuth,elevation,r coordinates from cartesian coordinates.
Setting the FirstSampleDistance to a non-zero value means that a r value of 12 is actually (12 + FirstSampleDistance) distance from the origin.
There are two template parameters for this class:
ScalarT The type to be used for scalar numeric values. Either float or double.
NDimensions The number of dimensions of the vector space (must be >=3).
Derive this class from a yet undefined TransformBase class. Currently, this class derives from AffineTransform, although it is not an affine transform.
Definition at line 78 of file itkAzimuthElevationToCartesianTransform.h.
|
Reimplemented from itk::AffineTransform< TScalarType, NDimensions >. Definition at line 86 of file itkAzimuthElevationToCartesianTransform.h. |
|
Standard coordinate point type for this class Reimplemented from itk::AffineTransform< TScalarType, NDimensions >. Definition at line 110 of file itkAzimuthElevationToCartesianTransform.h. |
|
Jacobian type. Reimplemented from itk::AffineTransform< TScalarType, NDimensions >. Definition at line 104 of file itkAzimuthElevationToCartesianTransform.h. |
|
Standard matrix type for this class. Reimplemented from itk::AffineTransform< TScalarType, NDimensions >. Definition at line 115 of file itkAzimuthElevationToCartesianTransform.h. |
|
Reimplemented from itk::AffineTransform< TScalarType, NDimensions >. Definition at line 111 of file itkAzimuthElevationToCartesianTransform.h. |
|
Parameters type. Reimplemented from itk::AffineTransform< TScalarType, NDimensions >. Definition at line 101 of file itkAzimuthElevationToCartesianTransform.h. |
|
Reimplemented from itk::AffineTransform< TScalarType, NDimensions >. Definition at line 85 of file itkAzimuthElevationToCartesianTransform.h. |
|
Standard scalar type for this class. Reimplemented from itk::AffineTransform< TScalarType, NDimensions >. Definition at line 107 of file itkAzimuthElevationToCartesianTransform.h. |
|
Standard class typedefs. Reimplemented from itk::AffineTransform< TScalarType, NDimensions >. Definition at line 83 of file itkAzimuthElevationToCartesianTransform.h. |
|
Reimplemented from itk::AffineTransform< TScalarType, NDimensions >. Definition at line 84 of file itkAzimuthElevationToCartesianTransform.h. |
|
Create an AzimuthElevationToCartesianTransform object. * |
|
Destroy an AzimuthElevationToCartesianTransform object. * |
|
Back transform from cartesian to azimuth-elevation. * Reimplemented from itk::AffineTransform< TScalarType, NDimensions >. |
|
Back transform from cartesian to azimuth-elevation. * Reimplemented from itk::AffineTransform< TScalarType, NDimensions >. |
|
Run-time type information (and related methods). Reimplemented from itk::AffineTransform< TScalarType, NDimensions >. |
|
Dimension of the domain space. Reimplemented from itk::AffineTransform< TScalarType, NDimensions >. |
|
Dimension of the domain space. Reimplemented from itk::AffineTransform< TScalarType, NDimensions >. |
|
New macro for creation of through a Smart Pointer. Reimplemented from itk::AffineTransform< TScalarType, NDimensions >. |
|
Print contents of an AzimuthElevationTransform. * Reimplemented from itk::AffineTransform< TScalarType, NDimensions >. |
|
Set the number of degrees between each azimuth unit. * |
|
|
|
Set the transformation parameters. * |
|
Set the number of degrees between each elevation unit. * |
|
Set the distance to add to the radius. |
|
Defines that the forward transform goes from azimuth,elevation to cartesian. * |
|
Defines that the forward transform goes from cartesian to azimuth,elevation. * |
|
Set the maximum azimuth. The maximum azimuth and elevation can be set so that the resulting cartesian space is symmetric about the z axis. Therefore, the line defined by azimuth/2,elevation/2 = z-axis. * |
|
Set the maximum elevation The maximum azimuth and elevation can be set so that the resulting cartesian space is symmetric about the z axis. Therefore, the line defined by azimuth/2,elevation/2 = z-axis. * |
|
Set the number of cartesian units between each unit along the R . * |
|
Perform conversion from Azimuth Elevation coordinates to Cartesian Coordinates. * |
|
Perform conversion from Cartesian Coordinates to Azimuth Elevation coordinates. * |
|
Transform from azimuth-elevation to cartesian. * Reimplemented from itk::MatrixOffsetTransformBase< TScalarType, NDimensions, NDimensions >. |