|
lsst.afw
13.0-92-g8ecf155+1
|
Record class used to store exposure metadata. More...
#include <Exposure.h>
Public Types | |
| typedef ExposureTable | Table |
| typedef ColumnViewT < ExposureRecord > | ColumnView |
| typedef ExposureCatalogT < ExposureRecord > | Catalog |
| typedef ExposureCatalogT < ExposureRecord const > | ConstCatalog |
Public Types inherited from lsst::afw::table::BaseRecord | |
| typedef BaseTable | Table |
| The associated table class. More... | |
| typedef BaseColumnView | ColumnView |
| The associated ColumnView class. More... | |
| typedef CatalogT< BaseRecord > | Catalog |
| Template of CatalogT used to hold records of this type. More... | |
| typedef CatalogT< BaseRecord const > | ConstCatalog |
| Template of CatalogT used to hold const records of this type. More... | |
Public Member Functions | |
| std::shared_ptr< ExposureTable const > | getTable () const |
| RecordId | getId () const |
| void | setId (RecordId id) |
| geom::Box2I | getBBox () const |
| void | setBBox (geom::Box2I const &bbox) |
| bool | contains (Coord 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. More... | |
| bool | contains (geom::Point2D const &point, image::Wcs 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. More... | |
| std::shared_ptr< image::Wcs const > | getWcs () const |
| Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made. More... | |
| void | setWcs (std::shared_ptr< image::Wcs const > wcs) |
| Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made. More... | |
| std::shared_ptr < detection::Psf const > | getPsf () const |
| Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made. More... | |
| void | setPsf (std::shared_ptr< detection::Psf const > psf) |
| Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made. More... | |
| std::shared_ptr< image::Calib const > | getCalib () const |
| Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made. More... | |
| void | setCalib (std::shared_ptr< image::Calib const > calib) |
| Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made. More... | |
| std::shared_ptr < image::ApCorrMap const > | getApCorrMap () const |
| Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made. More... | |
| void | setApCorrMap (std::shared_ptr< image::ApCorrMap const > apCorrMap) |
| Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made. More... | |
| std::shared_ptr < geom::polygon::Polygon const > | getValidPolygon () const |
| Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made. More... | |
| void | setValidPolygon (std::shared_ptr< geom::polygon::Polygon const > polygon) |
| Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made. More... | |
| std::shared_ptr < image::VisitInfo const > | getVisitInfo () const |
| Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made. More... | |
| void | setVisitInfo (std::shared_ptr< image::VisitInfo const > visitInfo) |
| Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made. More... | |
Public Member Functions inherited from lsst::afw::table::BaseRecord | |
| BaseRecord (const BaseRecord &)=delete | |
| BaseRecord & | operator= (const BaseRecord &)=delete |
| BaseRecord (BaseRecord &&)=delete | |
| BaseRecord & | operator= (BaseRecord &&)=delete |
| Schema | getSchema () const |
| Return the Schema that holds this record's fields and keys. More... | |
| std::shared_ptr< BaseTable const > | getTable () const |
| Return the table this record is associated with. More... | |
| template<typename T > | |
| Field< T >::Element * | getElement (Key< T > const &key) |
| Return a pointer to the underlying elements of a field (non-const). More... | |
| template<typename T > | |
| Field< T >::Element const * | getElement (Key< T > const &key) const |
| Return a pointer to the underlying elements of a field (const). More... | |
| template<typename T > | |
| Field< T >::Reference | operator[] (Key< T > const &key) |
| Return a reference (or reference-like type) to the field's value. More... | |
| template<typename T > | |
| Field< T >::ConstReference | operator[] (Key< T > const &key) const |
| Return a const reference (or const-reference-like type) to the field's value. More... | |
| template<typename T > | |
| Field< T >::Value | get (Key< T > const &key) const |
| Return the value of a field for the given key. More... | |
| template<typename T , typename U > | |
| void | set (Key< T > const &key, U const &value) |
| Set value of a field for the given key. More... | |
| template<typename T > | |
| T | get (OutputFunctorKey< T > const &key) const |
| Compute a calculated or aggregate field. More... | |
| template<typename T , typename U > | |
| void | set (InputFunctorKey< T > const &key, U const &value) |
| Set a calculated or aggregate field. More... | |
| template<typename Ref > | |
| Ref | operator[] (ReferenceFunctorKey< Ref > const &key) |
| template<typename ConstRef > | |
| ConstRef | operator[] (ConstReferenceFunctorKey< ConstRef > const &key) const |
| void | assign (BaseRecord const &other) |
| Copy all field values from other to this, requiring that they have equal schemas. More... | |
| void | assign (BaseRecord const &other, SchemaMapper const &mapper) |
| Copy field values from other to this, using a mapper. More... | |
| ndarray::Manager::Ptr | getManager () const |
| virtual | ~BaseRecord () |
Protected Member Functions | |
| ExposureRecord (std::shared_ptr< ExposureTable > const &table) | |
| virtual void | _assign (BaseRecord const &other) |
| Called by assign() after transferring fields to allow subclass data members to be copied. More... | |
Protected Member Functions inherited from lsst::afw::table::BaseRecord | |
| BaseRecord (std::shared_ptr< BaseTable > const &table) | |
| Construct a record with uninitialized data. More... | |
Friends | |
| class | ExposureTable |
Record class used to store exposure metadata.
Definition at line 72 of file Exposure.h.
Definition at line 76 of file Exposure.h.
Definition at line 75 of file Exposure.h.
Definition at line 77 of file Exposure.h.
Definition at line 74 of file Exposure.h.
|
explicitprotected |
|
protectedvirtual |
Called by assign() after transferring fields to allow subclass data members to be copied.
Reimplemented from lsst::afw::table::BaseRecord.
| bool lsst::afw::table::ExposureRecord::contains | ( | Coord 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.
| pex::exceptions::LogicError | if the ExposureRecord has no Wcs. |
| bool lsst::afw::table::ExposureRecord::contains | ( | geom::Point2D const & | point, |
| image::Wcs 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.
| pex::exceptions::LogicError | if the ExposureRecord has no Wcs. |
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 124 of file Exposure.h.
| geom::Box2I lsst::afw::table::ExposureRecord::getBBox | ( | ) | const |
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 121 of file Exposure.h.
|
inline |
Definition at line 435 of file Exposure.h.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 118 of file Exposure.h.
|
inline |
Definition at line 79 of file Exposure.h.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 127 of file Exposure.h.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 130 of file Exposure.h.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 115 of file Exposure.h.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 125 of file Exposure.h.
| void lsst::afw::table::ExposureRecord::setBBox | ( | geom::Box2I const & | bbox | ) |
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 122 of file Exposure.h.
|
inline |
Definition at line 436 of file Exposure.h.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 119 of file Exposure.h.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 128 of file Exposure.h.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 131 of file Exposure.h.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 116 of file Exposure.h.
|
friend |
Definition at line 140 of file Exposure.h.
1.8.5