25 #ifndef LSST_AFW_GEOM_ELLIPSES_Separable_h_INCLUDED
26 #define LSST_AFW_GEOM_ELLIPSES_Separable_h_INCLUDED
40 namespace lsst {
namespace afw {
namespace geom {
namespace ellipses {
47 template <
typename Ellipticity_,
typename Radius_>
51 typedef boost::shared_ptr<Separable>
Ptr;
52 typedef boost::shared_ptr<Separable const>
ConstPtr;
77 virtual std::string
getName()
const;
99 explicit Separable(std::complex<double>
const & complex,
117 transformer.
apply(*
this);
122 convolution.
apply(*
this);
132 virtual void _assignToAxes(
double & a,
double &
b,
double & theta)
const;
151 #endif // !LSST_AFW_GEOM_ELLIPSES_Separable_h_INCLUDED
boost::shared_ptr< BaseCore > Ptr
Separable & operator=(BaseCore const &other)
Converting assignment.
Separable(Separable const &other)
Copy constructor.
boost::shared_ptr< Separable const > ConstPtr
Separable & operator=(Separable const &other)
Standard assignment.
virtual void writeParameters(double *iter) const
void setRadius(Radius const &radius)
virtual Jacobian _dAssignFromAxes(double a, double b, double theta)
virtual void _assignToAxes(double &a, double &b, double &theta) const
Definitions for BaseEllipse::Convolution and BaseCore::Convolution.
Separable(double e1=0.0, double e2=0.0, double radius=Radius(), bool normalize=true)
Construct from parameter values.
virtual void _assignToQuadrupole(double &ixx, double &iyy, double &ixy) const
Separable(BaseCore::Convolution const &convolution)
Converting copy constructor.
virtual Jacobian _dAssignFromQuadrupole(double ixx, double iyy, double ixy)
double const getE1() const
Separable(BaseCore const &other)
Converting copy constructor.
double const getE2() const
Ellipticity & getEllipticity()
virtual Jacobian _dAssignToAxes(double &a, double &b, double &theta) const
Eigen::Vector3d ParameterVector
Parameter vector type.
Forward declarations, typedefs, and definitions for BaseCore.
virtual std::string getName() const
Return a string that identifies this parametrization.
void setRadius(double radius)
Ellipticity const & getEllipticity() const
virtual void readParameters(double const *iter)
virtual void _assignFromAxes(double a, double b, double theta)
Ptr clone() const
Deep copy the ellipse core.
BaseCore & operator=(BaseCore const &other)
Set the parameters of this ellipse core from another.
virtual void _assignFromQuadrupole(double ixx, double iyy, double ixy)
void apply(BaseCore &result) const
An ellipse core with a complex ellipticity and radius parameterization.
virtual BaseCore::Ptr _clone() const
Radius const & getRadius() const
A base class for parametrizations of the "core" of an ellipse - the ellipticity and size...
virtual Jacobian _dAssignToQuadrupole(double &ixx, double &iyy, double &ixy) const
boost::shared_ptr< Separable > Ptr
Eigen::Matrix3d Jacobian
Parameter Jacobian matrix type.
afw::table::Key< double > b
static BaseCore::Registrar< Separable > registrar
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...