25 #ifndef LSST_AFW_GEOM_ELLIPSES_Axes_h_INCLUDED
26 #define LSST_AFW_GEOM_ELLIPSES_Axes_h_INCLUDED
40 namespace lsst {
namespace afw {
namespace geom {
namespace ellipses {
48 typedef boost::shared_ptr<Axes>
Ptr;
49 typedef boost::shared_ptr<Axes const>
ConstPtr;
66 virtual std::string
getName()
const;
85 explicit Axes(
double a=1.0,
double b=1.0,
double theta=0.0,
bool normalize=
false) :
101 transformer.
apply(*
this);
106 convolution.
apply(*
this);
116 virtual void _assignToAxes(
double & a,
double &
b,
double & theta)
const;
133 #endif // !LSST_AFW_GEOM_ELLIPSES_Axes_h_INCLUDED
boost::shared_ptr< BaseCore > Ptr
virtual void _assignToAxes(double &a, double &b, double &theta) const
virtual void _assignFromAxes(double a, double b, double theta)
boost::shared_ptr< Axes > Ptr
void setTheta(double theta)
boost::shared_ptr< Axes const > ConstPtr
virtual void _assignToQuadrupole(double &ixx, double &iyy, double &ixy) const
Definitions for BaseEllipse::Convolution and BaseCore::Convolution.
virtual Jacobian _dAssignFromAxes(double a, double b, double theta)
virtual BaseCore::Ptr _clone() const
Axes & operator=(Axes const &other)
Standard assignment.
static Registrar< Axes > registrar
Axes(BaseCore::ParameterVector const &vector, bool normalize=false)
Construct from a parameter vector.
virtual Jacobian _dAssignToQuadrupole(double &ixx, double &iyy, double &ixy) const
Axes & operator=(BaseCore const &other)
Converting assignment.
Axes(BaseCore const &other)
Converting copy constructor.
Eigen::Vector3d ParameterVector
Parameter vector type.
virtual void readParameters(double const *iter)
virtual void writeParameters(double *iter) const
Forward declarations, typedefs, and definitions for BaseCore.
virtual void _assignFromQuadrupole(double ixx, double iyy, double ixy)
double const getA() const
Ptr clone() const
Deep copy the ellipse core.
double const getTheta() const
BaseCore & operator=(BaseCore const &other)
Set the parameters of this ellipse core from another.
double const getB() const
void apply(BaseCore &result) const
Axes(BaseCore::Convolution const &convolution)
Converting copy constructor.
An ellipse core for the semimajor/semiminor axis and position angle parametrization (a...
Axes(Axes const &other)
Copy constructor.
A base class for parametrizations of the "core" of an ellipse - the ellipticity and size...
Axes(double a=1.0, double b=1.0, double theta=0.0, bool normalize=false)
Construct from parameter values.
Eigen::Matrix3d Jacobian
Parameter Jacobian matrix type.
afw::table::Key< double > b
virtual std::string getName() const
Return a string that identifies this parametrization.
virtual Jacobian _dAssignFromQuadrupole(double ixx, double iyy, double ixy)
A temporary-only expression object for ellipse core convolution.
virtual void normalize()
Put the parameters into a "standard form", if possible, and throw InvalidEllipseParameters if they ca...
virtual Jacobian _dAssignToAxes(double &a, double &b, double &theta) const