|
lsst.afw
16.0-43-gaa65a4573
|
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 |
| typedef unsigned long | memId |
| typedef memId(* | memNewCallback) (const memId cid) |
| typedef memId(* | memCallback) (const Citizen *ptr) |
Public Member Functions | |
| 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. More... | |
| 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. More... | |
| ExposureRecord (ExposureRecord const &)=delete | |
| ExposureRecord (ExposureRecord &&)=delete | |
| ExposureRecord & | operator= (ExposureRecord const &)=delete |
| ExposureRecord & | operator= (ExposureRecord &&)=delete |
| ~ExposureRecord () override | |
| Schema | getSchema () const |
| Return the Schema that holds this record's fields and keys. 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 Ref > | |
| Ref | operator[] (ReferenceFunctorKey< Ref > const &key) |
| template<typename ConstRef > | |
| ConstRef | operator[] (ConstReferenceFunctorKey< ConstRef > const &key) const |
| 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 > | |
| T | get (OutputFunctorKey< T > const &key) const |
| Compute a calculated or aggregate field. 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 , typename U > | |
| void | set (InputFunctorKey< T > const &key, U const &value) |
| Set a calculated or aggregate field. More... | |
| 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 |
| std::string | repr () const |
| void | markPersistent (void) |
| std::shared_ptr< geom::SkyWcs const > | getWcs () const |
| Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made. More... | |
| void | setWcs (std::shared_ptr< geom::SkyWcs 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... | |
| std::shared_ptr< image::TransmissionCurve const > | getTransmissionCurve () const |
| Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made. More... | |
| void | setTransmissionCurve (std::shared_ptr< image::TransmissionCurve const > transmissionCurve) |
| Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made. More... | |
Static Public Member Functions | |
| static bool | hasBeenCorrupted () |
| static memId | getNextMemId () |
| static int | init () |
| static int | census (int, memId startingMemId=0) |
| static void | census (std::ostream &stream, memId startingMemId=0) |
| static const std::vector< const Citizen *> * | census () |
| static int | census (int, memId startingMemId=0) |
| static void | census (std::ostream &stream, memId startingMemId=0) |
| static const std::vector< const Citizen *> * | census () |
| static memId | setNewCallbackId (memId id) |
| static memId | setNewCallbackId (memId id) |
| static memId | setDeleteCallbackId (memId id) |
| static memId | setDeleteCallbackId (memId id) |
| static memNewCallback | setNewCallback (memNewCallback func) |
| static memCallback | setDeleteCallback (memCallback func) |
| static memCallback | setCorruptionCallback (memCallback func) |
Public Attributes | |
| magicSentinel | |
Protected Member Functions | |
| ExposureRecord (std::shared_ptr< ExposureTable > const &table) | |
| void | _assign (BaseRecord const &other) override |
| Called by assign() after transferring fields to allow subclass data members to be copied. More... | |
| virtual void | _stream (std::ostream &os) const |
| Called by operator<<. More... | |
Friends | |
| class | ExposureTable |
Record class used to store exposure metadata.
Definition at line 75 of file Exposure.h.
Definition at line 79 of file Exposure.h.
Definition at line 78 of file Exposure.h.
Definition at line 80 of file Exposure.h.
Definition at line 77 of file Exposure.h.
|
delete |
|
delete |
|
overridedefault |
|
explicitprotected |
Definition at line 347 of file Exposure.cc.
|
overrideprotectedvirtual |
Called by assign() after transferring fields to allow subclass data members to be copied.
Reimplemented from lsst::afw::table::BaseRecord.
Definition at line 351 of file Exposure.cc.
|
protectedvirtualinherited |
Called by operator<<.
Overrides should call the base class implementation and append additional fields on new lines, with the syntax "%(name)s: %(value)s".
Definition at line 95 of file BaseRecord.cc.
|
inherited |
Copy all field values from other to this, requiring that they have equal schemas.
Definition at line 74 of file BaseRecord.cc.
|
inherited |
Copy field values from other to this, using a mapper.
Definition at line 82 of file BaseRecord.cc.
| bool lsst::afw::table::ExposureRecord::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.
| pex::exceptions::LogicError | if the ExposureRecord has no Wcs. |
Definition at line 319 of file Exposure.cc.
| bool lsst::afw::table::ExposureRecord::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.
| pex::exceptions::LogicError | if the ExposureRecord has no Wcs. |
Definition at line 342 of file Exposure.cc.
|
inlineinherited |
Return the value of a field for the given key.
No checking is done to ensure the Key belongs to the correct schema.
Definition at line 125 of file BaseRecord.h.
|
inlineinherited |
Compute a calculated or aggregate field.
Definition at line 146 of file BaseRecord.h.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 128 of file Exposure.h.
| lsst::geom::Box2I lsst::afw::table::ExposureRecord::getBBox | ( | ) | const |
Definition at line 313 of file Exposure.cc.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 125 of file Exposure.h.
|
inlineinherited |
Return a pointer to the underlying elements of a field (non-const).
This low-level access is intended mostly for use with serialization; users should generally prefer the safer get(), set() and operator[] member functions.
Definition at line 67 of file BaseRecord.h.
|
inlineinherited |
Return a pointer to the underlying elements of a field (const).
This low-level access is intended mostly for use with serialization; users should generally prefer the safer get(), set() and operator[] member functions.
Definition at line 85 of file BaseRecord.h.
|
inline |
Definition at line 470 of file Exposure.h.
|
inlineinherited |
Definition at line 174 of file BaseRecord.h.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 122 of file Exposure.h.
|
inlineinherited |
Return the Schema that holds this record's fields and keys.
Definition at line 54 of file BaseRecord.h.
|
inline |
Definition at line 82 of file Exposure.h.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 137 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 134 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.
|
delete |
|
delete |
|
inlineinherited |
Return a reference (or reference-like type) to the field's value.
Some field types (Point, Moments, Flag, Covariance, and SpherePoint) do not support reference access.
No checking is done to ensure the Key belongs to the correct schema.
Definition at line 103 of file BaseRecord.h.
|
inlineinherited |
Return a const reference (or const-reference-like type) to the field's value.
Some field types (Point, Moments, Flag, Covariance, and SpherePoint) do not support reference access.
No checking is done to ensure the Key belongs to the correct schema.
Definition at line 115 of file BaseRecord.h.
|
inlineinherited |
Definition at line 159 of file BaseRecord.h.
|
inlineinherited |
Definition at line 164 of file BaseRecord.h.
|
inlineinherited |
Set value of a field for the given key.
This method has an additional template parameter because some fields accept and convert different types to the stored field type.
No checking is done to ensure the Key belongs to the correct schema.
Definition at line 138 of file BaseRecord.h.
|
inlineinherited |
Set a calculated or aggregate field.
Definition at line 154 of file BaseRecord.h.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 129 of file Exposure.h.
| void lsst::afw::table::ExposureRecord::setBBox | ( | lsst::geom::Box2I const & | bbox | ) |
Definition at line 317 of file Exposure.cc.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 126 of file Exposure.h.
|
inline |
Definition at line 471 of file Exposure.h.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 123 of file Exposure.h.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 140 of file Exposure.h.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 132 of file Exposure.h.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 135 of file Exposure.h.
|
inline |
Get/Set the the attached Wcs, Psf, Calib, or ApCorrMap. No copies are made.
Definition at line 120 of file Exposure.h.
|
friend |
Definition at line 157 of file Exposure.h.
1.8.13