23#if !defined(LSST_AFW_CAMERAGEOM_ORIENTATION_H)
24#define LSST_AFW_CAMERAGEOM_ORIENTATION_H
93 double getHeight() const noexcept {
return _fpPosition[2]; }
129 lsst::geom::Angle _yaw;
130 lsst::geom::Angle _pitch;
131 lsst::geom::Angle _roll;
135 Eigen::Matrix<
double, 2, 2, Eigen::DontAlign> _rotMat;
table::Point2DKey refPoint
table::Point3DKey fpPosition
table::Key< lsst::geom::Angle > yaw
table::Point2DKey fpPosition2
table::Key< lsst::geom::Angle > roll
table::Key< lsst::geom::Angle > pitch
Describe a detector's orientation in the focal plane.
lsst::geom::Point2D getReferencePoint() const noexcept
Return detector reference point (pixels)
lsst::geom::Angle getPitch() const noexcept
Return the pitch angle.
lsst::geom::Angle getYaw() const noexcept
Return the yaw angle.
double getHeight() const noexcept
std::shared_ptr< geom::TransformPoint2ToPoint2 > makePixelFpTransform(lsst::geom::Extent2D const pixelSizeMm) const
Generate a Transform from pixel to focal plane coordinates.
Orientation(lsst::geom::Point2D const fpPosition2, 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))
lsst::geom::Point3D getFpPosition3() const noexcept
std::shared_ptr< geom::TransformPoint2ToPoint2 > makeFpPixelTransform(lsst::geom::Extent2D const pixelSizeMm) const
Generate a Transform from focal plane to pixel coordinates.
lsst::geom::Point2D getFpPosition() const
Return focal plane position of detector reference point (mm)
int getNQuarter() const noexcept
Return the number of quarter turns (rounded to the closest quarter)
lsst::geom::Angle getRoll() const noexcept
Return the roll angle.
Extent< double, 2 > Extent2D
Point< double, 3 > Point3D
Point< double, 2 > Point2D