LSST Applications 28.0.0,g1653933729+a8ce1bb630,g1a997c3884+a8ce1bb630,g28da252d5a+5bd70b7e6d,g2bbee38e9b+638fca75ac,g2bc492864f+638fca75ac,g3156d2b45e+07302053f8,g347aa1857d+638fca75ac,g35bb328faa+a8ce1bb630,g3a166c0a6a+638fca75ac,g3e281a1b8c+7bbb0b2507,g4005a62e65+17cd334064,g414038480c+5b5cd4fff3,g41af890bb2+4ffae9de63,g4e1a3235cc+0f1912dca3,g6249c6f860+3c3976f90c,g80478fca09+46aba80bd6,g82479be7b0+77990446f6,g858d7b2824+78ba4d1ce1,g89c8672015+f667a5183b,g9125e01d80+a8ce1bb630,ga5288a1d22+2a6264e9ca,gae0086650b+a8ce1bb630,gb58c049af0+d64f4d3760,gc22bb204ba+78ba4d1ce1,gc28159a63d+638fca75ac,gcf0d15dbbd+32ddb6096f,gd6b7c0dfd1+3e339405e9,gda3e153d99+78ba4d1ce1,gda6a2b7d83+32ddb6096f,gdaeeff99f8+1711a396fd,gdd5a9049c5+b18c39e5e3,ge2409df99d+a5e4577cdc,ge33fd446bb+78ba4d1ce1,ge79ae78c31+638fca75ac,gf0baf85859+64e8883e75,gf5289d68f6+e1b046a8d7,gfa443fc69c+91d9ed1ecf,gfda6b12a05+8419469a56
LSST Data Management Base Package
|
A 2D image with scalar numeric values, using CRTP. More...
#include <image.h>
Public Member Functions | |
Image (size_t n_rows, size_t n_cols, const T *value_init=_value_default_ptr(), std::shared_ptr< const CoordinateSystem > coordsys=nullptr)=delete | |
Image (std::shared_ptr< const CoordinateSystem > coordsys=nullptr) | |
~Image ()=default | |
T & | _get_value (size_t row, size_t col) |
T & | _get_value_impl (size_t row, size_t col) |
T & | _get_value_unchecked (size_t row, size_t col) |
T & | _get_value_unchecked_impl (size_t row, size_t col)=delete |
void | _check_row_col (size_t row, size_t col) const |
void | _check_row_col_impl (size_t row, size_t col) const |
const CoordinateSystem & | get_coordsys () const |
std::shared_ptr< const CoordinateSystem > | get_coordsys_ptr_const () const |
size_t | get_n_cols () const |
size_t | get_n_cols_impl () const =delete |
size_t | get_n_rows () const |
size_t | get_n_rows_impl ()=delete |
void | add_value (size_t row, size_t col, T value) |
void | add_value_impl (size_t row, size_t col, T value) |
void | add_value_unchecked (size_t row, size_t col, T value) |
void | add_value_unchecked_impl (size_t row, size_t col, T value) |
void | fill (T value) |
void | fill_impl (T value) |
T | get_value (size_t row, size_t col) const |
T | get_value_impl (size_t row, size_t col) const |
T | get_value_unchecked (size_t row, size_t col) const |
T | get_value_unchecked_impl (size_t row, size_t col) const =delete |
void | set_value (size_t row, size_t col, T value) |
void | set_value_impl (size_t row, size_t col, T value) |
void | set_value_unchecked (size_t row, size_t col, T value) |
void | set_value_unchecked_impl (size_t row, size_t col, T value) |
std::array< size_t, 2 > | shape () const |
size_t | size () const |
std::string | repr (bool name_keywords, std::string_view namespace_separator) const override |
Return a full, callable string representation of this. | |
std::string | str () const override |
Return a brief, human-readable string representation of this. | |
Image< T, C > & | operator+= (T value) |
Image< T, C > & | operator*= (T value) |
bool | operator== (const Image &other) const |
const bool | operator!= (const Image &other) const |
Static Public Member Functions | |
static const T * | _value_default_ptr () |
static std::string_view | null_str (const std::string_view &namespace_separator) |
Static Public Attributes | |
static constexpr T | _value_default = 0 |
static constexpr std::string_view | CC_NAMESPACE_SEPARATOR = "::" |
The C++ namespace separator. | |
static constexpr std::string_view | NULL_STR_GENERAL = "None" |
static constexpr std::string_view | PY_NAMESPACE_SEPARATOR = "." |
A 2D image with scalar numeric values, using CRTP.
Basic implementations of most functions are provided. Derived classes should override any and all if the default implementations are not efficient enough.
t | The numeric type. |
C | The specialized class. |
|
explicitdelete |
|
inlineexplicit |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 124 of file image.h.
|
inline |
|
inlinedelete |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 159 of file image.h.
|
inline |
|
inline |
|
inline |
|
delete |
|
inline |
|
delete |
|
inline |
|
inline |
|
inline |
|
inlinedelete |
|
inlinestaticinherited |
Definition at line 49 of file object.h.
|
inline |
|
inline |
Definition at line 213 of file image.h.
|
inline |
Definition at line 202 of file image.h.
|
inline |
Definition at line 232 of file image.h.
|
inlineoverridevirtual |
Return a full, callable string representation of this.
name_keywords | Whether to prefix arguments with "{name}=", where name is the arg name in the header (as with keyword arguments in Python). |
namespace_separator | The string to use to delimit namespaces, i.e. :: in C++ and . in Python. |
Implements lsst::gauss2d::Object.
Definition at line 190 of file image.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Return a brief, human-readable string representation of this.
Implements lsst::gauss2d::Object.
Definition at line 197 of file image.h.
|
staticconstexpr |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |