|
template<typename... Args> |
| ImagePsfTrampoline (Args... args) |
| Delegating constructor for wrapped class. More...
|
|
double | doComputeApertureFlux (double radius, geom::Point2D const &position, afw::image::Color const &color) const override |
|
afw::geom::ellipses::Quadrupole | doComputeShape (geom::Point2D const &position, afw::image::Color const &color) const override |
|
std::shared_ptr< Psf > | clone () const override |
|
std::shared_ptr< Psf > | resized (int width, int height) const override |
|
lsst::geom::Point2D | getAveragePosition () const override |
|
std::shared_ptr< Image > | doComputeImage (lsst::geom::Point2D const &position, image::Color const &color) const override |
|
std::shared_ptr< Image > | doComputeKernelImage (lsst::geom::Point2D const &position, image::Color const &color) const override |
|
lsst::geom::Box2I | doComputeBBox (lsst::geom::Point2D const &position, image::Color const &color) const override |
|
std::shared_ptr< Storable > | cloneStorable () const override |
|
std::string | toString () const override |
|
std::size_t | hash_value () const override |
|
bool | equals (Storable const &other) const noexcept override |
|
bool | equals (Storable const &other) const noexcept override |
|
void | writeFits (std::string const &fileName, std::string const &mode="w") const |
|
void | writeFits (fits::MemFileManager &manager, std::string const &mode="w") const |
|
void | writeFits (fits::Fits &fitsfile) const |
|
virtual bool | isPersistable () const noexcept |
|
std::ostream & | operator<< (std::ostream &os, Storable const &storable) |
|
std::ostream & | operator<< (std::ostream &os, Storable const &storable) |
|
template<typename Base = ImagePsf>
class lsst::meas::algorithms::ImagePsfTrampoline< Base >
"Trampoline" for ImagePsf to let it be used as a base class in Python.
Subclasses of ImagePsf that are wrapped in pybind11 should have a similar helper that subclasses ImagePsfTrampoline<subclass>
. This helper can be skipped if the subclass neither adds any virtual methods nor implements any abstract methods.
- Template Parameters
-
Base | the exact (most specific) class being wrapped |
- See also
- pybind11 documentation
Definition at line 52 of file python.h.
template<typename Base = ImagePsf>
template<typename... Args>
Delegating constructor for wrapped class.
While we would like to simply inherit base class constructors, when doing so, we cannot change their access specifiers. One consequence is that it's not possible to use inheritance to expose a protected constructor to python. The alternative, used here, is to create a new public constructor that delegates to the base class public or protected constructor with the same signature.
- Template Parameters
-
Args | Variadic type specification |
- Parameters
-
...args | Arguments to forward to the Base class constructor. |
Definition at line 1 of file python.h.