18 #ifndef __itkAzimuthElevationToCartesianTransform_h
19 #define __itkAzimuthElevationToCartesianTransform_h
22 #include "vnl/vnl_math.h"
79 template<
class TScalarType = float,
80 unsigned int NDimensions = 3 >
93 itkStaticConstMacro(SpaceDimension,
unsigned int, NDimensions);
94 itkStaticConstMacro( ParametersDimension,
unsigned int,
95 NDimensions * ( NDimensions + 1 ) );
118 typedef Matrix< TScalarType, itkGetStaticConstMacro(SpaceDimension),
122 void SetAzimuthElevationToCartesianParameters(
123 const double sampleSize,
124 const double blanking,
125 const long maxAzimuth,
126 const long maxElevation,
127 const double azimuthAngleSeparation,
128 const double elevationAngleSeparation);
130 void SetAzimuthElevationToCartesianParameters(
const double sampleSize,
131 const double blanking,
132 const long maxAzimuth,
133 const long maxElevation);
143 if ( m_ForwardAzimuthElevationToPhysical )
145 result =
static_cast< InputPointType >( TransformCartesianToAzEl(point) );
149 result =
static_cast< InputPointType >( TransformAzElToCartesian(point) );
156 return BackTransform(point);
161 void SetForwardAzimuthElevationToCartesian();
165 void SetForwardCartesianToAzimuthElevation();
169 OutputPointType TransformAzElToCartesian(
const InputPointType & point)
const;
173 OutputPointType TransformCartesianToAzEl(
const OutputPointType & point)
const;
179 itkSetMacro(MaxAzimuth,
long);
180 itkGetConstMacro(MaxAzimuth,
long);
187 itkSetMacro(MaxElevation,
long);
188 itkGetConstMacro(MaxElevation,
long);
192 itkSetMacro(RadiusSampleSize,
double);
193 itkGetConstMacro(RadiusSampleSize,
double);
197 itkSetMacro(AzimuthAngularSeparation,
double);
198 itkGetConstMacro(AzimuthAngularSeparation,
double);
202 itkSetMacro(ElevationAngularSeparation,
double);
203 itkGetConstMacro(ElevationAngularSeparation,
double);
207 itkSetMacro(FirstSampleDistance,
double);
208 itkGetConstMacro(FirstSampleDistance,
double);
219 void PrintSelf(std::ostream & s,
Indent indent)
const;
224 void operator=(
const Self &);
238 #ifndef ITK_MANUAL_INSTANTIATION
239 #include "itkAzimuthElevationToCartesianTransform.hxx"