#include <image.h>
|
constexpr | Rect (size_t xbegin, size_t ybegin, size_t xsize_max, size_t ysize_max, size_t xend, size_t yend) |
|
constexpr | Rect (size_t xbegin, size_t ybegin, size_t xsize, size_t ysize) |
|
template<typename Image > |
| Rect (const Image &image) |
|
| Rect () |
|
| Rect (const Rect &)=default |
|
Rect & | operator= (const Rect &)=default |
|
Rect | Subrect (size_t xbegin, size_t ybegin, size_t xsize_max, size_t ysize_max) |
|
template<typename T > |
const T * | ConstRow (const Image< T > *image, size_t y) const |
|
template<typename T > |
T * | MutableRow (const Image< T > *image, size_t y) const |
|
template<typename T > |
const T * | ConstPlaneRow (const Image3< T > &image, size_t c, size_t y) const |
|
template<typename T > |
T * | MutablePlaneRow (Image3< T > *image, const size_t c, size_t y) const |
|
template<class ImageT > |
bool | IsInside (const ImageT &image) const |
|
size_t | x0 () const |
|
size_t | y0 () const |
|
size_t | xsize () const |
|
size_t | ysize () const |
|
|
static constexpr size_t | ClampedSize (size_t begin, size_t size_max, size_t end) |
|
◆ Rect() [1/5]
constexpr hwy::Rect::Rect |
( |
size_t | xbegin, |
|
|
size_t | ybegin, |
|
|
size_t | xsize_max, |
|
|
size_t | ysize_max, |
|
|
size_t | xend, |
|
|
size_t | yend ) |
|
inlineconstexpr |
◆ Rect() [2/5]
constexpr hwy::Rect::Rect |
( |
size_t | xbegin, |
|
|
size_t | ybegin, |
|
|
size_t | xsize, |
|
|
size_t | ysize ) |
|
inlineconstexpr |
◆ Rect() [3/5]
template<typename
Image >
hwy::Rect::Rect |
( |
const Image & | image | ) |
|
|
inlineexplicit |
◆ Rect() [4/5]
◆ Rect() [5/5]
hwy::Rect::Rect |
( |
const Rect & | | ) |
|
|
default |
◆ ClampedSize()
static constexpr size_t hwy::Rect::ClampedSize |
( |
size_t | begin, |
|
|
size_t | size_max, |
|
|
size_t | end ) |
|
inlinestaticconstexprprivate |
◆ ConstPlaneRow()
template<typename T >
const T * hwy::Rect::ConstPlaneRow |
( |
const Image3< T > & | image, |
|
|
size_t | c, |
|
|
size_t | y ) const |
|
inline |
◆ ConstRow()
template<typename T >
const T * hwy::Rect::ConstRow |
( |
const Image< T > * | image, |
|
|
size_t | y ) const |
|
inline |
◆ IsInside()
template<class ImageT >
bool hwy::Rect::IsInside |
( |
const ImageT & | image | ) |
const |
|
inline |
◆ MutablePlaneRow()
template<typename T >
T * hwy::Rect::MutablePlaneRow |
( |
Image3< T > * | image, |
|
|
const size_t | c, |
|
|
size_t | y ) const |
|
inline |
◆ MutableRow()
template<typename T >
T * hwy::Rect::MutableRow |
( |
const Image< T > * | image, |
|
|
size_t | y ) const |
|
inline |
◆ operator=()
Rect & hwy::Rect::operator= |
( |
const Rect & | | ) |
|
|
default |
◆ Subrect()
Rect hwy::Rect::Subrect |
( |
size_t | xbegin, |
|
|
size_t | ybegin, |
|
|
size_t | xsize_max, |
|
|
size_t | ysize_max ) |
|
inline |
◆ x0()
size_t hwy::Rect::x0 |
( |
| ) |
const |
|
inline |
◆ xsize()
size_t hwy::Rect::xsize |
( |
| ) |
const |
|
inline |
◆ y0()
size_t hwy::Rect::y0 |
( |
| ) |
const |
|
inline |
◆ ysize()
size_t hwy::Rect::ysize |
( |
| ) |
const |
|
inline |
◆ x0_
◆ xsize_
◆ y0_
◆ ysize_
The documentation for this class was generated from the following file: