25 #ifndef LSST_AFW_GEOM_ELLIPSES_Quadrupole_h_INCLUDED
26 #define LSST_AFW_GEOM_ELLIPSES_Quadrupole_h_INCLUDED
40 namespace lsst {
namespace afw {
namespace geom {
namespace ellipses {
48 typedef boost::shared_ptr<Quadrupole>
Ptr;
49 typedef boost::shared_ptr<Quadrupole const>
ConstPtr;
54 typedef Eigen::Matrix<double,2,2,Eigen::DontAlign>
Matrix;
69 virtual std::string
getName()
const;
110 transformer.
apply(*
this);
115 convolution.
apply(*
this);
125 virtual void _assignToAxes(
double & a,
double &
b,
double & theta)
const;
142 #endif // !LSST_AFW_GEOM_ELLIPSES_Quadrupole_h_INCLUDED
virtual void readParameters(double const *iter)
An ellipse core with quadrupole moments as parameters.
Quadrupole & operator=(Quadrupole const &other)
Standard assignment.
boost::shared_ptr< BaseCore > Ptr
virtual void _assignToAxes(double &a, double &b, double &theta) const
boost::shared_ptr< Quadrupole const > ConstPtr
Definitions for BaseEllipse::Convolution and BaseCore::Convolution.
Quadrupole(BaseCore const &other)
Converting copy constructor.
virtual void _assignFromAxes(double a, double b, double theta)
Ptr clone() const
Deep copy the ellipse core.
virtual std::string getName() const
Return a string that identifies this parametrization.
virtual Jacobian _dAssignToAxes(double &a, double &b, double &theta) const
double const getIyy() const
Quadrupole(BaseCore::Convolution const &convolution)
Converting copy constructor.
Quadrupole(Quadrupole const &other)
Copy constructor.
Quadrupole(double ixx=1.0, double iyy=1.0, double ixy=0.0, bool normalize=false)
Construct from parameter values.
Eigen::Vector3d ParameterVector
Parameter vector type.
virtual Jacobian _dAssignFromAxes(double a, double b, double theta)
static Registrar< Quadrupole > registrar
Forward declarations, typedefs, and definitions for BaseCore.
virtual Jacobian _dAssignToQuadrupole(double &ixx, double &iyy, double &ixy) const
BaseCore & operator=(BaseCore const &other)
Set the parameters of this ellipse core from another.
double const getIxx() const
virtual void _assignFromQuadrupole(double ixx, double iyy, double ixy)
Matrix const & getMatrix() const
Return a 2x2 symmetric matrix of the parameters.
void apply(BaseCore &result) const
Quadrupole & operator=(BaseCore const &other)
Converting assignment.
A base class for parametrizations of the "core" of an ellipse - the ellipticity and size...
virtual BaseCore::Ptr _clone() const
Eigen::Matrix3d Jacobian
Parameter Jacobian matrix type.
double getDeterminant() const
Return the determinant of the matrix representation.
afw::table::Key< double > b
double const getIxy() const
virtual void writeParameters(double *iter) const
Eigen::Matrix< double, 2, 2, Eigen::DontAlign > Matrix
Matrix type for the matrix representation of Quadrupole parameters.
virtual Jacobian _dAssignFromQuadrupole(double ixx, double iyy, double ixy)
virtual void _assignToQuadrupole(double &ixx, double &iyy, double &ixy) const
A temporary-only expression object for ellipse core convolution.
virtual void normalize()
Put the parameters into a "standard form", and throw InvalidEllipseParameters if they cannot be norma...
boost::shared_ptr< Quadrupole > Ptr