lsst.afw  13.0-91-g2a3e2ee
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Member Functions | Friends | List of all members
lsst::afw::detection::PeakRecord Class Reference

Record class that represents a peak in a Footprint. More...

#include <Peak.h>

Inheritance diagram for lsst::afw::detection::PeakRecord:
lsst::afw::table::BaseRecord

Public Types

typedef PeakTable Table
 
typedef
afw::table::ColumnViewT
< PeakRecord > 
ColumnView
 
typedef afw::table::CatalogT
< PeakRecord > 
Catalog
 
typedef afw::table::CatalogT
< PeakRecord 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< PeakTable const > getTable () const
 
afw::table::RecordId getId () const
 Convenience accessors for the keys in the minimal schema. More...
 
void setId (afw::table::RecordId id)
 Convenience accessors for the keys in the minimal schema. More...
 
int getIx () const
 Convenience accessors for the keys in the minimal schema. More...
 
int getIy () const
 Convenience accessors for the keys in the minimal schema. More...
 
void setIx (int ix)
 Convenience accessors for the keys in the minimal schema. More...
 
void setIy (int iy)
 Convenience accessors for the keys in the minimal schema. More...
 
afw::geom::Point2I getI () const
 Convenience accessors for the keys in the minimal schema. More...
 
afw::geom::Point2I getCentroid (bool) const
 Convenience accessors for the keys in the minimal schema. More...
 
float getFx () const
 Convenience accessors for the keys in the minimal schema. More...
 
float getFy () const
 Convenience accessors for the keys in the minimal schema. More...
 
void setFx (float fx)
 Convenience accessors for the keys in the minimal schema. More...
 
void setFy (float fy)
 Convenience accessors for the keys in the minimal schema. More...
 
afw::geom::Point2D getF () const
 Convenience accessors for the keys in the minimal schema. More...
 
afw::geom::Point2D getCentroid () const
 Convenience accessors for the keys in the minimal schema. More...
 
float getPeakValue () const
 Convenience accessors for the keys in the minimal schema. More...
 
void setPeakValue (float peakValue)
 Convenience accessors for the keys in the minimal schema. 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

 PeakRecord (std::shared_ptr< PeakTable > const &table)
 
- Protected Member Functions inherited from lsst::afw::table::BaseRecord
virtual void _assign (BaseRecord const &other)
 Called by assign() after transferring fields to allow subclass data members to be copied. More...
 
 BaseRecord (std::shared_ptr< BaseTable > const &table)
 Construct a record with uninitialized data. More...
 

Friends

class PeakTable
 

Detailed Description

Record class that represents a peak in a Footprint.

Definition at line 42 of file Peak.h.

Member Typedef Documentation

Definition at line 46 of file Peak.h.

Definition at line 45 of file Peak.h.

Definition at line 47 of file Peak.h.

Definition at line 44 of file Peak.h.

Constructor & Destructor Documentation

lsst::afw::detection::PeakRecord::PeakRecord ( std::shared_ptr< PeakTable > const &  table)
explicitprotected

Definition at line 93 of file Peak.cc.

Member Function Documentation

afw::geom::Point2I lsst::afw::detection::PeakRecord::getCentroid ( bool  ) const
inline

Convenience accessors for the keys in the minimal schema.

Definition at line 63 of file Peak.h.

afw::geom::Point2D lsst::afw::detection::PeakRecord::getCentroid ( ) const
inline

Convenience accessors for the keys in the minimal schema.

Definition at line 70 of file Peak.h.

afw::geom::Point2D lsst::afw::detection::PeakRecord::getF ( ) const
inline

Convenience accessors for the keys in the minimal schema.

Definition at line 69 of file Peak.h.

float lsst::afw::detection::PeakRecord::getFx ( ) const
inline

Convenience accessors for the keys in the minimal schema.

Definition at line 214 of file Peak.h.

float lsst::afw::detection::PeakRecord::getFy ( ) const
inline

Convenience accessors for the keys in the minimal schema.

Definition at line 215 of file Peak.h.

afw::geom::Point2I lsst::afw::detection::PeakRecord::getI ( ) const
inline

Convenience accessors for the keys in the minimal schema.

Definition at line 62 of file Peak.h.

afw::table::RecordId lsst::afw::detection::PeakRecord::getId ( ) const
inline

Convenience accessors for the keys in the minimal schema.

Definition at line 206 of file Peak.h.

int lsst::afw::detection::PeakRecord::getIx ( ) const
inline

Convenience accessors for the keys in the minimal schema.

Definition at line 209 of file Peak.h.

int lsst::afw::detection::PeakRecord::getIy ( ) const
inline

Convenience accessors for the keys in the minimal schema.

Definition at line 210 of file Peak.h.

float lsst::afw::detection::PeakRecord::getPeakValue ( ) const
inline

Convenience accessors for the keys in the minimal schema.

Definition at line 219 of file Peak.h.

std::shared_ptr<PeakTable const> lsst::afw::detection::PeakRecord::getTable ( ) const
inline

Definition at line 49 of file Peak.h.

void lsst::afw::detection::PeakRecord::setFx ( float  fx)
inline

Convenience accessors for the keys in the minimal schema.

Definition at line 216 of file Peak.h.

void lsst::afw::detection::PeakRecord::setFy ( float  fy)
inline

Convenience accessors for the keys in the minimal schema.

Definition at line 217 of file Peak.h.

void lsst::afw::detection::PeakRecord::setId ( afw::table::RecordId  id)
inline

Convenience accessors for the keys in the minimal schema.

Definition at line 207 of file Peak.h.

void lsst::afw::detection::PeakRecord::setIx ( int  ix)
inline

Convenience accessors for the keys in the minimal schema.

Definition at line 211 of file Peak.h.

void lsst::afw::detection::PeakRecord::setIy ( int  iy)
inline

Convenience accessors for the keys in the minimal schema.

Definition at line 212 of file Peak.h.

void lsst::afw::detection::PeakRecord::setPeakValue ( float  peakValue)
inline

Convenience accessors for the keys in the minimal schema.

Definition at line 220 of file Peak.h.

Friends And Related Function Documentation

friend class PeakTable
friend

Definition at line 80 of file Peak.h.


The documentation for this class was generated from the following files: