Class ShapeSlotDefinition

Inheritance Relationships

Base Type

Class Documentation

class ShapeSlotDefinition : public lsst::afw::table::SlotDefinition

SlotDefinition specialization for shapes.

Public Types

typedef geom::ellipses::Quadrupole MeasValue

Type returned by accessing the slot measurement.

typedef Eigen::Matrix<float, 3, 3> ErrValue

Type returned by accessing the slot uncertainty.

typedef QuadrupoleKey MeasKey

Key type used to access the slot measurement.

typedef CovarianceMatrixKey<float, 3> ErrKey

Key type used to access the slot uncertainty.

Public Functions

ShapeSlotDefinition(std::string const &name)

Construct a SlotDefinition from the name of the slot (e.g. “Shape”)

bool isValid() const

Return true if the key associated with the measurement is valid.

MeasKey getMeasKey() const

Return the cached Key used to access the slot measurement.

ErrKey getErrKey() const

Return the cached Key used to access the slot uncertainty.

Key<Flag> getFlagKey() const

Return the cached Key used to access the slot failure flag.

void setKeys(std::string const &alias, Schema const &schema)

Update the cached Keys following an change of aliases in the given Schema

This method is intended for internal use by SourceTable only.

Parameters
  • [in] alias: If non-empty, abort early if this string does not start with getAlias() (used to see if an alias change might have affected this slot, and avoid unnecessary work if not).

  • [in] schema: Schema to search for Keys.

ShapeSlotDefinition(ShapeSlotDefinition const&)
ShapeSlotDefinition(ShapeSlotDefinition&&)
ShapeSlotDefinition &operator=(ShapeSlotDefinition const&)
ShapeSlotDefinition &operator=(ShapeSlotDefinition&&)
~ShapeSlotDefinition()