|
lsst.afw
13.0-110-ge674a0930
|
Describe a detector's orientation in the focal plane. More...
#include <Orientation.h>
Public Member Functions | |
| Orientation (geom::Point2D const fpPosition=geom::Point2D(0, 0), geom::Point2D const refPoint=geom::Point2D(-0.5, -0.5), geom::Angle const yaw=geom::Angle(0), geom::Angle const pitch=geom::Angle(0), geom::Angle const roll=geom::Angle(0)) | |
| geom::Point2D | getFpPosition () const |
| Return focal plane position of detector reference point (mm) More... | |
| geom::Point2D | getReferencePoint () const |
| Return detector reference point (pixels) More... | |
| geom::Angle | getYaw () const |
| Return the yaw angle. More... | |
| lsst::afw::geom::Angle | getPitch () const |
| Return the pitch angle. More... | |
| geom::Angle | getRoll () const |
| Return the roll angle. More... | |
| int | getNQuarter () const |
| Return the number of quarter turns (rounded to the closest quarter) More... | |
| geom::Transform< geom::Point2Endpoint, geom::Point2Endpoint > | makePixelFpTransform (geom::Extent2D const pixelSizeMm) const |
| Generate a Transform from pixel to focal plane coordinates. More... | |
| geom::Transform< geom::Point2Endpoint, geom::Point2Endpoint > | makeFpPixelTransform (geom::Extent2D const pixelSizeMm) const |
| Generate a Transform from focal plane to pixel coordinates. More... | |
Describe a detector's orientation in the focal plane.
All rotations are about the reference point on the detector. Rotations are intrinsic, meaning each rotation is applied in the coordinates system produced by the previous rotation. Rotations are applied in this order: yaw (Z), pitch (Y'), and roll (X'').
Definition at line 51 of file Orientation.h.
|
explicit |
| fpPosition | Focal plane position of detector reference point (mm) |
| refPoint | Reference point on detector (pixels). Offset is measured to this point and all all rotations are about this point. The default value (-0.5, -0.5) is the lower left corner of the detector. |
| yaw | yaw: rotation about Z (X to Y), 1st rotation |
| pitch | pitch: rotation about Y' (Z'=Z to X'), 2nd rotation |
| roll | roll: rotation about X'' (Y''=Y' to Z''), 3rd rotation |
Definition at line 31 of file Orientation.cc.
|
inline |
Return focal plane position of detector reference point (mm)
Definition at line 68 of file Orientation.h.
| int lsst::afw::cameraGeom::Orientation::getNQuarter | ( | ) | const |
Return the number of quarter turns (rounded to the closest quarter)
Definition at line 50 of file Orientation.cc.
|
inline |
Return the pitch angle.
Definition at line 77 of file Orientation.h.
|
inline |
Return detector reference point (pixels)
Definition at line 71 of file Orientation.h.
|
inline |
Return the roll angle.
Definition at line 80 of file Orientation.h.
|
inline |
Return the yaw angle.
Definition at line 74 of file Orientation.h.
| Transform lsst::afw::cameraGeom::Orientation::makeFpPixelTransform | ( | geom::Extent2D const | pixelSizeMm | ) | const |
Generate a Transform from focal plane to pixel coordinates.
| pixelSizeMm | Size of the pixel in mm in X and Y |
Definition at line 71 of file Orientation.cc.
| Transform lsst::afw::cameraGeom::Orientation::makePixelFpTransform | ( | geom::Extent2D const | pixelSizeMm | ) | const |
Generate a Transform from pixel to focal plane coordinates.
| pixelSizeMm | Size of the pixel in mm in X and Y |
Definition at line 58 of file Orientation.cc.
1.8.13