LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
22 #ifndef LSST_AFW_CAMERAGEOM_CAMERA_H
23 #define LSST_AFW_CAMERAGEOM_CAMERA_H
34 namespace cameraGeom {
298 #endif // LSST_AFW_CAMERAGEOM_CAMERA_H
std::shared_ptr< Camera const > finish() const
Construct a new Camera from the state of the Builder.
An immutable representation of a camera.
bool isPersistable() const noexcept override
Cameras are always persistable.
Camera::Builder rebuild() const
Create a Camera::Builder object initialized with this camera's state.
std::string getName() const
Return the name of the camera.
Camera & operator=(Camera &&)=delete
table::Key< int > transformMap
void setPupilFactoryName(std::string const &pupilFactoryName)
Set the fully-qualified name of the Python class that provides this Camera's PupilFactory.
void remove(std::string const &name)
std::string getPupilFactoryName() const
Return the fully-qualified name of the Python class that provides this Camera's PupilFactory.
std::vector< std::shared_ptr< Detector const > > List
virtual ~Builder() noexcept
std::shared_ptr< TransformMap const > getTransformMap() const noexcept
Obtain the transform registry.
void remove(std::string const &name)
Remove the detector with the given name or ID.
A vector of catalogs used by Persistable.
virtual ~Camera() noexcept
DetectorCollection::List DetectorList
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.
table::Key< std::string > pupilFactoryName
A helper class that allows the properties of a detector to be modified in the course of modifying a f...
A base class for image defects.
An immutable collection of Detectors that can be accessed by name or ID.
Camera(Camera const &)=delete
void setName(std::string const &name)
Set the name of the camera.
Camera & operator=(Camera const &)=delete
void setTransformFromFocalPlaneTo(CameraSys const &toSys, std::shared_ptr< afw::geom::TransformPoint2ToPoint2 const > transform)
Set the transformation from FOCAL_PLANE to the given coordinate system.
std::shared_ptr< afw::geom::TransformPoint2ToPoint2 > getTransform(CameraSys const &fromSys, CameraSys const &toSys) const
Get a transform from one CameraSys to another.
std::shared_ptr< Detector::InCameraBuilder > add(std::string const &name, int id)
Add a new Detector with the given name and ID.
DetectorList findDetectors(lsst::geom::Point2D const &point, CameraSys const &cameraSys) const
Find the detectors that cover a point in any camera system.
table::Key< int > detector
A coordinate class intended to represent absolute positions.
A CRTP facade class for subclasses of Persistable.
A helper class for creating and modifying cameras.
std::string getPupilFactoryName() const
Return the fully-qualified name of the Python class that provides this Camera's PupilFactory.
void write(OutputArchiveHandle &handle) const override
Write the object to one or more catalogs.
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.
io::OutputArchiveHandle OutputArchiveHandle
bool discardTransformFromFocalPlaneTo(CameraSys const &toSys)
Remove any transformation from FOCAL_PLANE to the given coordinate system.
A representation of a detector in a mosaic camera.
Camera coordinate system; used as a key in in TransformMap.
An abstract base class for collections of Detectors and specific subclasses thereof.