23#if !defined(LSST_AFW_CAMERAGEOM_ORIENTATION_H)
24#define LSST_AFW_CAMERAGEOM_ORIENTATION_H
74 ) :
Orientation(
lsst::
geom::Point3D(fpPosition2[0], fpPosition2[1], 0.0), refPoint, yaw, pitch, roll)
93 double getHeight() const noexcept {
return _fpPosition[2]; }
113 lsst::
geom::Extent2D const pixelSizeMm
122 lsst::
geom::Extent2D const pixelSizeMm
135 Eigen::Matrix<
double, 2, 2, Eigen::DontAlign> _rotMat;
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
Orientation(lsst::geom::Point3D const fpPosition=lsst::geom::Point3D(0, 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))
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.
Point< double, 3 > Point3D
Point< double, 2 > Point2D