22 #ifndef LSST_AFW_CAMERAGEOM_CAMERA_H 23 #define LSST_AFW_CAMERAGEOM_CAMERA_H 34 namespace cameraGeom {
177 #endif // LSST_AFW_CAMERAGEOM_CAMERA_H
Camera coordinate system; used as a key in in TransformMap.
std::shared_ptr< TransformMap const > getTransformMap() const noexcept
Obtain the transform registry.
An object passed to Persistable::write to allow it to persist itself.
DetectorList findDetectors(lsst::geom::Point2D const &point, CameraSys const &cameraSys) const
Find the detectors that cover a point in any camera system.
virtual ~Camera() noexcept
A collection of Detectors plus additional coordinate system support.
std::vector< std::shared_ptr< Detector > > List
std::string getName() const
Return the name of the camera.
std::vector< DetectorList > findDetectorsList(std::vector< lsst::geom::Point2D > const &pointList, CameraSys const &cameraSys) const
Find the detectors that cover a list of points in any camera system.
A base class for image defects.
Camera(std::string const &name, DetectorList const &detectorList, std::shared_ptr< TransformMap > transformMap, std::string const &pupilFactoryName)
Construct a camera.
std::shared_ptr< afw::geom::TransformPoint2ToPoint2 > getTransform(CameraSys const &fromSys, CameraSys const &toSys) const
Get a transform from one CameraSys to another.
lsst::geom::Point2D transform(lsst::geom::Point2D const &point, CameraSys const &fromSys, CameraSys const &toSys) const
Transform a point from one camera coordinate system to another.
An immutable collection of Detectors that can be accessed by name or ID.
A vector of catalogs used by Persistable.
bool isPersistable() const noexcept override
Cameras are always persistable.
table::Key< std::string > pupilFactoryName
Camera & operator=(Camera const &)=delete
void write(OutputArchiveHandle &handle) const override
Write the object to one or more catalogs.
A CRTP facade class for subclasses of Persistable.
std::string getPupilFactoryName() const
Return the fully-qualified name of the Python class that provides this Camera's PupilFactory.