Class ExposureRecord

Inheritance Relationships

Base Type

Class Documentation

class ExposureRecord : public lsst::afw::table::BaseRecord

Record class used to store exposure metadata.

Unnamed Group

std::shared_ptr<geom::SkyWcs const> getWcs() const

Get/Set the the attached Wcs, Psf, PhotoCalib, or ApCorrMap. No copies are made.

void setWcs(std::shared_ptr<geom::SkyWcs const> wcs)
std::shared_ptr<detection::Psf const> getPsf() const
void setPsf(std::shared_ptr<detection::Psf const> psf)
std::shared_ptr<image::PhotoCalib const> getPhotoCalib() const
void setPhotoCalib(std::shared_ptr<image::PhotoCalib const> photoCalib)
std::shared_ptr<image::ApCorrMap const> getApCorrMap() const
void setApCorrMap(std::shared_ptr<image::ApCorrMap const> apCorrMap)
std::shared_ptr<geom::polygon::Polygon const> getValidPolygon() const
void setValidPolygon(std::shared_ptr<geom::polygon::Polygon const> polygon)
std::shared_ptr<image::VisitInfo const> getVisitInfo() const
void setVisitInfo(std::shared_ptr<image::VisitInfo const> visitInfo)
std::shared_ptr<image::TransmissionCurve const> getTransmissionCurve() const
void setTransmissionCurve(std::shared_ptr<image::TransmissionCurve const> transmissionCurve)
std::shared_ptr<cameraGeom::Detector const> getDetector() const
void setDetector(std::shared_ptr<cameraGeom::Detector const> detector)

Public Types

typedef ExposureTable Table
typedef ColumnViewT<ExposureRecord> ColumnView
typedef ExposureCatalogT<ExposureRecord> Catalog
typedef ExposureCatalogT<ExposureRecord const> ConstCatalog

Public Functions

ExposureRecord(ConstructionToken const &token, detail::RecordData &&data)

Constructor used by ExposureTable.

While formally public, this constructor is conceptually and effectively protected, due to the (protected) ConstructionToken argument.

This is to allow make_shared to be used, as that cannot be used on a truly protected or private constructor.

std::shared_ptr<ExposureTable const> getTable() const
RecordId getId() const
void setId(RecordId id)
lsst::geom::Box2I getBBox() const
void setBBox(lsst::geom::Box2I const &bbox)
bool contains(lsst::geom::SpherePoint const &coord, bool includeValidPolygon = false) const

Return true if the bounding box contains the given celestial coordinate point, taking into account the Wcs of the ExposureRecord.

If includeValidPolygon is true it will also check that the point is within the validPolygon of this ExpoureRecord if it has one; otherwise, this argument is ignored.

Exceptions

bool contains(lsst::geom::Point2D const &point, geom::SkyWcs const &wcs, bool includeValidPolygon = false) const

Return true if the bounding box contains the given point, taking into account its Wcs (given) and the Wcs of the ExposureRecord.

If includeValidPolygon is true it will also check that the point is within the validPolygon of this ExposureRecord if present if it has one; otherwise, this argument is ignored.

Exceptions

ExposureRecord(ExposureRecord const&)
ExposureRecord(ExposureRecord&&)
ExposureRecord &operator=(ExposureRecord const&)
ExposureRecord &operator=(ExposureRecord&&)
~ExposureRecord()

Protected Functions

void _assign(BaseRecord const &other)

Called by assign() after transferring fields to allow subclass data members to be copied.