23 #if !defined(LSST_AFW_CAMERAGEOM_ORIENTATION_H) 24 #define LSST_AFW_CAMERAGEOM_ORIENTATION_H 28 #include "Eigen/Dense" 38 namespace cameraGeom {
120 Eigen::Matrix<double, 2, 2, Eigen::DontAlign> _rotMat;
lsst::geom::Point2D getFpPosition() const noexcept
Return focal plane position of detector reference point (mm)
lsst::geom::Angle getRoll() const noexcept
Return the roll angle.
std::shared_ptr< geom::TransformPoint2ToPoint2 > makePixelFpTransform(lsst::geom::Extent2D const pixelSizeMm) const
Generate a Transform from pixel to focal plane coordinates.
table::Point2DKey refPoint
std::shared_ptr< geom::TransformPoint2ToPoint2 > makeFpPixelTransform(lsst::geom::Extent2D const pixelSizeMm) const
Generate a Transform from focal plane to pixel coordinates.
A class representing an angle.
Describe a detector's orientation in the focal plane.
table::Key< lsst::geom::Angle > pitch
A base class for image defects.
int getNQuarter() const noexcept
Return the number of quarter turns (rounded to the closest quarter)
table::Key< lsst::geom::Angle > roll
Orientation(lsst::geom::Point2D const fpPosition=lsst::geom::Point2D(0, 0), lsst::geom::Point2D const refPoint=lsst::geom::Point2D(-0.5, -0.5), lsst::geom::Angle const yaw=lsst::geom::Angle(0), lsst::geom::Angle const pitch=lsst::geom::Angle(0), lsst::geom::Angle const roll=lsst::geom::Angle(0))
Orientation & operator=(Orientation const &) noexcept
table::Point2DKey fpPosition
table::Key< lsst::geom::Angle > yaw
lsst::geom::Angle getPitch() const noexcept
Return the pitch angle.
lsst::geom::Point2D getReferencePoint() const noexcept
Return detector reference point (pixels)
lsst::geom::Angle getYaw() const noexcept
Return the yaw angle.