Class SipTransformBase

Inheritance Relationships

Derived Types

Class Documentation

class SipTransformBase

Base class for SIP transform objects.

This class simply provides some getters for its derived classes. It should not be used directly, and does not define a polymorphic interface.

Subclassed by lsst::meas::astrom::SipForwardTransform, lsst::meas::astrom::SipReverseTransform

Public Functions

geom::Point2D const &getPixelOrigin() const

Return the pixel origin (CRPIX, but zero-indexed) of the transform.

geom::LinearTransform const &getCdMatrix() const

Return the CD matrix of the transform.

PolynomialTransform const &getPoly() const

Return the polynomial component of the transform (A,B) or (AP,BP).

Protected Functions

SipTransformBase(geom::Point2D const &pixelOrigin, geom::LinearTransform const &cdMatrix, PolynomialTransform const &poly)

Construct a SipTransformBase from its components.

See SipForwardTransform and SipReverseTransform for more extensive definitions.

Parameters
  • [in] pixelOrigin: CRPIX \((u_0,v_0)\) (zero-indexed)

  • [in] cdMatrix: CD matrix \(Z\)

  • [in] poly: Either the forward or reverse SIP polynomial (depending on the derived class).

SipTransformBase(SipTransformBase const &other)
SipTransformBase(SipTransformBase &&other)
SipTransformBase &operator=(SipTransformBase const &other)
SipTransformBase &operator=(SipTransformBase &&other)
void swap(SipTransformBase &other)
void transformPixelsInPlace(geom::AffineTransform const &s)

Protected Attributes

geom::Point2D _pixelOrigin
geom::LinearTransform _cdMatrix
PolynomialTransform _poly