ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension > Class Template Reference

#include <itkAzimuthElevationToCartesianTransform.h>

Detailed Description

template<typename TParametersValueType = double, unsigned int VDimension = 3>
class itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >

Transforms from an azimuth, elevation, radius coordinate system to a Cartesian coordinate system, or vice versa.

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 = std::sqrt((r^2*(cos(azimuth))^2)/(1 + (cos(azimuth))^2 * (tan(elevation))^2);
x = z * std::tan(azimuth)
y = z * std::tan(elevation)

The reversed transforms are:

azimuth = arctan(x/y)
elevation = arctan(y/z)
r = std::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:

TParametersValueType The type to be used for scalar numeric values. Either float or double.

VDimension The number of dimensions of the vector space (must be >=3).

Todo
Is there any real value in allowing the user to template over the scalar type? Perhaps it should always be double, unless there's a compatibility problem with the Point class.
Todo
Derive this class from TransformBase class. Currently, this class derives from AffineTransform, although it is not an affine transform.
Todo
Add a figure in the documentation that informs the formulas used in this class that are used to transform Cartesian to azimuth-elevation-radius
ITK Sphinx Examples:

Definition at line 88 of file itkAzimuthElevationToCartesianTransform.h.

+ Inheritance diagram for itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >:
+ Collaboration diagram for itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >:

Public Types

using ConstPointer = SmartPointer<const Self>
 
typedef Point< TParametersValueType, Self::InputSpaceDimensionInputPointType
 
using MatrixType = Matrix<TParametersValueType, Self::SpaceDimension, Self::SpaceDimension>
 
typedef Point< TParametersValueType, Self::OutputSpaceDimensionOutputPointType
 
using Pointer = SmartPointer<Self>
 
using Self = AzimuthElevationToCartesianTransform
 
using Superclass = AffineTransform<TParametersValueType, VDimension>
 
- Public Types inherited from itk::AffineTransform< double, 3 >
typedef InputPointType CenterType
 
using CenterType
 
using ConstPointer
 
typedef CovariantVector< double, Self::InputSpaceDimensionInputCovariantVectorType
 
using InputCovariantVectorType
 
typedef Point< double, Self::InputSpaceDimensionInputPointType
 
using InputPointType
 
typedef Vector< double, Self::InputSpaceDimensionInputVectorType
 
using InputVectorType
 
typedef vnl_vector_fixed< double, Self::InputSpaceDimensionInputVnlVectorType
 
using InputVnlVectorType
 
typedef Matrix< double, Self::InputSpaceDimension, Self::OutputSpaceDimensionInverseMatrixType
 
using InverseMatrixType
 
using InverseTransformBasePointer
 
using InverseTransformBaseType
 
typedef Matrix< double, Self::OutputSpaceDimension, Self::InputSpaceDimensionMatrixType
 
using MatrixType
 
typedef OutputVectorType OffsetType
 
using OffsetType
 
typedef CovariantVector< double, Self::OutputSpaceDimensionOutputCovariantVectorType
 
using OutputCovariantVectorType
 
typedef Point< double, Self::OutputSpaceDimensionOutputPointType
 
using OutputPointType
 
typedef Vector< double, Self::OutputSpaceDimensionOutputVectorType
 
using OutputVectorType
 
typedef vnl_vector_fixed< double, Self::OutputSpaceDimensionOutputVnlVectorType
 
using OutputVnlVectorType
 
using Pointer
 
using Self
 
using Superclass
 
typedef OutputVectorType TranslationType
 
using TranslationType
 
- Public Types inherited from itk::MatrixOffsetTransformBase< double, VDimension, VDimension >
using CenterType
 
using ConstPointer
 
using InputCovariantVectorType
 
typedef DiffusionTensor3D< double > InputDiffusionTensor3DType
 
using InputDiffusionTensor3DType
 
using InputPointType
 
using InputPointValueType
 
typedef SymmetricSecondRankTensor< double, VInputDimension > InputSymmetricSecondRankTensorType
 
using InputSymmetricSecondRankTensorType
 
using InputTensorEigenVectorType
 
typedef VariableLengthVector< double > InputVectorPixelType
 
using InputVectorPixelType
 
using InputVectorType
 
using InputVnlVectorType
 
typedef vnl_matrix_fixed< ParametersValueType, VInputDimension, VOutputDimension > InverseJacobianPositionType
 
using InverseJacobianPositionType
 
using InverseMatrixType
 
using InverseTransformBasePointer
 
using InverseTransformBaseType
 
using InverseTransformType
 
typedef vnl_matrix_fixed< ParametersValueType, VOutputDimension, VInputDimension > JacobianPositionType
 
using JacobianPositionType
 
typedef Array2D< ParametersValueTypeJacobianType
 
using JacobianType
 
using MatrixType
 
using MatrixValueType
 
using OffsetType
 
using OffsetValueType
 
using OutputCovariantVectorType
 
typedef DiffusionTensor3D< double > OutputDiffusionTensor3DType
 
using OutputDiffusionTensor3DType
 
using OutputPointType
 
using OutputPointValueType
 
typedef SymmetricSecondRankTensor< double, VOutputDimension > OutputSymmetricSecondRankTensorType
 
using OutputSymmetricSecondRankTensorType
 
typedef VariableLengthVector< double > OutputVectorPixelType
 
using OutputVectorPixelType
 
using OutputVectorType
 
using OutputVectorValueType
 
using OutputVnlVectorType
 
using Pointer
 
typedef ParametersValueType ScalarType
 
using ScalarType
 
using Self
 
using Superclass
 
using TranslationType
 
using TranslationValueType
 
- Public Types inherited from itk::Transform< double, VInputDimension, VOutputDimension >
using ConstPointer
 
using DerivativeType
 
using DirectionChangeMatrix
 
typedef OptimizerParameters< FixedParametersValueTypeFixedParametersType
 
using FixedParametersType
 
typedef double FixedParametersValueType
 
using FixedParametersValueType
 
using InputCovariantVectorType
 
using InputDiffusionTensor3DType
 
using InputDirectionMatrix
 
using InputPointType
 
using InputSymmetricSecondRankTensorType
 
using InputVectorPixelType
 
using InputVectorType
 
using InputVnlVectorType
 
using InverseJacobianPositionType
 
using InverseTransformBasePointer
 
using InverseTransformBaseType
 
using JacobianPositionType
 
using JacobianType
 
using MatrixType
 
typedef IdentifierType NumberOfParametersType
 
using NumberOfParametersType
 
using OutputCovariantVectorType
 
using OutputDiffusionTensor3DType
 
using OutputDirectionMatrix
 
using OutputPointType
 
using OutputSymmetricSecondRankTensorType
 
using OutputVectorPixelType
 
using OutputVectorType
 
using OutputVnlVectorType
 
typedef OptimizerParameters< ParametersValueTypeParametersType
 
using ParametersType
 
typedef double ParametersValueType
 
using ParametersValueType
 
using Pointer
 
using ScalarType
 
using Self
 
using Superclass
 
typedef TransformBaseTemplateEnums::TransformCategory TransformCategoryEnum
 
using TransformCategoryEnum
 
- Public Types inherited from TransformBaseTemplate< double >
using ConstPointer
 
using FixedParametersType
 
using FixedParametersValueType
 
using NumberOfParametersType
 
using ParametersType
 
using ParametersValueType
 
using Pointer
 
using Self
 
using Superclass
 
using TransformCategoryEnum
 
using TransformCategoryType
 

Public Member Functions

InputPointType BackTransform (const OutputPointType &point) const
 
InputPointType BackTransformPoint (const OutputPointType &point) const
 
TransformCategoryEnum GetTransformCategory () const override
 
 ITK_DISALLOW_COPY_AND_MOVE (AzimuthElevationToCartesianTransform)
 
 itkNewMacro (Self)
 
 itkOverrideGetNameOfClassMacro (AzimuthElevationToCartesianTransform)
 
void SetAzimuthElevationToCartesianParameters (const double sampleSize, const double firstSampleDistance, const long maxAzimuth, const long maxElevation)
 
void SetAzimuthElevationToCartesianParameters (const double sampleSize, const double firstSampleDistance, const long maxAzimuth, const long maxElevation, const double azimuthAngleSeparation, const double elevationAngleSeparation)
 
void SetForwardAzimuthElevationToCartesian ()
 
void SetForwardCartesianToAzimuthElevation ()
 
OutputPointType TransformAzElToCartesian (const InputPointType &point) const
 
OutputPointType TransformCartesianToAzEl (const OutputPointType &point) const
 
OutputPointType TransformPoint (const InputPointType &point) const override
 
 itkSetMacro (MaxAzimuth, long)
 
 itkGetConstMacro (MaxAzimuth, long)
 
 itkSetMacro (MaxElevation, long)
 
 itkGetConstMacro (MaxElevation, long)
 
 itkSetMacro (RadiusSampleSize, double)
 
 itkGetConstMacro (RadiusSampleSize, double)
 
 itkSetMacro (AzimuthAngularSeparation, double)
 
 itkGetConstMacro (AzimuthAngularSeparation, double)
 
 itkSetMacro (ElevationAngularSeparation, double)
 
 itkGetConstMacro (ElevationAngularSeparation, double)
 
 itkSetMacro (FirstSampleDistance, double)
 
 itkGetConstMacro (FirstSampleDistance, double)
 
- Public Member Functions inherited from itk::AffineTransform< double, 3 >
bool GetInverse (Self *inverse) const
 
InverseTransformBasePointer GetInverseTransform () const override
 
 ITK_DISALLOW_COPY_AND_MOVE (AffineTransform)
 
 itkNewMacro (Self)
 
 itkOverrideGetNameOfClassMacro (AffineTransform)
 
ScalarType Metric () const
 
ScalarType Metric (const Self *other) const
 
void Rotate2D (double angle, bool pre=false)
 
void Rotate3D (const OutputVectorType &axis, double angle, bool pre=false)
 
void Scale (const double &factor, bool pre=false)
 
void Scale (const OutputVectorType &factor, bool pre=false)
 
void Shear (int axis1, int axis2, double coef, bool pre=false)
 
void Translate (const OutputVectorType &trans, bool pre=false)
 
void Rotate (int axis1, int axis2, double angle, bool pre=false)
 
- Public Member Functions inherited from itk::MatrixOffsetTransformBase< double, VDimension, VDimension >
void Compose (const Self *other, bool pre=false)
 
virtual void ComputeInverseJacobianWithRespectToPosition (const InputPointType &pnt, InverseJacobianPositionType &jacobian) const
 
virtual void ComputeInverseJacobianWithRespectToPosition (const InputPointType &pnt, InverseJacobianPositionType &jacobian) const
 
void ComputeInverseJacobianWithRespectToPosition (const InputPointType &x, InverseJacobianPositionType &jac) const override
 
void ComputeJacobianWithRespectToParameters (const InputPointType &p, JacobianType &jacobian) const override
 
void ComputeJacobianWithRespectToPosition (const InputPointType &x, JacobianPositionType &jac) const override
 
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &x, JacobianPositionType &jacobian) const
 
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &x, JacobianPositionType &jacobian) const
 
virtual::itk::LightObject::Pointer CreateAnother () const
 
const InputPointTypeGetCenter () const
 
const FixedParametersTypeGetFixedParameters () const override
 
InverseTransformBasePointer GetInverseTransform () const override
 
virtual const MatrixTypeGetMatrix () const
 
const char * GetNameOfClass () const override
 
const OutputVectorTypeGetOffset () const
 
const ParametersTypeGetParameters () const override
 
TransformCategoryEnum GetTransformCategory () const override
 
const OutputVectorTypeGetTranslation () const
 
bool IsLinear () const override
 
void SetFixedParameters (const FixedParametersType &) override
 
virtual void SetIdentity ()
 
void SetParameters (const ParametersType &parameters) override
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &) const
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &) const
 
OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vec) const override
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vector, const InputPointType &point) const
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vector, const InputPointType &point) const
 
OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &vect) const override
 
virtual OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &vector, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &vector, const InputPointType &point) const
 
virtual OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &inputTensor, const InputPointType &point) const
 
virtual OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &inputTensor, const InputPointType &point) const
 
OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &tensor) const override
 
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &inputTensor, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &inputTensor, const InputPointType &point) const
 
OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &tensor) const override
 
OutputPointType TransformPoint (const InputPointType &point) const override
 
OutputSymmetricSecondRankTensorType TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &inputTensor) const override
 
virtual OutputSymmetricSecondRankTensorType TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &inputTensor, const InputPointType &point) const
 
virtual OutputSymmetricSecondRankTensorType TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &inputTensor, const InputPointType &point) const
 
OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &inputTensor) const override
 
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &inputTensor, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &inputTensor, const InputPointType &point) const
 
OutputVectorPixelType TransformVector (const InputVectorPixelType &vect) const override
 
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &vector, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &vector, const InputPointType &point) const
 
virtual OutputVectorType TransformVector (const InputVectorType &) const
 
virtual OutputVectorType TransformVector (const InputVectorType &) const
 
OutputVectorType TransformVector (const InputVectorType &vect) const override
 
virtual OutputVectorType TransformVector (const InputVectorType &vector, const InputPointType &point) const
 
virtual OutputVectorType TransformVector (const InputVectorType &vector, const InputPointType &point) const
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &) const
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &) const
 
OutputVnlVectorType TransformVector (const InputVnlVectorType &vect) const override
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &vector, const InputPointType &point) const
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &vector, const InputPointType &point) const
 
virtual void SetMatrix (const MatrixType &matrix)
 
void SetOffset (const OutputVectorType &offset)
 
void SetCenter (const InputPointType &center)
 
void SetTranslation (const OutputVectorType &translation)
 
bool GetInverse (InverseTransformType *inverse) const
 
- Public Member Functions inherited from itk::Transform< double, VInputDimension, VOutputDimension >
virtual void ComputeInverseJacobianWithRespectToPosition (const InputPointType &pnt, InverseJacobianPositionType &jacobian) const
 
virtual void ComputeJacobianWithRespectToParametersCachedTemporaries (const InputPointType &p, JacobianType &jacobian, JacobianType &cachedJacobian) const
 
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &x, JacobianPositionType &jacobian) const
 
void CopyInFixedParameters (const FixedParametersValueType *const begin, const FixedParametersValueType *const end) override
 
void CopyInParameters (const ParametersValueType *const begin, const ParametersValueType *const end) override
 
const FixedParametersTypeGetFixedParameters () const override
 
unsigned int GetInputSpaceDimension () const override
 
bool GetInverse (Self *inverseTransform) const
 
const char * GetNameOfClass () const override
 
virtual NumberOfParametersType GetNumberOfFixedParameters () const
 
virtual NumberOfParametersType GetNumberOfLocalParameters () const
 
NumberOfParametersType GetNumberOfParameters () const override
 
unsigned int GetOutputSpaceDimension () const override
 
const ParametersTypeGetParameters () const override
 
TransformCategoryEnum GetTransformCategory () const override
 
std::string GetTransformTypeAsString () const override
 
 itkCloneMacro (Self)
 
void SetParametersByValue (const ParametersType &p) override
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &) const
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vector, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &vector) const
 
virtual OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &vector, const InputPointType &point) const
 
virtual OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &inputTensor, const InputPointType &point) const
 
virtual OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &tensor) const
 
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &inputTensor, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &tensor) const
 
virtual OutputPointType TransformPoint (const InputPointType &) const=0
 
virtual OutputSymmetricSecondRankTensorType TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &inputTensor, const InputPointType &point) const
 
virtual OutputSymmetricSecondRankTensorType TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &tensor) const
 
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &inputTensor, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &tensor) const
 
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &vector) const
 
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &vector, const InputPointType &point) const
 
virtual OutputVectorType TransformVector (const InputVectorType &) const
 
virtual OutputVectorType TransformVector (const InputVectorType &vector, const InputPointType &point) const
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &) const
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &vector, const InputPointType &point) const
 
virtual void UpdateTransformParameters (const DerivativeType &update, ParametersValueType factor=1.0)
 
virtual void ComputeJacobianWithRespectToParameters (const InputPointType &p, JacobianType &jacobian) const=0
 
std::enable_if_t< TImage::ImageDimension==VInputDimension &&TImage::ImageDimension==VOutputDimension, void > ApplyToImageMetadata (TImage *image) const
 
std::enable_if_t< TImage::ImageDimension==VInputDimension &&TImage::ImageDimension==VOutputDimension, void > ApplyToImageMetadata (SmartPointer< TImage > image) const
 
- Public Member Functions inherited from TransformBaseTemplate< double >
 ITK_DISALLOW_COPY_AND_MOVE (TransformBaseTemplate)
 
 ITK_DISALLOW_COPY_AND_MOVE (TransformBaseTemplate)
 
 itkGetConstReferenceMacro (InputSpaceName, std::string)
 
 itkGetConstReferenceMacro (InputSpaceName, std::string)
 
 itkGetConstReferenceMacro (OutputSpaceName, std::string)
 
 itkGetConstReferenceMacro (OutputSpaceName, std::string)
 
 itkOverrideGetNameOfClassMacro (TransformBaseTemplate)
 
 itkOverrideGetNameOfClassMacro (TransformBaseTemplate)
 
 itkSetMacro (InputSpaceName, std::string)
 
 itkSetMacro (InputSpaceName, std::string)
 
 itkSetMacro (OutputSpaceName, std::string)
 
 itkSetMacro (OutputSpaceName, std::string)
 
virtual void SetFixedParameters (const FixedParametersType &)=0
 
virtual void SetFixedParameters (const FixedParametersType &)=0
 
virtual void SetParameters (const ParametersType &)=0
 
virtual void SetParameters (const ParametersType &)=0
 
virtual void SetParametersByValue (const ParametersType &p)=0
 
virtual void SetParametersByValue (const ParametersType &p)=0
 

Static Public Attributes

static constexpr unsigned int ParametersDimension = VDimension * (VDimension + 1)
 
static constexpr unsigned int SpaceDimension = VDimension
 
- Static Public Attributes inherited from itk::AffineTransform< double, 3 >
static constexpr unsigned int InputSpaceDimension
 
static constexpr unsigned int OutputSpaceDimension
 
static constexpr unsigned int ParametersDimension
 
static constexpr unsigned int SpaceDimension
 
- Static Public Attributes inherited from itk::MatrixOffsetTransformBase< double, VDimension, VDimension >
static constexpr unsigned int InputSpaceDimension
 
static constexpr unsigned int OutputSpaceDimension
 
static constexpr unsigned int ParametersDimension
 
- Static Public Attributes inherited from itk::Transform< double, VInputDimension, VOutputDimension >
static constexpr unsigned int InputSpaceDimension
 
static constexpr unsigned int OutputSpaceDimension
 
- Static Public Attributes inherited from TransformBaseTemplate< double >
static constexpr TransformCategoryEnum BSpline
 
static constexpr TransformCategoryEnum BSpline
 
static constexpr TransformCategoryEnum DisplacementField
 
static constexpr TransformCategoryEnum DisplacementField
 
static constexpr TransformCategoryEnum Linear
 
static constexpr TransformCategoryEnum Linear
 
static constexpr TransformCategoryEnum Spline
 
static constexpr TransformCategoryEnum Spline
 
static constexpr TransformCategoryEnum UnknownTransformCategory
 
static constexpr TransformCategoryEnum UnknownTransformCategory
 
static constexpr TransformCategoryEnum VelocityField
 
static constexpr TransformCategoryEnum VelocityField
 

Protected Member Functions

 AzimuthElevationToCartesianTransform ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~AzimuthElevationToCartesianTransform () override=default
 
- Protected Member Functions inherited from itk::AffineTransform< double, 3 >
 ~AffineTransform () override=default
 
 AffineTransform (const MatrixType &matrix, const OutputVectorType &offset)
 
 AffineTransform (unsigned int parametersDimension)
 
 AffineTransform ()
 
- Protected Member Functions inherited from itk::MatrixOffsetTransformBase< double, VDimension, VDimension >
virtual void ComputeMatrix ()
 
virtual void ComputeMatrixParameters ()
 
virtual void ComputeOffset ()
 
virtual void ComputeTranslation ()
 
const InverseMatrixTypeGetInverseMatrix () const
 
virtual bool GetSingular () const
 
const InverseMatrixTypeGetVarInverseMatrix () const
 
bool InverseMatrixIsOld () const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void SetVarCenter (const InputPointType &center)
 
void SetVarInverseMatrix (const InverseMatrixType &matrix) const
 
void SetVarMatrix (const MatrixType &matrix)
 
void SetVarOffset (const OutputVectorType &offset)
 
void SetVarTranslation (const OutputVectorType &translation)
 
 ~MatrixOffsetTransformBase () override=default
 
 MatrixOffsetTransformBase (unsigned int paramDims=ParametersDimension)
 
- Protected Member Functions inherited from itk::Transform< double, VInputDimension, VOutputDimension >
LightObject::Pointer InternalClone () const override
 
OutputDiffusionTensor3DType PreservationOfPrincipalDirectionDiffusionTensor3DReorientation (const InputDiffusionTensor3DType &, const InverseJacobianPositionType &) const
 
 Transform ()=default
 
 Transform (NumberOfParametersType numberOfParameters)
 
 ~Transform () override=default
 
- Protected Member Functions inherited from TransformBaseTemplate< double >
 TransformBaseTemplate ()=default
 
 TransformBaseTemplate ()=default
 
 ~TransformBaseTemplate () override=default
 
 ~TransformBaseTemplate () override=default
 

Private Attributes

double m_AzimuthAngularSeparation {}
 
double m_ElevationAngularSeparation {}
 
double m_FirstSampleDistance {}
 
bool m_ForwardAzimuthElevationToPhysical {}
 
long m_MaxAzimuth {}
 
long m_MaxElevation {}
 
double m_RadiusSampleSize {}
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::MatrixOffsetTransformBase< double, VDimension, VDimension >
static Pointer New ()
 
- Static Protected Member Functions inherited from itk::Transform< double, VInputDimension, VOutputDimension >
static InverseTransformBasePointer InvertTransform (const TTransform &transform)
 
- Protected Attributes inherited from itk::Transform< double, VInputDimension, VOutputDimension >
FixedParametersType m_FixedParameters
 
ParametersType m_Parameters
 

Member Typedef Documentation

◆ ConstPointer

template<typename TParametersValueType = double, unsigned int VDimension = 3>
using itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::ConstPointer = SmartPointer<const Self>

Definition at line 98 of file itkAzimuthElevationToCartesianTransform.h.

◆ InputPointType

template<typename TParametersValueType = double, unsigned int VDimension = 3>

Standard coordinate point type for this class

◆ MatrixType

template<typename TParametersValueType = double, unsigned int VDimension = 3>
using itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::MatrixType = Matrix<TParametersValueType, Self::SpaceDimension, Self::SpaceDimension>

Standard matrix type for this class.

Definition at line 128 of file itkAzimuthElevationToCartesianTransform.h.

◆ OutputPointType

template<typename TParametersValueType = double, unsigned int VDimension = 3>

◆ Pointer

template<typename TParametersValueType = double, unsigned int VDimension = 3>
using itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::Pointer = SmartPointer<Self>

Definition at line 97 of file itkAzimuthElevationToCartesianTransform.h.

◆ Self

template<typename TParametersValueType = double, unsigned int VDimension = 3>
using itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::Self = AzimuthElevationToCartesianTransform

Standard class type aliases.

Definition at line 95 of file itkAzimuthElevationToCartesianTransform.h.

◆ Superclass

template<typename TParametersValueType = double, unsigned int VDimension = 3>
using itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::Superclass = AffineTransform<TParametersValueType, VDimension>

Definition at line 96 of file itkAzimuthElevationToCartesianTransform.h.

Constructor & Destructor Documentation

◆ AzimuthElevationToCartesianTransform()

template<typename TParametersValueType = double, unsigned int VDimension = 3>
itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::AzimuthElevationToCartesianTransform ( )
protected

◆ ~AzimuthElevationToCartesianTransform()

template<typename TParametersValueType = double, unsigned int VDimension = 3>
itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::~AzimuthElevationToCartesianTransform ( )
overrideprotecteddefault

Member Function Documentation

◆ BackTransform()

template<typename TParametersValueType = double, unsigned int VDimension = 3>
InputPointType itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::BackTransform ( const OutputPointType & point) const
inline

Back transform from cartesian to azimuth-elevation.

Definition at line 151 of file itkAzimuthElevationToCartesianTransform.h.

References m_ForwardAzimuthElevationToPhysical, itk::point(), TransformAzElToCartesian(), and TransformCartesianToAzEl().

Referenced by BackTransformPoint().

◆ BackTransformPoint()

template<typename TParametersValueType = double, unsigned int VDimension = 3>
InputPointType itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::BackTransformPoint ( const OutputPointType & point) const
inline

Definition at line 167 of file itkAzimuthElevationToCartesianTransform.h.

References BackTransform(), and itk::point().

◆ GetTransformCategory()

template<typename TParametersValueType = double, unsigned int VDimension = 3>
TransformCategoryEnum itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::GetTransformCategory ( ) const
inlineoverridevirtual

Overrides the TransformCategoryEnum to UnknownTransformCategory. Even though this class derives from AffineTransform, its not a linear transform

Implements TransformBaseTemplate< double >.

Definition at line 176 of file itkAzimuthElevationToCartesianTransform.h.

References TransformBaseTemplate< double >::UnknownTransformCategory.

◆ ITK_DISALLOW_COPY_AND_MOVE()

template<typename TParametersValueType = double, unsigned int VDimension = 3>
itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::ITK_DISALLOW_COPY_AND_MOVE ( AzimuthElevationToCartesianTransform< TParametersValueType, VDimension > )

◆ itkGetConstMacro() [1/6]

template<typename TParametersValueType = double, unsigned int VDimension = 3>
itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::itkGetConstMacro ( AzimuthAngularSeparation ,
double  )

Set the number of degrees between each azimuth unit.

◆ itkGetConstMacro() [2/6]

template<typename TParametersValueType = double, unsigned int VDimension = 3>
itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::itkGetConstMacro ( ElevationAngularSeparation ,
double  )

Set the number of degrees between each elevation unit.

◆ itkGetConstMacro() [3/6]

template<typename TParametersValueType = double, unsigned int VDimension = 3>
itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::itkGetConstMacro ( FirstSampleDistance ,
double  )

Set the distance to add to the radius.

◆ itkGetConstMacro() [4/6]

template<typename TParametersValueType = double, unsigned int VDimension = 3>
itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::itkGetConstMacro ( MaxAzimuth ,
long  )

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.

◆ itkGetConstMacro() [5/6]

template<typename TParametersValueType = double, unsigned int VDimension = 3>
itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::itkGetConstMacro ( MaxElevation ,
long  )

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.

◆ itkGetConstMacro() [6/6]

template<typename TParametersValueType = double, unsigned int VDimension = 3>
itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::itkGetConstMacro ( RadiusSampleSize ,
double  )

Set the number of cartesian units between each unit along the R .

◆ itkNewMacro()

template<typename TParametersValueType = double, unsigned int VDimension = 3>
itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::itkNewMacro ( Self )

New macro for creation of through a Smart Pointer.

◆ itkOverrideGetNameOfClassMacro()

template<typename TParametersValueType = double, unsigned int VDimension = 3>
itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::itkOverrideGetNameOfClassMacro ( AzimuthElevationToCartesianTransform< TParametersValueType, VDimension > )

◆ itkSetMacro() [1/6]

template<typename TParametersValueType = double, unsigned int VDimension = 3>
itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::itkSetMacro ( AzimuthAngularSeparation ,
double  )

Set the number of degrees between each azimuth unit.

◆ itkSetMacro() [2/6]

template<typename TParametersValueType = double, unsigned int VDimension = 3>
itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::itkSetMacro ( ElevationAngularSeparation ,
double  )

Set the number of degrees between each elevation unit.

◆ itkSetMacro() [3/6]

template<typename TParametersValueType = double, unsigned int VDimension = 3>
itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::itkSetMacro ( FirstSampleDistance ,
double  )

Set the distance to add to the radius.

◆ itkSetMacro() [4/6]

template<typename TParametersValueType = double, unsigned int VDimension = 3>
itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::itkSetMacro ( MaxAzimuth ,
long  )

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.

◆ itkSetMacro() [5/6]

template<typename TParametersValueType = double, unsigned int VDimension = 3>
itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::itkSetMacro ( MaxElevation ,
long  )

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.

◆ itkSetMacro() [6/6]

template<typename TParametersValueType = double, unsigned int VDimension = 3>
itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::itkSetMacro ( RadiusSampleSize ,
double  )

Set the number of cartesian units between each unit along the R .

◆ PrintSelf()

template<typename TParametersValueType = double, unsigned int VDimension = 3>
void itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::PrintSelf ( std::ostream & os,
Indent indent ) const
overrideprotected

Print contents of an AzimuthElevationTransform.

◆ SetAzimuthElevationToCartesianParameters() [1/2]

template<typename TParametersValueType = double, unsigned int VDimension = 3>
void itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::SetAzimuthElevationToCartesianParameters ( const double sampleSize,
const double firstSampleDistance,
const long maxAzimuth,
const long maxElevation )

◆ SetAzimuthElevationToCartesianParameters() [2/2]

template<typename TParametersValueType = double, unsigned int VDimension = 3>
void itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::SetAzimuthElevationToCartesianParameters ( const double sampleSize,
const double firstSampleDistance,
const long maxAzimuth,
const long maxElevation,
const double azimuthAngleSeparation,
const double elevationAngleSeparation )

Set the transformation parameters.

◆ SetForwardAzimuthElevationToCartesian()

template<typename TParametersValueType = double, unsigned int VDimension = 3>
void itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::SetForwardAzimuthElevationToCartesian ( )

Defines that the forward transform goes from azimuth,elevation to cartesian.

◆ SetForwardCartesianToAzimuthElevation()

template<typename TParametersValueType = double, unsigned int VDimension = 3>
void itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::SetForwardCartesianToAzimuthElevation ( )

Defines that the forward transform goes from cartesian to azimuth, elevation.

◆ TransformAzElToCartesian()

template<typename TParametersValueType = double, unsigned int VDimension = 3>
OutputPointType itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::TransformAzElToCartesian ( const InputPointType & point) const

Transform a point from azimuth-elevation coordinates to Cartesian coordinates.

References itk::point().

Referenced by BackTransform().

◆ TransformCartesianToAzEl()

template<typename TParametersValueType = double, unsigned int VDimension = 3>
OutputPointType itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::TransformCartesianToAzEl ( const OutputPointType & point) const

Transform a point from Cartesian coordinates to azimuth-elevation coordinates.

References itk::point().

Referenced by BackTransform().

◆ TransformPoint()

template<typename TParametersValueType = double, unsigned int VDimension = 3>
OutputPointType itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::TransformPoint ( const InputPointType & point) const
override

Transform from azimuth-elevation to cartesian.

References itk::point().

Member Data Documentation

◆ m_AzimuthAngularSeparation

template<typename TParametersValueType = double, unsigned int VDimension = 3>
double itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::m_AzimuthAngularSeparation {}
private

Definition at line 250 of file itkAzimuthElevationToCartesianTransform.h.

◆ m_ElevationAngularSeparation

template<typename TParametersValueType = double, unsigned int VDimension = 3>
double itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::m_ElevationAngularSeparation {}
private

Definition at line 251 of file itkAzimuthElevationToCartesianTransform.h.

◆ m_FirstSampleDistance

template<typename TParametersValueType = double, unsigned int VDimension = 3>
double itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::m_FirstSampleDistance {}
private

Definition at line 252 of file itkAzimuthElevationToCartesianTransform.h.

◆ m_ForwardAzimuthElevationToPhysical

template<typename TParametersValueType = double, unsigned int VDimension = 3>
bool itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::m_ForwardAzimuthElevationToPhysical {}
private

Definition at line 253 of file itkAzimuthElevationToCartesianTransform.h.

Referenced by BackTransform().

◆ m_MaxAzimuth

template<typename TParametersValueType = double, unsigned int VDimension = 3>
long itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::m_MaxAzimuth {}
private

Definition at line 247 of file itkAzimuthElevationToCartesianTransform.h.

◆ m_MaxElevation

template<typename TParametersValueType = double, unsigned int VDimension = 3>
long itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::m_MaxElevation {}
private

Definition at line 248 of file itkAzimuthElevationToCartesianTransform.h.

◆ m_RadiusSampleSize

template<typename TParametersValueType = double, unsigned int VDimension = 3>
double itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::m_RadiusSampleSize {}
private

Definition at line 249 of file itkAzimuthElevationToCartesianTransform.h.

◆ ParametersDimension

template<typename TParametersValueType = double, unsigned int VDimension = 3>
unsigned int itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::ParametersDimension = VDimension * (VDimension + 1)
staticconstexpr

Definition at line 102 of file itkAzimuthElevationToCartesianTransform.h.

◆ SpaceDimension

template<typename TParametersValueType = double, unsigned int VDimension = 3>
unsigned int itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >::SpaceDimension = VDimension
staticconstexpr

Dimension of the domain space.

Definition at line 101 of file itkAzimuthElevationToCartesianTransform.h.


The documentation for this class was generated from the following file: